Eclipse Android won't clean, won't refresh resources

老子叫甜甜 提交于 2019-12-05 06:02:25

Enable lightweight "refresh on access" to keep the workspace synchronized with the filesystem.

This option in Eclipse is in Preferences under General->Workspace as shown here.

Guilherme Ramos

Look for bin on your application. Probably there is a folder called res/crunch, so search for your drawable that isn't refreshing and refresh manually.

In my case, I import the wrong 'R' so that eclipse couldn't find the right image file. try change this: import android.R; => import com.example.myfirstapp.R;

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!