android

本文详细介绍了如何使用Eclipse安装Android开发工具(ADT插件)并创建虚拟设备(AVD),包括安装步骤、验证安装、配置环境、下载资源和创建自定义AVD的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、安装步骤如下:


1.在线安装


1).打开Eclipse,Help ->Install New Software... ->选择Work with:后的Add...。
2).在Name选项输入Android Plugin在Location输入http://dl-ssl.google.com/Android/eclipse/, 点击OK,然后在下面勾选Name中的选项即可。


2.离线安装


1).打开Eclipse,Help ->Install New Software... ->选择Work with:后的Add...。
2).在Local选项中输入Android Plugin,在Archive中找到ADT0.9.1的压缩包,点击OK,然后在下 面勾选Name中的选项即可。


二、安装是否成功测试:


1).安装完ADT插件后,关闭Eclipse,然后重启。
2).打开File ->New,看有无出现Android Project选项,没出现先别着急,再点击Other...选项 ,看看General选项下是否有Android选项,有,则安装成功,无,则安装失败。

安装完插件后,需要做一些简单的配置:
1、在Eclipse中,选择Window > Preference;
2、从左侧的菜单中,选择Android项;
3、设置SDK Location,点Browse选择SDK的安装根目录;
4、OK,完成。

三、下载地址连接:


1).Eclipse Galileo版本IDE下载:http://www.eclipse.org/downloads/
2).ADT-0.9.1.zip下载:http://dl-ssl.google.com/android/ADT-0.9.1.zip
3).Android SDK1.5下载:http://developer.android.com/intl/zh-CN/sdk/1.5_r2/index.html

四、创建AVD

方法1

运行-CMD-键入android list targets,会出现已有的SDK列表,targetid为2表示android 1.5版本

注意,如果不出现列表,在环境变量里path中加上android-sdk-windows-1.6_r1\tools的地址,如PATH = D:\android-sdk-windows-1.6_r1\tools。。。。。。。

然后,cmd-->输入 android create avd --name sdk_1_5_version --target 2

出现:

Android 1.5 is a basic Android platform.

Do you wish to create a custom hardware profile [no]

Created AVD 'sdk_1_5_version' based on Android 1.5

设置属性:

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 @sdk_1_5_version -show-kernel

方法2
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,选择属性
属性设置同方法一


4,运行
emulator @my_avd -show-kernel
这样就创建了一个自定义的AVD,然后,只要在Eclipse的Run Configurations里面指定一个,即在Target下选中自己定义的AVD,即SDK_1_5_version就可以运行了。
内容概要:本书《Deep Reinforcement Learning with Guaranteed Performance》探讨了基于李雅普诺夫方法的深度强化学习及其在非线性系统最优控制中的应用。书中提出了一种近似最优自适应控制方法,结合泰勒展开、神经网络、估计器设计及滑模控制思想,解决了不同场景下的跟踪控制问题。该方法不仅保证了性能指标的渐近收敛,还确保了跟踪误差的渐近收敛至零。此外,书中还涉及了执行器饱和、冗余解析等问题,并提出了新的冗余解析方法,验证了所提方法的有效性和优越性。 适合人群:研究生及以上学历的研究人员,特别是从事自适应/最优控制、机器人学和动态神经网络领域的学术界和工业界研究人员。 使用场景及目标:①研究非线性系统的最优控制问题,特别是在存在输入约束和系统动力学的情况下;②解决带有参数不确定性的线性和非线性系统的跟踪控制问题;③探索基于李雅普诺夫方法的深度强化学习在非线性系统控制中的应用;④设计和验证针对冗余机械臂的新型冗余解析方法。 其他说明:本书分为七章,每章内容相对独立,便于读者理解。书中不仅提供了理论分析,还通过实际应用(如欠驱动船舶、冗余机械臂)验证了所提方法的有效性。此外,作者鼓励读者通过仿真和实验进一步验证书中提出的理论和技术。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值