4.0.5a切换主题时报错

Version: 450
Android: 26
java.lang.IllegalAccessError: Method 'void androidx.recyclerview.widget.RecyclerView.invalidateGlows()' is inaccessible to class 'androidx.appcompat.widget.ThemeColorRecyclerView' (declaration of 'androidx.appcompat.widget.ThemeColorRecyclerView' appears in /data/app/org.autojs.autojs-FnOZe9qmt8x2bKRIKU9qEw==/base.apk)
java.lang.RuntimeException:Unable to start activity ComponentInfo{org.autojs.autojs/com.stardust.theme.app.ColorSelectActivity}: android.view.InflateException: Binary XML file line #22: Binary XML file line #22: Error inflating class com.stardust.theme.app.ColorSelectActivity$ColorSettingRecyclerView
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2856)
......
Caused by:
java.lang.IllegalAccessError:Method 'void androidx.recyclerview.widget.RecyclerView.invalidateGlows()' is inaccessible to class 'androidx.appcompat.widget.ThemeColorRecyclerView' (declaration of 'androidx.appcompat.widget.ThemeColorRecyclerView' appears in /data/app/org.autojs.autojs-FnOZe9qmt8x2bKRIKU9qEw==/base.apk)
androidx.appcompat.widget.ThemeColorRecyclerView.invalidateGlows(ThemeColorRecyclerView.java:98)
androidx.appcompat.widget.ThemeColorRecyclerView.setThemeColor(ThemeColorRecyclerView.java:94)
com.stardust.theme.ThemeColorManager$ThemeColorMutableManager.add(ThemeColorManager.java:199)
com.stardust.theme.ThemeColorManager.add(ThemeColorManager.java:38)
androidx.appcompat.widget.ThemeColorRecyclerView.init(ThemeColorRecyclerView.java:71)
androidx.appcompat.widget.ThemeColorRecyclerView.<init>(ThemeColorRecyclerView.java:38)
com.stardust.theme.app.ColorSelectActivity$ColorSettingRecyclerView.<init>(ColorSelectActivity.java:165)
java.lang.reflect.Constructor.newInstance0(Native Method)
java.lang.reflect.Constructor.newInstance(Constructor.java:334)
android.view.LayoutInflater.createView(LayoutInflater.java:651)
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:794)
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734)
android.view.LayoutInflater.rInflate(LayoutInflater.java:867)
android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828)
android.view.LayoutInflater.inflate(LayoutInflater.java:519)
android.view.LayoutInflater.inflate(LayoutInflater.java:427)
android.view.LayoutInflater.inflate(LayoutInflater.java:374)
androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469)
androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
com.stardust.theme.app.ColorSelectActivity.setUpUI(ColorSelectActivity.java:92)
com.stardust.theme.app.ColorSelectActivity.onCreate(ColorSelectActivity.java:81)
android.app.Activity.performCreate(Activity.java:7040)
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2809)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2931)
android.app.ActivityThread.-wrap11(Unknown Source:0)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1620)
android.os.Handler.dispatchMessage(Handler.java:105)
android.os.Looper.loop(Looper.java:173)
android.app.ActivityThread.main(ActivityThread.java:6698)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)

  • 2
    帖子
  • 199
    浏览

与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待