Android Studio 3.0 Unsigned Apk Not Installing
Asked Answered
M

8

20

After upgrading to android studio 3.0 the debug apk is saying App not istalled.

The package appears to be corrupted

Martins answered 20/11, 2017 at 12:57 Comment(0)
M
39

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 -

enter image description here

Martins answered 20/11, 2017 at 13:21 Comment(5)
This worked. But why? What does "build apk(s)" do that clicking the debug icon to build and run didn't do?Dodona
App not installed while updating to Android - P, Same error while trying above solution with both debug and release apk's.Can you please help me on this ?Thanks in Advance.Contortionist
@naveen try to follow the steps that I mentioned it should work. Otger wise go to project view -》 app -》 build -》 output - 》 apk. You should find your apk here.Martins
Hi Anirban, Thanks for your response. I have tried above solution you mentioned but didn't worked out.Can you please help me?Contortionist
Then signingConfigs are not used anymore? Because I understand that if we can't install the apks in build->output->apk is because they are not signed.Diffident
L
3

Fist Click On Build Icon on android studio after that click Build APK(s) then Generate APK the copy Apk. It is working perfact.

Lorylose answered 24/11, 2017 at 6:39 Comment(0)
L
1

File-> Invalidate Caches/restart

solve problem for me.

Lepto answered 18/5, 2020 at 14:23 Comment(0)
M
0

I needed to create a signed APK for it to install correctly.

Massengale answered 2/12, 2017 at 1:9 Comment(0)
C
0

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 :).

Constable answered 6/4, 2018 at 13:31 Comment(0)
L
0

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...

Louannlouanna answered 12/6, 2019 at 19:49 Comment(0)
R
0

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!

Rubiaceous answered 17/1, 2021 at 10:9 Comment(0)
P
-1

first clean your project. delete old apk and json file in debug folder. then re generate build apk. it works.

Piperidine answered 27/6, 2018 at 6:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.