Sunday, November 7, 2010

Eclipse Tips For Android Programming

A small collection of Eclipse Android tips I found for little problems before Google Dev Day 2010 PreHackathon

Eclipse is quite slow in the default configuration. Quick tip:
edit (your eclipse dir)/opt/eclipse/

Eclipse Android creates the R.class file on its own. You can remove it or use Menu - Project - Clean and it will be recreated. Good idea to do this from time to time.
If you get Android Packaging Problem also use Menu - Project - Clean

Make sure you have the project selected when running build all, and not some resource

Make sure you create resources before using them or you will get Error: No resource found that matches the given name

AndroidManifest Activity Name should always be kept in sync with the classname: 

No comments:

Post a Comment