Reputation: 4632
After upgrading to android studio 3.0 the debug apk is saying App not istalled.
The package appears to be corrupted
Upvotes: 20
Views: 22349
Reputation: 31
In the latest version of Android Studio (4.1.1) just rebuild the project. (Build>Rebuild Project). Then get you apk at AndroidStudioProjects<Project Name>\app\build\outputs\apk\debug.
Hope it'll work!
Upvotes: 0
Reputation: 2500
So the message "App Not Installed" will refer to multiple causes, and please returning to Android Studio 2.3. from 3.0 is not an option at all!
When we upgrade from Android Studio 2.3 to 3.0 we can find some configuration issues caused mainly by the support libraries, that will cause that our application could not be installed.
To avoid this problem we need to invalidate cache in Android Studio 3.0+ and the problem will be solved.
So File -> invalidate cache and restart
This one is solution that worked for me...
Upvotes: 0
Reputation: 1002
first clean your project. delete old apk and json file in debug folder. then re generate build apk. it works.
Upvotes: -1
Reputation: 4632
Looks like we can not directly use the apk after running on the device from the build->output->apk folder.
After upgrading to android studio 3.0 you need to go to Build -> Build Apk(s) then copy the apk from build -> output -> apk -> debug
Like this -
Upvotes: 39
Reputation: 686
I have also faced the same problem after upgrading android studio to version 3.0! To solve this issue you need to disable instant run that can be found under File -> Settings -> Build,Execution,Deployment -> Instant Run. Now You need to re-generate a signed apk with both the signature versions enabled i.e V1 & V2 that can be found under Build -> Generate Signed APK Now try to install the signed apk, this time it should be installed perfectly :).
Upvotes: 0
Reputation: 31
Fist Click On Build Icon on android studio after that click Build APK(s) then Generate APK the copy Apk. It is working perfact.
Upvotes: 3