美文网首页
Flutter java.lang.IllegalAccessE

Flutter java.lang.IllegalAccessE

作者: Cloverss | 来源:发表于2020-08-25 11:03 被阅读0次
    java.lang.IllegalAccessError: Interface androidx.lifecycle.b implemented by class
    
    at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(Unknown Source:51)
        at com.ara.deer.MainActivity.p(Unknown Source:0)
        at io.flutter.embedding.android.e.g(Unknown Source:64)
        at io.flutter.embedding.android.d.onCreate(Unknown Source:20)
    

    混淆添加这一行,再试试,希望可以解决有问题的盆友

    ## androidx
    -keep class androidx.lifecycle.** { *; }
    

    相关文章

      网友评论

          本文标题:Flutter java.lang.IllegalAccessE

          本文链接:https://www.haomeiwen.com/subject/xdbajktx.html