'App not Installed' Error on Android

前端 未结 30 1575
说谎
说谎 2020-11-22 06:03

I have a program working in the Android Emulator. Every now and again I have been creating a signed .apk and exporting it to my HTC Desire to test. It has all been fine.

30条回答
  •  礼貌的吻别
    2020-11-22 06:38

    create keystore file through command line

    keytool -genkey -alias key_file_name.keystore -keyalg RSA -validity 1000000000000000 -keystore key_file_name.keystore

    export apk through Eclipse, right click on Android project Android Tools > Export Signed Application Package, then give keystore location & password.

    this will crate signed apk at the same time apk will be zipaligned. And installable.

    If you go through command line for all, some times you may face "Application not installed" error. (Application not installed error can happen not only, when using command line. It can be some other reasons as well)

提交回复
热议问题