<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/icon"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:src="@drawable/jm"
</ImageView>
Failed to convert @drawable/jm into a drawable
Couldn't resolve resource @drawable/jm
Exception details are logged in Window > Show View > Error Log
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/icon"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:src="@drawable/jm"
</ImageView>
Failed to convert @drawable/jm into a drawable
Couldn't resolve resource @drawable/jm
Exception details are logged in Window > Show View > Error Log
解决方案 »
- 求高手,android如何向SIM卡发送APDU命令
- i2c 有时不能通讯
- 没有继承activity后没办法重写onCreateContextMenu
- android opengl 画平面图形,出不来。。。求救。。。
- 怎么将一个文件夹下的所有内容(文件/图片)打包到Android镜像中
- vold.conf中如何配置来单独mount sd卡的一个分区
- 如何试用 Intent 打开另一个activity
- 安卓4.0 Phone.apk被屏蔽 如何让他能在抽屉显示 请各位讲解支招
- 关于安卓端libffmpeg.so使用问题
- 求指点:地图上打点怎么实现的?
- 关于Content-Provider的问题
- Android:"图形控件以及方法"的自动化测试框架,请教,急~
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
//应该问题出在这里
android:id="@+id/icon"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:src="@drawable/jm"
</ImageView>
1.检查项目里有没有jm图片。
2.检查R.java有没有jm字段,没有的话,删除gen目录,重新生成。
你的jm是xml还是一个图片如果是一个xml,检查xml是都有错误,如果是图片,检查是不是图片被损坏,是否存在等问题