android - Generated signed Apk successfully but when I try to Run my project, I get an error -
to release application, generated signed apk ( im using android studio). signed apk generated successfully. key store path, created folder in c>user>folder>name.keystore . added alias , password , generated signed apk. however, when try run application on emulator, following error:
app-release-unsigned.apk not signed. please configure signing information selected flavor using project structure dialog.
is there step missed? did google search , found developers edit gradle file too. however,i not perform step because unclear. here build.gradle looks like: apply plugin: 'com.android.application'
android { compilesdkversion 20 buildtoolsversion "20.0.0" defaultconfig { applicationid "com.app.shreyabisht.aethorr" minsdkversion 15 targetsdkversion 20 versioncode 1 versionname "1.0" } buildtypes { release { runproguard false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile "com.android.support:support-v4:20.0.+" }
edit: changed build variable "release" , ran " generate signed apk" wizard again. wizard ran still same error when run application. please suggest
did check build variant? make sure it's set debug
if want run on emulator, , change release
if want generate apk.
faced problem myself , solved way.
Comments
Post a Comment