Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Android app close immediatly after running

$
0
0

@ange-marie wrote:

Hi,

I’m create an application with ionic 3. I run in android platform. My console display LAUNCH SUCCESS. But in my phone, the app closed immediatly.

My project.properties

target=android-27
android.library.reference.1=CordovaLib
android.library.reference.2=app
cordova.system.library.1=com.android.support:support-v4:27.+
cordova.system.library.2=com.google.firebase:firebase-core:16.0.8
cordova.system.library.3=com.google.firebase:firebase-messaging:17.6.0
cordova.gradle.include.1=cordova-plugin-fcm-with-dependecy-updated/mobile-FCMPlugin.gradle
cordova.gradle.include.2=cordova-plugin-googlemaps/mobile-tbxml-android.gradle
cordova.system.library.4=com.google.android.gms:play-services-maps:15.0.1
cordova.system.library.5=com.google.android.gms:play-services-location:15.0.1
cordova.system.library.6=com.android.support:support-core-utils:27.+

My package.json

{
  "name": "com.my.mobileapp",
  "version": "1.2.5",
  "author": "My App",
  "homepage": "",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "^7.2.13",
    "@angular/compiler-cli": "^7.2.13",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",
    "@angular/http": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@angular/tsc-wrapped": "^4.4.6",
    "@ionic-native/call-number": "^4.20.0",
    "@ionic-native/core": "^4.20.0",
    "@ionic-native/diagnostic": "^4.20.0",
    "@ionic-native/email-composer": "^4.20.0",
    "@ionic-native/fcm": "^4.20.0",
    "@ionic-native/google-maps": "^4.21.0",
    "@ionic-native/native-storage": "^4.20.0",
    "@ionic-native/splash-screen": "^4.20.0",
    "@ionic-native/status-bar": "^4.18.0",
    "@ionic/cli-plugin-cordova": "^1.6.2",
    "@ionic/storage": "2.2.0",
    "@types/underscore": "^1.8.7",
    "call-number": "1.0.1",
    "cordova-android": "7.1.4",
    "cordova-plugin-device": "2.0.2",
    "cordova-plugin-email-composer": "0.9.2",
    "cordova-plugin-fcm-with-dependecy-updated": "2.4.0",
    "cordova-plugin-googlemaps": "2.5.3",
    "cordova-plugin-ionic-keyboard": "2.0.5",
    "cordova-plugin-ionic-webview": "^4.0.1",
    "cordova-plugin-nativestorage": "2.3.2",
    "cordova-plugin-splashscreen": "5.0.2",
    "cordova-plugin-whitelist": "1.3.3",
    "ionic-angular": "^3.9.2",
    "ionicons": "3.0.0",
    "moment": "^2.22.2",
    "mx.ferreyra.callnumber": "~0.0.2",
    "node-mailjet": "^3.2.1",
    "rxjs": "5.5.11",
    "sw-toolbox": "3.6.0",
    "tar": "^4.4.2",
    "underscore": "^1.9.1",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@ionic/app-scripts": "^3.2.3",
    "typescript": "^3.1.1"
  },
  "description": "An Ionic project",
  "cordova": {
    "platforms": [
      "android"
    ],
    "plugins": {
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-nativestorage": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-email-composer": {
        "ANDROID_SUPPORT_V4_VERSION": "27.+"
      },
      "mx.ferreyra.callnumber": {},
      "cordova-plugin-fcm-with-dependecy-updated": {},
      "cordova-plugin-googlemaps": {
        "API_KEY_FOR_ANDROID": "Android key",
        "API_KEY_FOR_IOS": "IOS key",
        "PLAY_SERVICES_VERSION": "15.0.1",
        "ANDROID_SUPPORT_V4_VERSION": "27.+"
      }
    }
  }
}

Help me please

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



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