Nativescript V5 Crash on Start (Blank Template)
See original GitHub issuetns create myApp (Hello World and Plain Javascript)
cd myApp
tns debug android
Works fine.
tns plugin add nativescript-plugin-firebase
Copy over Google services files to iOS and Android
tns debug android
Crashes on boot.
packages.json
{
"nativescript": {
"id": "org.nativescript.myApp",
"tns-android": {
"version": "5.0.0"
},
"tns-ios": {
"version": "5.0.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"dependencies": {
"nativescript-plugin-firebase": "^7.4.4",
"nativescript-theme-core": "~1.0.4",
"tns-core-modules": "~5.0.2"
},
"devDependencies": {
"nativescript-dev-webpack": "~0.18.0"
},
"readme": "NativeScript Application"
}
app.gradle
android {
defaultConfig {
generatedDensities = []
multiDexEnabled true
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
}
dependencies {
compile 'com.android.support:multidex:1.0.3'
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Nativescript application crash on start up in android device
I am developed android and iOS application using Nativescript. Now I started the project migration process. I got the crash issue.
Read more >tns preview ERROR in nativescript.config.ts:1:10 ... - GitHub
tns create HelloWorld --template tns-template-blank-ng ... This issue may be caused by: * crash at startup (try `tns debug android --debug-brk` to check...
Read more >@nativescript/template-blank-ng - npm
Blank template for NativeScript apps using Angular. Latest version: 8.4.1, last published: 18 days ago. Start using ...
Read more >NativeScript 8.1 Released
NativeScript 8.1 is a bug fix and stabilization release with a few nice long desired additions. This release comes off the tails of ......
Read more >@nativescript/types | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
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 FreeTop 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
Top GitHub Comments
Yeah that change by Google really sucks. For others, also see https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/docs/ADMOB.md#android
Found issue.
Admob meta data was missing from the Android manifest XML. Incase anyone else has this issue. It just crashes without any error.