1,设置环境变量:
ANDROID_SDK_HOME = D:(它会自动创建一个.android文件夹)
PATH = D:\android-sdk-windows-1.6_r1\tools
2,创建
android create avd -n my_avd -t 1 -p D:\avd
3,选择属性
Android 1.5 is a basic Android platform.
Do you wish to create a custom hardware profile [no]yes
Device ram size: The amount of physical RAM on the device, in megabytes.
hw.ramSize [96]:128
Touch-screen support: Whether there is a touch screen or not on the device.
hw.touchScreen [yes]:yes
Track-ball support: Whether there is a trackball on the device.
hw.trackBall [yes]:yes
Keyboard support: Whether the device has a QWERTY keyboard.
hw.keyboard [yes]:yes
DPad support: Whether the device has DPad keys
hw.dPad [yes]:yes
GSM modem support: Whether there is a GSM modem in the device.
hw.gsmModem [yes]:yes
Camera support: Whether the device has a camera.
hw.camera [no]:
Camera support: Whether the device has a camera.
hw.camera [no]:yes
Maximum horizontal camera pixels
hw.camera.maxHorizontalPixels [640]:854
Maximum vertical camera pixels
hw.camera.maxVerticalPixels [480]:480
GPS support: Whether there is a GPS in the device.
hw.gps [yes]:yes
Battery support: Whether the device can run on a battery.
hw.battery [yes]:yes
Accelerometer: Whether there is an accelerometer in the device.
hw.accelerometer [yes]:yes
Audio recording support: Whether the device can record audio
hw.audioInput [yes]:yes
Audio playback support: Whether the device can play audio
hw.audioOutput [yes]:yes
SD Card support: Whether the device supports insertion/removal of virtual SD Cards.
hw.sdCard [yes]:yes
Cache partition support: Whether we use a /cache partition on the device.
disk.cachePartition [yes]:yes
Cache partition size
disk.cachePartition.size [66MB]:100MB
4,运行
emulator @my_avd -show-kernel
分享到:
相关推荐
所建项目和AVD的SDK版本应保持一致;遇到未知问题时可以在网络上寻找答案;同时提醒开发者对可能的系统卡顿要有耐心。 综上所述,搭建Android开发环境涉及对JDK、Eclipse、SDK以及ADT插件的安装和配置,环境变量的...
安装完成后,需要验证JDK是否安装成功,通过在命令行输入`java -version`和`javac -version`,如果返回正确的版本信息,说明安装无误。 2. **Eclipse IDE 配置** Eclipse是一款广泛使用的Java集成开发环境,也适用...
Android Studio内建了AVD Manager,用于创建和管理模拟器实例。通过AVD,开发者可以在没有实体设备的情况下测试应用程序。创建AVD时,可以选择不同的设备类型、系统版本和硬件配置。遇到启动慢或性能问题时,可以...
5. **开发工具**:Android Studio内建了代码编辑器、调试器、版本控制工具等一系列开发工具。你还可以安装额外的插件,如Git,以实现版本控制和团队协作。 6. **环境变量配置**:确保`ANDROID_HOME`环境变量指向...
3. **AVD管理器**: Android Studio内建的Android Virtual Device(AVD)用于模拟Android设备,开发者可以通过AVD管理器创建、编辑和管理虚拟设备。 ### 二、项目创建与结构 1. **新项目向导**: 使用向导可以快速...
----------------------------------- Android 编程基础 1 封面----------------------------------- Android 编程基础 2 开放手机联盟 --Open --Open --Open --Open Handset Handset Handset Handset Alliance ...
#### 实验一:第1章 开发环境建置与基本使用 ##### 知识点1:Java开发工具包(JDK)的安装 - **背景介绍**:JDK(Java Development Kit)是进行Java开发的基础,包含了Java编译器、Java虚拟机和其他开发工具。 - **...