`
suky
  • 浏览: 145253 次
  • 性别: Icon_minigender_2
  • 来自: 厦门
社区版块
存档分类
最新评论

Android笔记一 搭建环境

阅读更多

 

1.Installing the Android SDK

 

Download the very latest SDK , see http://developer.android.com/sdk/index.html   .Unpack the SDK starter package to a location and then add the location (‘D:\android-sdk_r06-windows\android-sdk-windows\tools’) to   PATH development environment.

 

2. Installing the ADT(Android Development Tools)   Plugin for Eclipse

 

Start Eclipse, then select Help->Software Updates->Find and Install->Search for new features to install->New Remote Site . Enter a name in the ‘Name’ field and enter this ‘URL’:

https://dl-ssl.google.com/android/eclipse/ . Chick OK .

 

3. Set up SDK location

 

In Eclipse, choose Windows->Preferences->Android SDK Location is set to

‘D:\android-sdk_r06-windows\android-sdk-windows’ .

 

4. Create an AVD(Android Virtual Device)

 

In Eclipse , choose Window->Android SDK and AVD Manager->Available Packages , to add one or more Android Platforms( for example, Android 2.2) to our SDK Next Steps, choose Window->Android SDK and AVD Manager-> Vitual Devices , Click ‘New ’ button and then input the information below:


 

 

Click 'Create AVD' If we aren’t sure whether it is successful, we can execute ‘android list target ’ in the <sdk>/tools/ folder.

 


 

5. Boot up the emulator

In tools folder execute  emulator  -avd android22


After a moment, the application will appear:


  • 大小: 17.3 KB
  • 大小: 30.6 KB
  • 大小: 23.2 KB
  • 大小: 166.3 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics