![android studio 3.0.1 how to generate signed apk android studio 3.0.1 how to generate signed apk](https://img.youtube.com/vi/HNbtFTtq-8o/hqdefault.jpg)
Then execute the following command : REM Change the name of the apk, the name of the certificate and the alias with your own data.
#Android studio 3.0.1 how to generate signed apk apk#
apk file, and we need to copy that file into the bin path of the jdk (Just copy your apk file in the jdk in C:\Program Files (x86)\Java\jdk1.7.0_71\bin). apk file with the self-signed certificate. If everything went good, you'll get a file in the bin path with the name that you give (in this case mycustomname.keystore). Keytool -genkey -v -keystore mycustomname.keystore -alias mycustom_alias -keyalg RSA -keysize 2048 -validity 10000įollow all the prompts, you'll be asked for your code country, your location, your name and other information and the password, just fill these fields. When you're located in the bin path with the console, execute the following command : REM Remember to change the mycustomname and mycustom_alias to your correct keystore name and alias (whatever you want) # You'll be located in the bin path and we can use all the java tools.Ĭ:\Program Files (x86)\Java\jdk1.7.0_71\bin > This certificate will be used to sign your apk later, to generate a certificate we need to go to the java sdk bin path on the pc with the console (cmd) # Usually is located in C:\Program Files (x86)\Java\jdk1.7.0_71\bin, but anyway check the location on your pc.Ĭ:\ > cd C:\Program Files (x86)\Java\jdk1.7.0_71\bin Remember to execute always the cmd in administrator mode.
![android studio 3.0.1 how to generate signed apk android studio 3.0.1 how to generate signed apk](https://venturebeat.com/wp-content/uploads/2019/05/NET-5.png)