ximsfei / Android-skin-support

Android-skin-support is an easy dynamic skin framework to use for Android, Only one line of code to integrate it. Android 换肤框架, 极低的学习成本, 极好的用户体验. "一行"代码就可以实现换肤, 你值得拥有!!!
MIT License
6.42k stars 1.08k forks source link

高版本安卓的已经无法使用 #485

Open chejfj opened 7 months ago

chejfj commented 7 months ago

2024-04-21 17:22:57.982 22608-22644/com.qiang.skintest E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1 Process: com.qiang.skintest, PID: 22608 java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$AsyncFutureTask.done(AsyncTask.java:426) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) at java.util.concurrent.FutureTask.setException(FutureTask.java:252) at java.util.concurrent.FutureTask.run(FutureTask.java:271) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:930) Caused by: java.lang.NoSuchFieldError: No static field abc_text_select_handle_left_mtrl_dark of type I in class Landroidx/appcompat/R$drawable; or its superclasses (declaration of 'androidx.appcompat.R$drawable' appears in /data/app/~~JB9zF-rSewWcTfnLzP086w==/com.qiang.skintest-X9JjHNcyDY5-TygtzQI0fw==/base.apk!classes2.dex) at skin.support.content.res.SkinCompatDrawableManager.(SkinCompatDrawableManager.java:108) at skin.support.content.res.SkinCompatDrawableManager.get(SkinCompatDrawableManager.java:60) at skin.support.content.res.SkinCompatVectorResources.clear(SkinCompatVectorResources.java:30) at skin.support.content.res.SkinCompatResources.setupSkin(SkinCompatResources.java:76) at skin.support.load.SkinBuildInLoader.loadSkinInBackground(SkinBuildInLoader.java:14) at skin.support.SkinCompatManager$SkinLoadTask.doInBackground(SkinCompatManager.java:394) at skin.support.SkinCompatManager$SkinLoadTask.doInBackground(SkinCompatManager.java:364) at android.os.AsyncTask$3.call(AsyncTask.java:394) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at java.lang.Thread.run(Thread.java:930) 

ragecaty commented 6 months ago

什么安卓版本?

jisx commented 5 months ago

这个报错很像使用了插件化框架,插件打包后,在壳中运行,但资源没对齐的异常

everyline commented 3 months ago

appcompat = "1.6.1" material = "1.10.0" 无法使用 这个库