Illegal class file: Class module-info is missing a super type. Class file version 53

前端 未结 3 999
情深已故
情深已故 2021-02-07 13:05

When I add firebase perf dependency into my project i am getting this error Illegal class file: Class module-info is missing a super type. Class file version 53. My

相关标签:
3条回答
  • 2021-02-07 13:40

    FYI, this was an AGP bug...it's been fixed in AGP 3.6

    0 讨论(0)
  • 2021-02-07 13:55

    On updating build Gradle from 3.5.1 to 3.6.0 fixed my issue.

    0 讨论(0)
  • 2021-02-07 13:57

    Adding this to your app-level build.gradle file solves the problem temporarily

    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)
提交回复
热议问题