Unable to generate signed apk
See original GitHub issueYour Environment
- Plugin version: 3.1.0
- Platform: Android
- OS version:
- Device manufacturer and model:
- Running in Simulator:
- Cordova version (
cordova -v
): — Capacitor with navite plugin - Cordova platform version (
cordova platform ls
): — - Plugin configuration options:
- Link to your project:
Context
Trying generating signed apk in android studio.
Expected Behavior
Actual Behavior
Gets error:
- Type org.apache.commons.io.Charsets is defined multiple times
- com.android.tools.r8.CompilationFailedException: Compilation failed to complete
Possible Fix
Steps to Reproduce
Plugins: @mauron85/cordova-plugin-background-geolocation (3.1.0) cordova-plugin-actionsheet (2.3.3) cordova-plugin-badge (0.8.8) cordova-plugin-device (2.0.3) cordova-plugin-dialogs (2.0.2) cordova-plugin-ionic (5.4.7) cordova-plugin-whitelist (1.3.4) cordova-sms-plugin (1.0.0) uk.co.workingedge.phonegap.plugin.launchnavigator (5.0.4)
Context
Problem appears only on signed apk
Debug logs
Issue Analytics
- State:
- Created 3 years ago
- Comments:17
Top Results From Across the Web
android - generate signed apk is not working, apk is unsigned
generate signed apk is not working, apk is unsigned · Click on build · Generate Signed Apk · Choose APK and click Next...
Read more >Why I can't generate a signed apk file in Android Studio?
Go to Build-> Generate signed bundle/apk. Follow below video for further process. https://youtu.be/MjpaSGEmQHs. Thank me later..!
Read more >Unable to generate signed apk, Error : Cannot recover key
I m trying to update the application but m unable to generate the signed apk. I have my .jks file which was use...
Read more >How to Generate APK and Signed APK Files in Android Studio
Select Build > Signed Bundle/APK from the toolbar menu. Configure the settings for your APK file and possibly create a new key store...
Read more >no "Generate Signed Bundle/APK" in Android Studio ... - GitHub
You are supposed to open the android folder in "Android Studio", that is when the Generate Signed Bundle/APK will appear in the menu...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve created fork to solve this problem https://github.com/darron1217/cordova-plugin-background-geolocation/tree/bugfix
You can install it by
npm install https://github.com/darron1217/cordova-plugin-background-geolocation.git#bugfix
@LgArcida this is how you fix it