• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Developer Beginner - activity_main.xml File Missing

Zebara

Lurker
"Open the activity_main.xml file from the res/layout/ directory."

I have looked in the res/layout/ directory but the "activity_main.xml" file is not there. I set up my project with the newest API and all the default settings. I tried looking in that folder with different views as well. I am very familiar with eclipse but this is my first app.

I would greatly appreciate any help!

developer.android.com/training/basics/firstapp/building-ui.html
 
"Open the activity_main.xml file from the res/layout/ directory."

I have looked in the res/layout/ directory but the "activity_main.xml" file is not there. I set up my project with the newest API and all the default settings. I tried looking in that folder with different views as well. I am very familiar with eclipse but this is my first app.

I would greatly appreciate any help!

developer.android.com/training/basics/firstapp/building-ui.html

Eclipse will automatically generate activity_main.xml file wen u create a new project using blank activity... Check it ll be there...
 
I am running windows 8.
I have the 32 bit offline Java version.
I have the 32 bit ADT bundle.

I am not sure why the activity_main.xml file is missing.
 
I had to use fullscreen activity instead of no activity. The android getting started guide said to use "blank activity" which was not there so I used "no activity". When I tried to use the "fullscreen activity", I got the error: "This template requires a more recent version of the Android Eclipse plugin. Please update from version 20.0.3. I figured out that the android developer website does not have the newest ADT version. I found the newest version through NewShelbyWoo's comment on stackoverflow. I now have the "activity_fullscreen.xml" file!

eclipse - ADT will not allow creation of Android Activity - Stack Overflow
 
Back
Top Bottom