Open dinhhoabk95 opened 5 years ago
I using nativescript-vue for my project and this is some information of project:
Device: Android 5.1.1
tns-android: 5.4
"nativescript-admob": "^4.0.0"
File: AndroidManifest.xml `<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="PACKAGE" android:versionCode="10000" android:versionName="1.0.0">
`
File app.gradle: dependencies { implementation 'com.google.firebase:firebase-core:16.0.1' implementation 'com.android.support:multidex:1.0.3' } android { defaultConfig { generatedDensities = [] applicationId = "com.dinhhoabkhn.dictionary" minSdkVersion 17 multiDexEnabled true } aaptOptions { additionalParameters "--no-version-vectors" } project.ext { googlePlayServicesVersion = "17.0.0" } dexOptions { javaMaxHeapSize "4g" } }
dependencies { implementation 'com.google.firebase:firebase-core:16.0.1' implementation 'com.android.support:multidex:1.0.3' } android { defaultConfig { generatedDensities = [] applicationId = "com.dinhhoabkhn.dictionary" minSdkVersion 17 multiDexEnabled true } aaptOptions { additionalParameters "--no-version-vectors" } project.ext { googlePlayServicesVersion = "17.0.0" } dexOptions { javaMaxHeapSize "4g" } }
I tried rm -rf node_modules, plaforms, hooks and run again tns run android --bundle, changed googlePlayServicesVersion to 15.0.1, 16.0.0 ... but receive error. Any help is greatly!.
rm -rf node_modules, plaforms, hooks
tns run android --bundle
https://github.com/EddyVerbruggen/nativescript-admob/blob/6bfa83c303023d0e8072148dcb45b8befb9cd0aa/demo/app/App_Resources/Android/src/main/AndroidManifest.xml
My problem was solved when I did it exactly. Please make sure you add it to the right place.
I have been experiencing Error is: Unable to apply changes on device: . Error is: Socket connection timed out... .
I using nativescript-vue for my project and this is some information of project:
Device: Android 5.1.1
tns-android: 5.4
"nativescript-admob": "^4.0.0"
File: AndroidManifest.xml `<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="PACKAGE" android:versionCode="10000" android:versionName="1.0.0">
`
File app.gradle:
dependencies { implementation 'com.google.firebase:firebase-core:16.0.1' implementation 'com.android.support:multidex:1.0.3' } android { defaultConfig { generatedDensities = [] applicationId = "com.dinhhoabkhn.dictionary" minSdkVersion 17 multiDexEnabled true } aaptOptions { additionalParameters "--no-version-vectors" } project.ext { googlePlayServicesVersion = "17.0.0" } dexOptions { javaMaxHeapSize "4g" } }
I tried
rm -rf node_modules, plaforms, hooks
and run againtns run android --bundle
, changed googlePlayServicesVersion to 15.0.1, 16.0.0 ... but receive error. Any help is greatly!.