Cordova : Unable to install apk after upgrading android to 5.1.1 Nexus 5

后端 未结 2 789
不知归路
不知归路 2021-02-03 22:05

Unable to run apk on nexus 5 after upgrading to 5.1.1

Using Cordova: 5.0.0 Device : Nexus 5 Machine : MAC

BUILD         


        
2条回答
  •  故里飘歌
    2021-02-03 22:41

    I think you have this issue because the app is installed on your device with a different signature.

    When you do cordova run android, the app is installed with a debug signature and maybe that signature changed when you changed target sdk or when you upgraded android.

    The fix when you have INSTALL_FAILED_UPDATE_INCOMPATIBLE error is to first uninstall your app and then you should not have the issue any-more when launching cordova run android

提交回复
热议问题