Ionic App Fails to Install when downloaded from App Store on Android 7.1.1
See original GitHub issueIonic version: (check one with “x”) [x ] 2.x
I’m submitting a … [x ] bug report
Current behavior: Ionic 2 app fails to install with Error -504 when downloaded on device Android 7.1.1, whereas its working perfectly on other versions of Android.
Cordova version: 6.4.0 Ionic version: 2.1.17 Android Platform version: 6.1.0
Steps to reproduce
ionic start myApp blank --v2 --id com.mydomain
ionic platform add android@6.1.0
ionic build android --prod --release
Sign and zipalign
zipalign -v -p 4 android-release.apk myapp-release.apk
Submit to Play Store
Download on a device with Android 7.x.x
I tested it on 2 Nexus 6p devices and Nexus 5x.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Ionic App Fails to Install when downloaded from App Store on ...
Current behavior: Ionic 2 app fails to install with Error -504 when downloaded on device Android 7.1.1, whereas its working perfectly on other ......
Read more >Unable to build android in IONIC 6 - Stack Overflow
hi I downloaded the zip. I put the zip without unpacking in C:\ionic5\test1\platforms\android\gradle the environment variable (system variable) ...
Read more >"myApp has stopped" after try to open in Android - Ionic Forum
Does someone know help me why my apk is generated, installed into Android, but after clicked on app appears the message “myApp has...
Read more >Unable to build an ionic 3 app in … | Apple Developer Forums
Hi,. I'm unable to to build an ionic 3 app in xcode using phonegap-plugin-push - err: library not found for -lGoogleToolboxForMac.
Read more >Migrating to Cordova-Android 11 - Ionic
Cordova users need to update to cordova-android v11 in order to support these new Play Store requirements. There are some breaking changes ...
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 Free
Top 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
@jgw96 though you have closed the issue. I would really appreciate if you could please just share some information. I am following this post to automatically sign my apk. https://baxeico.wordpress.com/2015/05/20/how-to-automatically-sign-your-android-apk-using-ionic-framework-and-crosswalk/ After that I use zip align tool to optimize the APK. As per the docs (https://developer.android.com/studio/command-line/zipalign.html) it really matters when the zipalign is perform whether before signing or after signing apk. And that depends on the signing tool using to sign. For apksigner, zipalign must only be performed before the APK file has been signed. For jarsigner, zipalign must only be performed after the APK file has been signed.
Can you please share, does automatic apk signing process described in above post also perform zipalign? If not can you please guide which apk signing tool is use in case of automatic signing apk signer or jarsigner.
Thanks for posting! Unfortunately this is not an Ionic issue but instead a support question regarding distributing apps on google play. I would recommend going to our forum and asking around on there. There are a bunch of awesome devs on our forum who will be able to help you. Thanks for using Ionic!