Closed rtyheji closed 6 years ago
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.mewx.wenku8/org.mewx.wenku8.activity.SearchActivity}: android.view.InflateException: Binary XML file line #70: Error inflating class ImageView 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2264) 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313) 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:141) 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238) 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.os.Looper.loop(Looper.java:136) 03-03 09:14:19.411 10566-10566/org.mewx.wenku8 E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5333)
你的系统是4.x吗? 有可能是系统未定义toolbar_search.xml 76行的图形的原因。
我用的是4.4的。。
4.4的话,麻烦下载1.3.1使用吧:https://github.com/MewX/light-novel-library_Wenku8_Android/releases/tag/v1.3.1
W/Resources: Drawable org.mewx.wenku8:drawable/abc_ic_ab_back_material has unresolved theme attributes! Consider using Resources.getDrawable(int, Theme) or Context.getDrawable(int).
java.lang.RuntimeException
at android.content.res.Resources.getDrawable(Resources.java:768)
at org.mewx.wenku8.activity.AboutActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:6100)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1109)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
at android.app.ActivityThread.access$1200(ActivityThread.java:163)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1371)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5595)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
哈?麻烦把异常栈发一下