Hata metni
Failure [INSTALL_FAILED_VERSION_DOWNGRADE] Package com.example.app new version 5 is older than the installed version 8
Failure [INSTALL_FAILED_VERSION_DOWNGRADE] Package com.example.app new version 5 is older than the installed version 8
Kurduğun APK'nın versionCode değeri telefondakinden küçük. Android geriye gitmeye izin vermez.
adb shell dumpsys package paket | grep versionCode ile telefondaki numarayı gör.build.gradle içinde versionCode'u ondan büyük yap.adb install -r -d app.apk ile düşürmeye izin ver (debuggable APK'lar için).versionCode artmalı.adb shell dumpsys package com.example.app | grep versionCode adb install -r -d app.apk # build.gradle: versionCode = 9
versionCode'u CI'da otomatik artır (örneğin build numarasıyla).
Yazar ve lisans: Nibras Code