MewX / light-novel-library_Wenku8_Android

[CASUALLY MAINTAINED] 轻小说文库 (Wenku8.com) 安卓版第三方公益App,始于2014年的Material Design风格、无广告、不盈利、Google Play上安装包最小的轻小说阅读器(light novel reader)。目前除了网站的API以外,还添加了我自己架的Cloudflare Worker 中继节点用来突破网站API的限制 wenku8-relay.mewx.org.
https://wenku8.mewx.org
GNU General Public License v2.0
1.81k stars 298 forks source link

点搜索也是崩溃。。。 #8

Closed rtyheji closed 6 years ago

MewX commented 7 years ago

哈?麻烦把异常栈发一下

rtyheji commented 7 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)

MewX commented 7 years ago

你的系统是4.x吗? 有可能是系统未定义toolbar_search.xml 76行的图形的原因。

rtyheji commented 7 years ago

我用的是4.4的。。

MewX commented 7 years ago

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)