Could not get unknown property 'FIREBASE_VERSION' for object of type
See original GitHub issue* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not get unknown property 'FIREBASE_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
`cli packages: (/Users/michael/Documents/sites/laravel/hybrid/node_modules)
@ionic/cli-utils : 1.7.0
ionic (Ionic CLI) : 3.7.0
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 1.3.12
@ionic/cli-plugin-cordova : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms : android 6.2.3 browser 4.1.0 ios 4.4.0
Ionic Framework : ionic-angular 3.0.1
`
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (1 by maintainers)
Top Results From Across the Web
Could not get unknown property 'assemble' - Stack Overflow
ERROR : Could not get unknown property 'assemble' for task ':patternjkh:assembleDebug' of type org.gradle.api.DefaultTask. I googled for a long ...
Read more >Firebase Analytics Could not get unknown property ...
Hi I have tried to install firebase analytics I get the following error: Could not get unknown property 'FIREBASE_VERSION' for object of type...
Read more >Fix Error: Could Not Get Unknown Property '*_version' | Android
Could Not Get Unknown Property '*_version' | AndroidPut ext.kotlin_version = '1.3.50'In build grade + clean your project and run.
Read more >could not get unknown property 'ossrhUsername' for object of ...
could not get unknown property 'ossrhUsername' for object of type org.gradle.api.publication.maven.internal.deployer.
Read more >Could not get unknown property 'kotlin_version' for ... - YouTube
Could not get unknown property 'kotlin_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.
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
Edit your project.properties file and explicitly add the version.
From:
cordova.system.library.7=com.google.firebase:firebase-dynamic-links:$FIREBASE_VERSION
To:cordova.system.library.7=com.google.firebase:firebase-dynamic-links:11.0.+
Also best to ensure that you update your firebase core/messaging and play-services to the same version:
After making these changes I ran into another error:
Cannot add task ':processArmv7DebugGoogleServices' as a task with that name already exists.
This means there is a duplicate task to do the same thing… To fix this, simply comment out the task in the plugin file of /platforms/android/cordova-support-google-services/APPNAME-build.gradle
As @Darkarmour said, I downgraded to version 0.12.0