I have developed the app by Android Studio, and build it to signed apk with V1 and V2.
It could install in my phone successfully.
But, when I uninstall the app, and install the app again, it would show App not installed.
But the apk file is the same apk file. Why first time can install, but not successful in second time?
Now, when I see this error, I would change the versionCode, then the app could install.
But beside this solution, have any solution on this problem?
Thank you so much!
Asked
Active
Viewed 6,857 times
1

kachan2011
- 11
- 1
- 3
-
Check the application by searching on the device. – UgAr0FF Aug 02 '18 at 14:47
-
Thanks for your reply, but I am not sure what should I do. Could you tell me the details? Thanks! – kachan2011 Aug 04 '18 at 05:34
-
1Problem solved. The problem is due to "Play Protect" blocked me, the solution is just close "Play Protect". – kachan2011 Aug 06 '18 at 09:45
3 Answers
0
I searched entire SO for the solution to this issue. Even disabling Google Play Protect didnt work. Creating APK with debuggable=false
didnt work. I stumbled upon some answers which pointed me to a blog(link at the bottom)
What worked with me was
Goto Android Studio
-> Build
-> Build Bundle(s) / APK(s)
-> Build APK(s)
However, I still dont seem to understand why a signed debug APK wont install on my device.
Couple more things to remember.
- You will see App Not Installed error even if you have old APK installed on the device and you are using
Build APK(s)
APK to install to update it. The package installer of Android is no more showing user friendly messages. - If this method does not work, uninstall all variants of this APK from device and then try again.
More Info: https://commonsware.com/blog/2017/10/31/android-studio-3p0-flag-test-only.html

JaydeepW
- 3,237
- 1
- 25
- 27
0
This can be because no free storage space is available to install the app. So, check your internal storage.

skynew
- 380
- 3
- 13
-1
Just try adding Action VIEW in manifest file . After this reinsatll the app and problem solve
<activity
android:name=".MyActivity"
android:screenOrientation="portrait"
android:label="@string/app_name">
<intent-filter>
// add this line of code in application tag only single line of code will also work
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>

Rushikesh Chavan
- 81
- 2
- 2