Firebase Performance Monitoring fails on build
See original GitHub issue[READ] Step 1: Are you in the right place?
I’m reporting an issue on a Firebase SDK, I guess so.
[REQUIRED] Step 2: Describe your environment
- Android Studio version: 4.0, 4.1, 4.2 Preview
- Firebase Component: Firebase Performance Monitoring
- Component version: 19.0.8
[REQUIRED] Step 3: Describe the problem
When building the project with the Android Gradle Plugin 4.0 or + always fails:
Caused by: java.lang.IllegalStateException: Unexpected non-class file: META-INF\versions\9\org\junit\platform\commons\util\ModuleUtils$ModuleReferenceScanner.class
After a research I found some people opening questions on StackOverflow about the same topic and the only way to solve is to remove the Firebase Monitoring Library from the project
Issue Analytics
- State:
- Created 3 years ago
- Reactions:25
- Comments:26 (1 by maintainers)
Top Results From Across the Web
Performance Monitoring troubleshooting and FAQ - Firebase
This page provides troubleshooting tips for getting started with Performance Monitoring or using Performance Monitoring features and tooling.
Read more >Firebase performance monitoring fails to log custom trace
The method itself in the build fires correctly and does not produce any errors. However when I open the firebase console and view...
Read more >Firebase Performance Monitoring In Flutter | by Shaiq khan
Firebase Performance Monitoring ... It is a service that encourages you to pick up an understanding of the presentation attributes of your iOS,...
Read more >[Performance Monitoring Plugin (Firebase)] Unable to ...
This issue seems to be related with the unsupported Firebase Mobile plugin that you mention you're using. Looking at the error on the...
Read more >DexArchiveBuilderException with Firebase Performance ...
... -with-firebase-performance-monitoring-library-r8-fail: I pretty much cannot build the project if I even just include the Firebase performance library, ...
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
I’m having a common issue, after updating to Kotlin
1.4.0
, issue does not happen on1.3.72
:Configuration:
This is working for me now using Android Gradle Plugin 4.1.0-rc02 alongside Firebase Perf Plugin and Kotlin 1.4.0.
classpath 'com.android.tools.build:gradle:4.1.0-rc02'