Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old November 7th, 2011, 03:13 AM   #1 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Build Target problems

Hey all,

I'm new to android developping. I installed both the SDK manager and Eclipse, but when I'm creating a new project I can only choose Android 4.0 as a built target. Everything works well on AVD but I can't debug on my HTC Sensation (since its API lvl is to low ofcourse...). Anyone an idea on how I can fix this and thus choose another Android platform while creating a new project? (I did install all of the Android versions in SDK manager).

Thx!
Patrijs

Patrijs is offline  
Reply With Quote
Sponsors
Old November 7th, 2011, 05:34 AM   #2 (permalink)
Member
 
Join Date: Aug 2010
Location: Norway
Posts: 308
 
Device(s): Samsung Galaxy Nexus
Thanks: 0
Thanked 52 Times in 51 Posts
Default

Go to Window->Android SDK Manager and check off the platforms you would like to install
__________________
Android: Personal Storage, Lars Monsen Facts(Norwegian)
miXer is offline  
Reply With Quote
Old November 7th, 2011, 11:57 PM   #3 (permalink)
Premium Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
Default

In Eclipse, right-click on your project, and choose Properties. In the project properties window, choose Android on the left and the choose the Android target that matches the version of Android on your HTC Sensation.

Also in your AndroidManifest.xml, check that the android:minSdkVersion and android:targetSdkVersion attributes of the uses-sdk tag are lower enough.


Edit: Sorry. When you're creating a new project, just select the Android version you want in the Select Build Target screen of the New Android Project wizard.
jiminaus is offline  
Last edited by jiminaus; November 7th, 2011 at 11:59 PM. Reason: Noticed OP was asking about creating a new prj
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Developer 101 User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 08:12 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo