SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse

subin picture subin · Mar 7, 2014 · Viewed 20.8k times · Source

SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse-

I created a new android project using Eclipse. But I am seeing SRC folder is empty in the project explorer. But as per my understanding it should create few .java files automatically like MainActivity.java.

Answer

Scumble373 picture Scumble373 · Jul 1, 2014

I had this problem for the longest time. When creating the android application, use "empty activity" instead of "blank" activity. Fixed the problem for me immediately.

Hope this helps :)