0

I a signed my appication with a new certificate and set password. When I tried to upload a beta version of my app to Developer Console (google play). An error message appear asked me to change my package name because the default com.example.xxx is not allowed. I changed the package name. but after that when I try to build and run my app. I get the following error.

Error generating final archive: java.io.IOException: Keystore was tampered with, or password was incorrect

Any Ideas?

hasan
  • 23,815
  • 10
  • 63
  • 101
  • After changing package name you will have to create a keystore and sign your app with this key again. Then upload this apk in Google play again. Hope its work – Muhammad Aamir Ali Jul 10 '13 at 19:44
  • This is the 1st time I do this. the app is signed automatically with a keystore every time I build (default: debug.keystore). what I did is signing it with certificate. now I have to sign it to a new keystore then to sign it with new certificate. is that right? if yes, I did create a new keystore how to sign it. I can't change the value in the "default debug keystore" in the preferences. what to do? – hasan Jul 10 '13 at 20:01
  • What is the default keystore name eclipse sign to my app? – hasan Jul 10 '13 at 20:04
  • You will have to create your own keystore. If you are using the Eclipse plugin. Right click on the project > Android Tools > Export Signed Application Package Follow the instructions for creating a .keystore file and you're sorted! – Muhammad Aamir Ali Jul 10 '13 at 20:13
  • http://stackoverflow.com/questions/4600891/how-to-build-apk-file – Muhammad Aamir Ali Jul 10 '13 at 20:15
  • Did that. and managed to upload an app version to developer console. The problem now is the compilation error. – hasan Jul 10 '13 at 20:37

0 Answers0