开发者

android notepad tutorial - no build target available

开发者 https://www.devze.com 2023-02-05 08:01 出处:网络
when setting up the the notepad exercise (http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html) i am having problems getting past step 1 point 4. for build target it says no targe

when setting up the the notepad exercise (http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html) i am having problems getting past step 1 point 4. for build target it says no target available.

could someone offer any help please?

开发者_StackOverflow

android notepad tutorial - no build target available

android notepad tutorial - no build target available


Might be a silly question, but have you downloaded the SDK and set up Eclipse with ADT? Have you been able to build the HelloWorld program?


You need to set your Android SDK location in Eclipse->Android preferences.

Eclipse->Window->Preferences->Android->SDK Location


You need to download at least one of the "essential SDK components" into your development environment:

http://developer.android.com/sdk/installing.html

Download one of the "SDK Platform Android" 1.* or 2.* from the Android SDK and AVD Manager (located on the toolbar towards the left - has a picture of a little Android guy with a down arrow). Once you have one of the platforms installed you will have a Build Target available in the list. I would just go ahead and download any available SDKs that you see in the under "Available".


Non of other answers worked for me. So here a short collection of them my solution at the end.

Checkliste

  • Android SDK installed? http://developer.android.com/sdk/installing.html
  • SDK Path in Eclipse: Eclipse->Window->Preferences->Android->SDK Location
  • Update Eclipse and Android SDK: Help > Check for Updates
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号