I'm makeng .apk files in android studio 1.3.2. When running on my real device have a errors in device (lenovoA526) and othets phone. I install all the drivers.
Showing errors to logcat:
我是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
How can i remove this errors?
我该如何删除此错误?
1 个解决方案
#1
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">
#1
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">