我把一个类定义在布局文件XML中,如下: <info.lx137.abcjiaoyulx.MyView
android:id="@+id/sv"
android:layout_width="match_parent"
android:layout_height="match_parent" />
用proguard混淆后,报错
06-19 08:56:27.285: E/AndroidRuntime(25150): java.lang.RuntimeException: Unable to start activity ComponentInfo{info.lx137.abcjiaoyulx/info.lx137.abcjiaoyulx.PointActivity}: android.view.InflateException: Binary XML file line #169: Error inflating class info.lx137.abcjiaoyulx.MyView
android:id="@+id/sv"
android:layout_width="match_parent"
android:layout_height="match_parent" />
用proguard混淆后,报错
06-19 08:56:27.285: E/AndroidRuntime(25150): java.lang.RuntimeException: Unable to start activity ComponentInfo{info.lx137.abcjiaoyulx/info.lx137.abcjiaoyulx.PointActivity}: android.view.InflateException: Binary XML file line #169: Error inflating class info.lx137.abcjiaoyulx.MyView
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货