Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to disable generated signed apk android Studio?

Hi I tried generated signed apk 1 times for testing and now i only want to stimulate on tested devices but android studio always generated signed apk. That will make the process longer (every time I hit run button android studio will generated signed apk automatically) how to disable auto generated signed apk? i just want to run app on simulator only?

like image 684
Lê Khánh Vinh Avatar asked Nov 24 '15 07:11

Lê Khánh Vinh


People also ask

Where is signed APK located Android studio?

Step 1: Go to Build -> Generate Signed Bundle or APK, a pop up will arise. Choose APK in the pop-up and click on Next.

Why is APK signed?

Application signing ensures that one application cannot access any other application except through well-defined IPC. When an application (APK file) is installed onto an Android device, the Package Manager verifies that the APK has been properly signed with the certificate included in that APK.


2 Answers

There is a tab, which is normally at the bottom left corner of AS. Change it from *release to *debug.

Build variant tab

(Image source : Matt W Ott, Android TDD with Robolectric and JUnit)

like image 66
Adeeb Avatar answered Oct 19 '22 23:10

Adeeb


Android Studio seems to always do the last build type you did.

So just select Build -> Build APK, and next time it will do this instead of Generate Signed APK.

like image 27
zundi Avatar answered Oct 20 '22 01:10

zundi