'App not Installed' Error on Android

前端 未结 30 1535
说谎
说谎 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:48

    For me, On Android 9 (API 28), disabling Google Play Protect from play store app worked the trick, and i was able to get rid of the App not Installed error.

    To disable Google Play Protect. Open "Play Store" application => tap on Menu button => select "Play Protect" option => Disable the options "Scan device for security threats".

    0 讨论(0)
  • 2020-11-22 06:48

    I had the same issue, i.e. App showed up as being installed, but would not launched when the icon was tapped. After some head-banging, I found that I had stupidly placed ' android:exported="false" ' for my main launcher activity within the AndroidManifest file.... Once I removed it, the App launched fine..

    0 讨论(0)
  • 2020-11-22 06:50

    If application's not installing, delete the file .android_secure/smdl2tmpl.asec from the SD card.

    If the folder .android_secure is empty in the file manager, delete it from the PC.

    0 讨论(0)
  • 2020-11-22 06:50

    If you have a previous version for that application try to erase it first, now my problem was solved by that method.

    0 讨论(0)
  • 2020-11-22 06:50

    I have also solved this issue,

    The problem was that i declared my main activity twice, On as the first activity to load and i specified also an intent-filter for it And once again below it i declared it again .

    Just make sure you don't declare your activities twice .

    0 讨论(0)
  • 2020-11-22 06:51

    Sideloading debug apps for testing on a physical phone worked reliably until I upgraded the phone from Android Pie to Android 10. After that, the "App not installed" error came up every time I tried to sideload the app.

    Based on a warning in my AndroidManifest.xml, I changed from...

    <application
        android:name=".App"
        android:allowBackup="true" ... />
    

    to...

    <application
        android:name=".App"
        android:allowBackup="false" ... />
    

    After that, I was able to sideload my app -- once. Then, I encountered the same "App not installed" error again. By changing allowBackup back to true, it worked again (at least once).

    It is obvious from the number of answers and the variation in the answers that there are many reasons for this problem. I'm sharing this in case it helps others.

    0 讨论(0)
提交回复
热议问题