AndroidTagView icon indicating copy to clipboard operation
AndroidTagView copied to clipboard

1.1.7无法运行

Open tianyajuechen opened this issue 6 years ago • 4 comments

编译能通过,但是app一运行就报错: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lvic.loyalvalley/com.lvic.loyalvalley.activity.SearchActivity}: android.view.InflateException: Binary XML file line #111: Binary XML file line #111: Error inflating class co.lujun.androidtagview.TagContainerLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032) at android.app.ActivityThread.-wrap11(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6940) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) Caused by: android.view.InflateException: Binary XML file line #111: Binary XML file line #111: Error inflating class co.lujun.androidtagview.TagContainerLayout Caused by: android.view.InflateException: Binary XML file line #111: Error inflating class co.lujun.androidtagview.TagContainerLayout Caused by: java.lang.reflect.InvocationTargetException

换成1.15版本就好了

tianyajuechen avatar Feb 22 '19 08:02 tianyajuechen

In v1.1.7, the library use implementation 'androidx.appcompat:appcompat:1.0.1' as the appcompat, so you need to use [implementation 'androidx.appcompat:appcompat:1.0.1'] in your project build.grade file, and set the compileSdkVersion to 28. The lib will fix this problem in next version.

tianyajuechen [email protected]于2019年2月22日 周五16:02写道:

编译能通过,但是app一运行就报错: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lvic.loyalvalley/com.lvic.loyalvalley.activity.SearchActivity}: android.view.InflateException: Binary XML file line #111: Binary XML file line #111: Error inflating class co.lujun.androidtagview.TagContainerLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032) at android.app.ActivityThread.-wrap11(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6940) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) Caused by: android.view.InflateException: Binary XML file line #111: Binary XML file line #111: Error inflating class co.lujun.androidtagview.TagContainerLayout Caused by: android.view.InflateException: Binary XML file line #111: Error inflating class co.lujun.androidtagview.TagContainerLayout Caused by: java.lang.reflect.InvocationTargetException

换成1.15版本就好了

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/whilu/AndroidTagView/issues/95, or mute the thread https://github.com/notifications/unsubscribe-auth/AGkeWwdFO9dMSfyhSpIlq9tc1Yi6Nhavks5vP6QSgaJpZM4bJEEM .

whilu avatar Feb 22 '19 09:02 whilu

希望能尽快解决,目前测试只有1.1.2老版本能正常使用。谢谢。

moo611 avatar Feb 25 '19 12:02 moo611

一样的问题

bestchangge avatar Jun 12 '19 08:06 bestchangge

+1

mggrbk avatar Sep 06 '19 14:09 mggrbk