JuanLHDarien opened a new issue #974:
URL: https://github.com/apache/cordova-android/issues/974


   # Bug Report
   
   ## Problem
   Ionic 4 app when compiled for deploy in Playstore is not 64bit compliant, 
this only happens with the android version on the app using cordova , the iOS 
version is 64bit compliant for the respective platform.
   
   ### What is expected to happen?
   
   The compilation of a 64bit universal apk.
   
   ### What does actually happen?
   
   A 32bit universal apk.
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   `npx ionic cordova build android --prod --release` 
   `jarsigner` for signing apk
   `zipalign` for compressing assets in apk
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Windows 10 Pro
   Android 7 Phone (tested positive for app functionality  and install)
   Android 9 Phone (tested positive for app functionality  and install)
   Android 10 Phone  (tested positive for app functionality  and install)
   Playstore (Current problem)
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   ```Ionic:
   
      Ionic CLI                     : 5.4.16
      Ionic Framework               : @ionic/angular 4.11.10
      @angular-devkit/build-angular : 0.803.26
      @angular-devkit/schematics    : 8.1.3
      @angular/cli                  : 8.3.26
      @ionic/angular-toolkit        : 2.0.0
   Cordova:
   
      Cordova CLI       : 9.0.0 ([email protected])
      Cordova Platforms : android 8.1.0
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, 
cordova-plugin-ionic-webview 4.2.1, (and 13 other plugins)
   
   Utility:
   
      cordova-res (update available: 0.11.0) : 0.10.0
      native-run                             : not installed
   
   System:
   
      NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe)
      npm    : 6.4.1
      OS     : Windows 10
   
   Cordova Plugins installed and used in the project
   
   cordova-plugin-actionsheet 2.3.3 "ActionSheet"
   cordova-plugin-appavailability 0.4.2 "AppAvailability"
   cordova-plugin-device 2.0.3 "Device"
   cordova-plugin-dialogs 2.0.2 "Notification"
   cordova-plugin-fcm-with-dependecy-updated 3.2.0 "Cordova FCM Push Plugin"
   cordova-plugin-geolocation 4.0.2 "Geolocation"
   cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
   cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
   cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
   cordova-plugin-queries-schemes 0.1.1 "App Queries Strings"
   cordova-plugin-splashscreen 5.0.3 "Splashscreen"
   cordova-plugin-statusbar 2.4.3 "StatusBar"
   cordova-plugin-whitelist 1.3.4 "Whitelist"
   cordova-plugin-wkwebview-engine 1.2.1 "Cordova WKWebView Engine"
   cordova-plugin-x-socialsharing 5.6.5 "SocialSharing"
   es6-promise-plugin 4.2.2 "Promise"
   uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.4 "Launch Navigator"
   ```
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   - [x] I have passed and build the project from Android Studio using the 
lastest Gradle version
   - [x] I have modified the build.graddle file to follow the Google's 
build.graddle file example in the docs about the best practices for 64bits apks 
[here](https://developer.android.com/distribute/best-practices/develop/64-bit) 
(ABI filters, code versioning, platforms (arm64,X86...)) 
   - [x] I have analyzed the produced apks in order to find any platform 
specific library or .so file that could be problematic and none of such files 
have been found (theres not libs/ folder on the apk)
   - [x] I have tried updating the ionic version from 4 to 5, yet the problem 
persists
   - [x] I have tried refactoring all the java code using AndroidX instead of 
AndroidSupport
   - [x] I have uninstalled and installed again Android Studio, Gradle , 
Android SDK
   - [x] I have uninstalled and installed again Ionic, Cordova
   - [x] I have created an app bundle instead of an APK with the same problem 
persisting, I have tried creating a bundle , then extracting and producing an 
universal apk using Google Bundletool 
   - [x] I have tried removing non-essential plugins and still have had the 
same problem.
   - [x] I have tried moving the whole project to Capacitor (still the same 
problem)
   - [x] I have tried using a different 64bits computer to compile still the 
problem persists
   - [x] I have tried updating all cordova plugins and compiling once again 
still the problem persists
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to