-1

I have an Android app developed with Android Studio. I have managed to generate a signed APK, with the keystore that I also have used before, it installs fine however when I try to run it I get an error and it never runs.

Does anyone know what could be wrong?

Thank you.

user1319668
  • 329
  • 1
  • 4
  • 16
  • Does the development version work fine ? Try debug the apk and send us the error log – cesarsicas May 28 '17 at 15:18
  • Yes the development version works absolutely fine. How can I debug the APK? – user1319668 May 28 '17 at 15:32
  • Check this https://stackoverflow.com/questions/9081877/how-to-debug-apk-signed-for-release – cesarsicas May 28 '17 at 15:48
  • "I get an error": which one? – Henry May 28 '17 at 17:10
  • Do I generate a "release" or "debug" APK file? – user1319668 May 28 '17 at 18:06
  • when I change this bit in the gradle to the following, then at the time of generating the APK file I get this error: Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. `buildTypes { release { debuggable true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' }` – user1319668 May 28 '17 at 19:25

1 Answers1

0

Make sure you have checked both Signature Version v1 and v2 before making asigned APK

enter image description here

Haris ali
  • 773
  • 1
  • 13
  • 19