Comments (5)
You can look at this: #34 and this EddyVerbruggen/nativescript-plugin-firebase#86
The plugin is setup to use the latest version of Google play services available. Could be you have a later version installed then what the firebase plugin requires (looks like version 9.2.0).
from nativescript-google-maps-sdk.
I'm having same problem too.
package.json:
...
"dependencies": {
"nativescript-google-maps-sdk": "^1.3.4",
"nativescript-plugin-firebase": "^3.4.4",
"nativescript-social-share": "^1.2.0",
"tns-core-modules": "2.1.0",
"tns-platform-declarations": "^2.0.0"
},
"devDependencies": {
"babel-traverse": "6.13.0",
"babel-types": "6.13.0",
"babylon": "6.8.4",
"lazy": "1.0.11",
"nativescript-dev-coffeescript": "0.0.6",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^1.8.10"
$ tns build android:
Executing before-prepare hook from xxx/hooks/before-prepare/nativescript-dev-coffeescript.js
Found peer CoffeeScript 1.10.0
Executing before-prepare hook from xxx/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
Project successfully prepared
WARNING: The file: xxx/node_modules/nativescript-plugin-firebase/platforms/android/README.md is depricated, you can read more about what will be the expected plugin structure here: https://www.nativescript.org/blog/migrating-n-android-plugins-from-version-1.7-to-2.0
WARNING: The file: xxx/node_modules/nativescript-google-maps-sdk/platforms/android/AndroidManifest.xml is depricated, you can read more about what will be the expected plugin structure here: https://www.nativescript.org/blog/migrating-n-android-plugins-from-version-1.7-to-2.0
WARNING: The file: xxx/node_modules/nativescript-google-maps-sdk/platforms/android/res/values/nativescript_google_maps_api.xml is depricated, you can read more about what will be the expected plugin structure here: https://www.nativescript.org/blog/migrating-n-android-plugins-from-version-1.7-to-2.0
:config phase: createDefaultIncludeFiles
+found plugins: nativescript-plugin-firebase
+found plugins: tns-core-modules-widgets
+found plugins: nativescript-google-maps-sdk
:config phase: createPluginsConfigFile
Creating product flavors include.gradle file in xxx/platforms/android/configurations folder...
:config phase: pluginExtend
+applying configuration from: xxx/platforms/android/configurations/include.gradle
+applying configuration from: xxx/platforms/android/configurations/nativescript-plugin-firebase/include.gradle
+applying configuration from: xxx/platforms/android/configurations/tns-core-modules-widgets/include.gradle
+applying configuration from: xxx/platforms/android/configurations/nativescript-google-maps-sdk/include.gradle
:config phase: copyAarDependencies
:config phase: addAarDependencies
+adding dependency: xxx/platforms/android/libs/aar/widgets-release.aar
+adding dependency: xxx/platforms/android/libs/aar/firebase-release.aar
:preBuild UP-TO-DATE
:preF0F1F2DebugBuild UP-TO-DATE
:checkF0F1F2DebugManifest
:preF0F1F2ReleaseBuild UP-TO-DATE
:prepareAllReadyMeBindingGeneratorUnspecifiedLibrary UP-TO-DATE
:prepareAllReadyMeRuntimeUnspecifiedLibrary UP-TO-DATE
:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:prepareComAndroidSupportCardviewV72340Library UP-TO-DATE
:prepareComAndroidSupportCustomtabs2340Library UP-TO-DATE
:preF0F1F2DebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:prepareComFacebookAndroidFacebookAndroidSdk4141Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesBase940Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesBasement940Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesGcm920Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesIid920Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesMaps940Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesTasks940Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseAnalytics920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseAnalyticsImpl920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseAuth920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseAuthCommon920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseAuthModule920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseCommon920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseConfig920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseCore920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseCrash920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseDatabase920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseDatabaseConnection920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseIid920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseMessaging920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseStorage920Library UP-TO-DATE
:prepareComGoogleFirebaseFirebaseStorageCommon920Library UP-TO-DATE
:prepareFirebaseReleaseLibrary UP-TO-DATE
:prepareWidgetsReleaseLibrary UP-TO-DATE
:prepareF0F1F2DebugDependencies
:compileF0F1F2DebugAidl UP-TO-DATE
:compileF0F1F2DebugRenderscript UP-TO-DATE
:generateF0F1F2DebugBuildConfig UP-TO-DATE
:cleanLocalAarFiles
:ensureMetadataOutDir
:collectAllJars
:setProperties
:asbg:generateInterfaceNamesList
:asbg:runAstParser UP-TO-DATE
:asbg:generateBindings UP-TO-DATE
:generateF0F1F2DebugAssets UP-TO-DATE
:mergeF0F1F2DebugAssets UP-TO-DATE
:generateF0F1F2DebugResValues UP-TO-DATE
:processF0F1F2DebugGoogleServices
Found com.google.android.gms:play-services-maps:+, but version 9.2.0 is needed for the google-services plugin.
:processF0F1F2DebugGoogleServices FAILED
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':processF0F1F2DebugGoogleServices'.Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.2.0.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 20.783 secs
....
Builds the project for Android and produces an APK that you can manually deploy on device or in the native emulator.
Options
* --compileSdk - Sets the Android SDK that will be used to build the project.
* --release - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the --key-store-* options.
* --key-store-path - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the --key-store-* options along with --release to produce a signed release build. You need to specify all --key-store-* options.
* --key-store-password - Provides the password for the keystore file specified with --key-store-path. You can use the --key-store-* options along with --release to produce a signed release build. You need to specify all --key-store-* options.
* --key-store-alias - Provides the alias for the keystore file specified with --key-store-path. You can use the --key-store-* options along with --release to produce a signed release build. You need to specify all --key-store-* options.
* --key-store-alias-password - Provides the password for the alias specified with --key-store-alias-password. You can use the --key-store-* options along with --release to produce a signed release build. You need to specify all --key-store-* options.
* --copy-to - Specifies the file path where the built .apk will be copied. If it points to a non-existent directory, it will be created. If the specified value is directory, the original file name will be used.
Attributes
is a valid Android API level. For example: 22, 23.
from nativescript-google-maps-sdk.
@dapriett That fix seems to be suggesting that i go into the node_modules folder and update each module manually? I definitely cant do that as anyone who checks out the project would have to do the same
from nativescript-google-maps-sdk.
I added the ability now to set the SDK version - see commit 9a92655.
Hopefully that solve your issues. If so, maybe you can ask the other plugins that depend on Google Play Services to reference the same property.
from nativescript-google-maps-sdk.
Many thanks, This has fixed my issue
from nativescript-google-maps-sdk.
Related Issues (20)
- infoWindow open without a click event HOT 2
- Blank Map with Angular in Suspend/Resume Event HOT 1
- Angular Map not drawing Polylines HOT 6
- shape.loadPoints is not a function?
- Geo political features
- Nativescript 6.0 error maps arr HOT 16
- Conflicts with @triniwiz/nativescript-image-cache-it HOT 1
- Performance Angular? HOT 1
- NS8 infoWindowTemplate is not working HOT 1
- Gesture Handling Cooperative HOT 2
- Gradle 7 requires that compile be changed to implementation
- iOS + M1 - not works HOT 3
- Failed to build plugin nativescript-google-maps-sdk HOT 1
- How to set a pattern in a shape HOT 2
- Version of Google Map API HOT 2
- How to set a tag in shapes or markers HOT 1
- Adding GroundOverlays HOT 1
- Could not find method compile() for arguments [com.google.android.gms:play-services-maps:+] HOT 3
- Uncaught ReferenceError: NativeClass is not defined HOT 3
- Class constructor ActionItem cannot be invoked without 'new' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-google-maps-sdk.