我是android studio 1.3.2中的makeng .apk文件。在我的真实设备上运行时,设备(lenovoA526)和其他设备出现错误。我安装了所有的驱动程序 向logcat显示错误:
16807/com.example.behzod.myapplication E/AndroidRuntime? FATAL EXECEPTION: Main
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.example.behzod.myapplication/com.example.behzod.myapplication.MainActivity}:
android.content.res.Resources$NotFoundException:
File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052
如何删除此错误?
答案 0 :(得分:0)
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".ManActivity">