데이터베이스의 업데이트를 위해 노력하고 있습니다. 새 버전은 ORMLite를 사용하므로 기기에 Playstore 버전이 있으며 데이터 이전 여부를 테스트하고 싶습니다. 야 작동, 그래서 난 내 장치를 연결하고 안드로이드 스튜디오에서 응용 프로그램을 실행하지만이 오류 얻을 : 응용 프로그램을 제거하는이 솔루션은 다음 새 버전을 설치하기 때문에Playstore 버전에서 AndroidStudio의 새로운 버전으로 INSTALL_FAILED_UPDATE_INCOMPATIBLE을 (를) 업데이트합니다.
Installation failed with message INSTALL_FAILED_UPDATE_INCOMPATIBLE. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
this question에 대한 답변이 적용되지 않습니다를 . 이 질문은 설치 제거를 피하는 방법에 관한 것입니다.
내 downvote가 아니지만 데이터베이스 버전이 변경 되어도이 문제가 발생하지 않습니다. DB 버전을 변경하면 앱이 올바르게 설치됩니다. – Sufian
복제 - http://stackoverflow.com/questions/11891848/install-failed-update-incompatible-when-i-try-to-install-compiled-apk-on-device – Sufian
APK가 없기 때문에 상황이 발생할 수 있습니다. 동일한 서명으로 서명되었습니다 (Play 스토어에서 앱을 설치하고 동일한 패키지 이름으로 디버그 APK를 설치하는 경우 발생합니다). 따라서 서명 된 APK를 설치해야합니다. – Sufian