Could not find class 'android.su

2019-07-05  本文已影响0人  103style

转载请以链接形式标明出处:
本文出自:103style的博客

手机信息

报错信息:

Could not find class 'android.support.v4.widget.DrawerLayout$1', referenced from method android.support.v4.widget.DrawerLayout.<i
Could not find class 'android.view.WindowInsets', referenced from method android.support.v4.widget.DrawerLayout.onDraw
Could not find class 'android.view.WindowInsets', referenced from method android.support.v4.widget.DrawerLayout.onMeasure
Could not find class 'android.view.WindowInsets', referenced from method android.support.v4.widget.DrawerLayout.onMeasure

网上找了一圈找到下面这个方法,然后对我并没用:
link

Hi ! I have used attr for color in drawable shape.... 
its not support below lollipop. 
I have removed attr and its working fine now. Thanks 

最后发现 在 AndroidManifest 加上已下权限就可以了....

//Checks for usages of deprecated classes and methods in XML.
<uses-permission android:name="android.permission.GET_TASKS" />

以上

上一篇 下一篇

猜你喜欢

热点阅读