When building release apk using android studio, i get a error "Keystore was tampered with, or password was incorrect" -
it's strange, have created keystore using android studio before. , studio canary channel(1.4), keep studio updated. last day error, downgraded studio stable channel(1.3). but when build using gradle in command line, fine. sure password right.
full error :
error:execution failed task ':app:packagedevrelease'.
failed read key ** store "d:\work\app_proj\android\jxj\trunk\jxj\app\szyx.keystore": keystore tampered with, or password incorrect
i fixed it! (for me @ least)
i found issue somehow related gradle plugin.
when changed
dependencies { classpath 'com.android.tools.build:gradle:1.4.0-beta6' }
to
dependencies { classpath 'com.android.tools.build:gradle:1.3.1' }
in project's build.gradle, fixed problem.
just op, able sign builds created using ide's play button, not ones created through generate signed apk... menu option.
after searching, found open issue.
Comments
Post a Comment