Enes BAŞKAYA
Enes BAŞKAYA

Reputation: 131

Failed to install application

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

Answers (3)

Enes BAŞKAYA
Enes BAŞKAYA

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

amd
amd

Reputation: 1

Delete all files in the directory YourProjectName\build\android-profile.

Upvotes: 0

Aashutosh Poudel
Aashutosh Poudel

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

Related Questions