A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask'). - Type 'UploadMappingFileTask' property 'googleServicesResourceRoot' doesn't have a configured value.
See original GitHub issueAfter updating to classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.0'
A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask').
- Type 'UploadMappingFileTask' property 'googleServicesResourceRoot' doesn't have a configured value.
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask').
- Type 'UploadMappingFileTask' property 'googleServicesResourceRoot' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'googleServicesResourceRoot'.
2. Mark property 'googleServicesResourceRoot' as optional.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#value_not_set for more details about this problem.
I tried to read the documentation and changelog, however none of them help on how to fix the problem.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:16
- Comments:31 (3 by maintainers)
Top Results From Across the Web
Task :app:uploadCrashlyticsMappingFileRelease FAILED ...
A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask'). > No value has ...
Read more >Task :app:uploadCrashlyticsMappingFileRelease FAILED ...
Android : Task :app:uploadCrashlyticsMappingFileRelease FAILED Expected file collection to contain exactly one file, however, it contains no ...
Read more >a problem was found with the configuration of task - You.com
version-check' type 'com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask' property 'androidJarInput.androidJar' specifies file '/Users/ ...
Read more >Firebase Android SDK Release Notes - Google
You can now use the Kotlin DSL to configure the App Distribution properties with multiple build variants (build types and product flavors) by...
Read more >Logging Ad Response ID with Firebase Crashlytics | Android
Later, when you troubleshoot crashes in your app, you can look up the ad response ID and use the Ad Review Center in...
Read more >Top Related Medium Post
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
Found a fix for me. AS 4.2.1Buld May 10,2021 Gradle Plugin 4.2.1 Gradle Version 7.1 com.google.firebase:firebase-crashlytics-gradle:2.7.0
This produces the error
While this does not, note com.google.gms.google-services is now ABOVE com.google.firebase.crashlytics
When you update to com.google.firebase:firebase-crashlytics-gradle:2.7.0 and sync the changes with them in the wrong order you are given an message stating that is the fix.
Thanks, that worked. I now have: