Quantcast
Viewing all articles
Browse latest Browse all 70887

Debug work perfectly on android studio but Run app doesn't work

Hi all,

I have a client that request to build an Android aab to uploaded to google play.
However, Debug work perfectly on android studio but Run app doesn’t work.
I have tried to build both ./gradlew assembleRelease and ./gradlew assembleDebug and both not working!!
Only if I run debug through android studio the app works.


=> ionic info

[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package'
       
       Require stack:
       - /home/ahmed/.nvm/versions/node/v12.22.10/lib/node_modules/@ionic/cli/lib/project/index.js
       - /home/ahmed/.nvm/versions/node/v12.22.10/lib/node_modules/@ionic/cli/lib/index.js
       - /home/ahmed/.nvm/versions/node/v12.22.10/lib/node_modules/@ionic/cli/index.js
       - /home/ahmed/.nvm/versions/node/v12.22.10/lib/node_modules/@ionic/cli/bin/ionic

Ionic:

   Ionic CLI                     : 6.19.0 (/home/ahmed/.nvm/versions/node/v12.22.10/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.2.2
   @angular-devkit/build-angular : 0.803.8
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 8.3.8
   @ionic/angular-toolkit        : 2.0.0

Capacitor:

   Capacitor CLI      : 2.2.0
   @capacitor/android : 2.2.0
   @capacitor/core    : 2.2.0
   @capacitor/ios     : not installed

Cordova:

   Cordova CLI       : 11.0.0
   Cordova Platforms : none
   Cordova Plugins   : no whitelisted plugins (0 plugins total)

Utility:

   cordova-res : not installed globally
   native-run  : 1.5.0

System:

   Android SDK Tools : 26.1.1 (/home/ahmed/Android/Sdk)
   NodeJS            : v12.22.10 (/home/ahmed/.nvm/versions/node/v12.22.10/bin/node)
   npm               : 6.14.16
   OS                : Linux 5.4

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70887

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>