apk - How to signed my android project in Android Studio? -


my first android project finished. not generate project in android studio. build -> generate signed apk error.

for gradle-based projects, signing configuration should specified in gradle build scripts.see gradle user guide more info."

this sample image

http://www.tjod.org/questions/keystore.png

this build.gradle file.

buildscript {     repositories {         mavencentral()     }     dependencies {         classpath 'com.android.tools.build:gradle:0.5.+'     } } apply plugin: 'android'  repositories {     mavencentral() }  android {     compilesdkversion 18     buildtoolsversion "18.1.0"      defaultconfig {         minsdkversion 9         targetsdkversion 16     }     signingconfigs {         release {             storefile file("/applications/androidnew/turkjinekolojidernegi.jks")             storepassword "******"             keyalias "******"             keypassword "******"         }     } }  dependencies {     compile 'com.android.support:appcompat-v7:18.0.0'     compile files('libs/picasso-2.1.1.jar') } 

i cleaned build file. build -> rebuild project. not fixed.

i using android studio 0.3.7 , works fine :d

first make sure have <application> entry of androidmanifest.xml following entry android:debuggable="false"

then go build menu option, , choose "generate signed apk". create key store or use existing one, click "next", change destination if desired. , decide if want use proguard or not, click "finish". , have apk ready production :).


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -