一种 R.drawable.找不到图片资源,程序应用了系统的R import android.R; 办法: 应用自己的Rr文件 import com.example.xx.R; 或者你得图片是数字 不能被赋值给id