Reputation: 131
I am creating apk from the my application. Apk works in the first installation on my real device. But when I want to delete and later installation the same apk on my phone I get an error."Failed to install application. "
My Project
classpath 'com.android.tools.build:gradle:3.4.2'
compileSdkVersion 29
buildToolsVersion "29.0.0"
Android Studio =3.4.2
I also tried other tools.and I created and tried another application. But they were also the same error.
Upvotes: 0
Views: 124
Reputation: 131
I finded this solution.Now working .Thx so much @Konstantin Raspopov
Going to Google Play -> Play Protect and turning off Scanning device for security threats helped me.
source:https://stackoverflow.com/a/51335340/11840484
Upvotes: 0
Reputation: 110
Try Build->Build Bundle(s)/APK(s)-> Build Apk(s) or Bundles(s) and then run the app again . Hope this helps
Upvotes: 1