Android studio project not compiling after updating firebase-perf plugin (Class module-info is missing)

后端 未结 2 1157
我寻月下人不归
我寻月下人不归 2021-01-03 09:39

everyone. I\'m using gradle version 5.6.2. I updated my android studio project dependencies like this:

dependencies {
    classpath \'com.android.tools.build         


        
相关标签:
2条回答
  • 2021-01-03 10:07

    This is a bug in the Android Gradle plugin, fixed now in Android Studio 3.6. It looks to only be an issue on Windows, as the path format uses the backslash \ instead of forward slash /. I confirmed I am able to build my app on Android Studio 3.5 on Linux, but not Windows.

    0 讨论(0)
  • 2021-01-03 10:08

    It was solved temporarily by adding this to build.gradle :

    debug {
              FirebasePerformance {
                // Set this flag to 'false' to disable @AddTrace annotation processing and
                // automatic HTTP/S network request monitoring
                // for a specific build variant at compile time.
                instrumentationEnabled false
              }
            }
    
    0 讨论(0)
提交回复
热议问题