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

Apps Eclipse & Android Conflict

Hi !. Hope I can get this one going... While building my Android Project with this details:
Minimum Required SDk: 2.1
Target SDK: 4.1
Compile With: 4.1
I started facing this problem:
When I already press the button "Finish", the screen where the Activity Name and LayOut Name an other stuff appear, doesn't disappear but this project is created. I press several times this button but the screen keeps there.

When I open my project in the package explorer, I noticed that there isn't anything in the gen folder and that Eclipse didn't generate my appcompat project. I have tons of compile problems, but the weird thing about this is that if I create a project with Min SDk of 3.0 (which in theory supports by default the ActionBar component), the MainActivity is created but extending from "ActionBarActivity". I think that there is an error in Android Build Tools altough I have all my tools updated.

ANother thing is that If I clean my project, in the gen folder a BuildConfig appears but not the R.java.
I would be willing to post some photos but I don't know where to post them.

Hope I made a good explanation of my problem. In lot of forums I look people that have a similar problem but not the same.
Again thankx.
 
Hi cardeilhackbanus.
Sorry, I'm having a bit of trouble understanding what you're describing here.
Firstly, examine those "compile errors". What are they? Once those have been fixed then your project should *hopefully* compile and build.
 
gerbyte: Thankx for your reply... I managed to solve the problem... I download the bundle (Eclipse + SDK) and started downloading all the packages and all worked Ok... It was really weird what happened...

The example I wanted to build was to test some action bar issues... I wanted to know this... Would I have to test which version is running on the device to know If I have to use "getSupportActionBar()" (from android 2.1 to less than android 3.0) and use "getActionBar()" in case Android 3.0 onwards ?... Or should I use getSupportActionBar() even If the android running on the phone is 4.1 for ex ?...
 
Back
Top Bottom