I tried to build the project in android using nativescript. It throw
the error like this more than one library with package name
'com.google.android.gms.license'
.
package.json
"tns-android": {
"version": "3.3.1"
}
"nativescript-onesignal": "^1.0.7",
"nativescript-push-notifications": "0.0.19",
App.gradle
dependencies {
compile 'com.onesignal:OneSignal:3.+@aar'
compile 'com.google.android.gms:play-services-gcm:+'
compile 'com.google.android.gms:play-services-location:+'
compile "com.android.support:multidex:1.0.0"
compile 'com.android.volley:volley:1.0.0'
compile 'com.google.code.gson:gson:2.2.4' }
How to resolve the issue?
Remove node_modules folder.
1.npm install tns-core-modules@latest --save 2.uinstall & update tns version/(npm install -g nativescript ) 3.update node/npm 4.npm cache clean -f
By using this comments i resolved the issues