@gatang007 wrote:
I was able to build the android version without any error. However, when I tried to start the app on the real device, the app crashed immediately without showing the splash screen. Has anyone countered similar problem and how did you debug the app in such situation? Many thanks.
ionic info
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8 Cordova Platforms : android 7.0.0 ios 4.5.5 Ionic Framework : ionic-angular 3.9.2
System:
ios-deploy : 2.0.0 Node : v8.9.0 npm : 5.6.0 OS : macOS High Sierra Xcode : Xcode 9.4.1 Build version 9F2000
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
=======================
cordova requirements
Android Studio project detected
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-27,android-26,android-25,android-24,android-23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
Gradle: installed /usr/local/Cellar/gradle/4.10/bin/gradle
project.properties
cordova.system.library.1=com.google.android.gms:play-services-base:+
cordova.system.library.2=com.google.android.gms:play-services-ads:+
cordova.gradle.include.1=cordova-plugin-googlemaps/restma-tbxml-android.gradle
cordova.system.library.3=com.google.android.gms:play-services-maps:15.0.1
cordova.system.library.4=com.google.android.gms:play-services-location:15.0.1
cordova.system.library.5=com.android.support:support-core-utils:27.+
cordova.system.library.6=com.android.support:support-v4:26.+
cordova.system.library.7=com.android.support:appcompat-v7:26.+
cordova.gradle.include.2=cordova-plugin-background-fetch/restma-build.gradle
cordova.system.library.8=com.google.android.gms:play-services-location:15.0.1
cordova.system.library.9=com.android.support:appcompat-v7:27.1.1
cordova.gradle.include.3=cordova-background-geolocation-lt/restma-build.gradle
Posts: 1
Participants: 1