【发布时间】:2012-10-14 06:48:14
【问题描述】:
有没有办法在 Windows 上安装 Android Emulator 本身。我需要它来进行测试吗?有什么想法吗?
我不想安装整个 sdk。我只想安装模拟器本身。该模拟器就像是用于测试目的的手机。
【问题讨论】:
标签: android windows android-emulator
有没有办法在 Windows 上安装 Android Emulator 本身。我需要它来进行测试吗?有什么想法吗?
我不想安装整个 sdk。我只想安装模拟器本身。该模拟器就像是用于测试目的的手机。
【问题讨论】:
标签: android windows android-emulator
我认为你只需要在 PC 中使用 Android 来体验一些东西,而不是开发应用程序。
这里是这样做的步骤
用于安装 Android 4.1(16) 模拟器
从https://dl-ssl.google.com/android/repository/tools_r19-linux.zip 下载 SDK Tools Revision 19,它可能支持最高 Android Jelly Bean。
解压。
从http://dl-ssl.google.com/android/repository/android-16_r03.zip下载模拟器
它不包含系统图像、数据等,
从http://dl-ssl.google.com/android/repository/sysimg_armv7a-16_r03.zip下载armv7 system.img
解压到 system-images/android-16/default 文件夹。它应该看起来像 system-images/android-16/default/armeabi-v7a。
- 如果使用 64 位 PC,请安装 ia32-libs。(Ref:- this, this
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libc6:i386
sudo apt install ia32-libs #or sudo apt install lib32z1
-执行工具/android
-Android SDK Manager 窗口将打开
- 在此向导中选择Tools 菜单并选择Manage AVDs...
-Android Virtual Device Manager 窗口将打开
-选择New...
- 命名并选择Android 4.1.2 - API Level 16 作为Target
- 给 sdcard 一个Size。
-创建 AVD
- 在列表中选择 AVD 并点击 Start...
-享受吧!
如果您想添加更多模拟器,如 Android 2.2、1.6 等,请将 platform-images.zip 放在 platform/ 文件夹中,并在现有 sdk(此处为 4.1.2)中添加新模拟器。
更多关于系统图像和其他的链接可以在How do I download the Android SDK without downloading Android Studio?找到
https://developer.android.com/studio/releases/sdk-tools
https://androidsdkoffline.blogspot.com/p/android-sdk-tools.html?m=1
【讨论】:
如果您想单独下载 SDK 组件(为什么有人要做什么,我不知道,但无论如何..)这里是工具、文档、示例和 API 的链接。
http://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip
http://dl-ssl.google.com/android/repository/android-1.1_r1-macosx.zip
http://dl-ssl.google.com/android/repository/android-1.1_r1-linux.zip
http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
http://dl-ssl.google.com/android/repository/android-1.5_r04-macosx.zip
http://dl-ssl.google.com/android/repository/android-1.5_r04-linux.zip
http://dl-ssl.google.com/android/repository/android-1.6_r03-linux.zip
http://dl-ssl.google.com/android/repository/android-1.6_r03-macosx.zip
http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
http://dl-ssl.google.com/android/repository/android-2.0_r01-linux.zip
http://dl-ssl.google.com/android/repository/android-2.0_r01-macosx.zip
http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
http://dl-ssl.google.com/android/repository/android-2.0.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/android-2.0.1_r01-macosx.zip
http://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
http://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip
@ 987654337@
http://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip
http://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip
http://dl-ssl.google.com/android/repository/android-14_r03.zip
http://dl-ssl.google.com/android/repository/android-15_r03.zip
http://dl-ssl.google.com/android/repository/android-16_r03.zip
http://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r02.zip
http://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip
http://dl-ssl.google.com/android/repository/sysimg_armv7a-16_r03.zip
http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-3.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-3.2_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-14_r02.zip
http://dl-ssl.google.com/android/repository/samples-15_r02.zip
http://dl-ssl.google.com/android/repository/samples-16_r01.zip
http://dl-ssl.google.com/android/repository/platform-tools_r14-windows.zip
http://dl-ssl.google.com/android/repository/platform-tools_r14-linux.zip
http://dl-ssl.google.com/android/repository/platform-tools_r14-macosx.zip
@ 987654362@
http://dl-ssl.google.com/android/repository/platform-tools_r15_rc9-linux.zip
http://dl-ssl.google.com/android/repository/platform-tools_r15_rc9-macosx.zip
http://dl-ssl.google.com/android/repository/tools_r20.0.3-windows.zip
http://dl-ssl.google.com/android/repository/tools_r20.0.3-linux.zip
http://dl-ssl.google.com/android/repository/tools_r20.0.3-macosx.zip
http://dl-ssl.google.com/android/repository/tools_r21_rc10-windows.zip
http://dl-ssl.google.com/android/repository/tools_r21_rc10-linux.zip
http://dl-ssl.google.com/android/repository/tools_r21_rc10-macosx.zip
http://dl-ssl.google.com/android/repository/docs-16_r03.zip
http://dl-ssl.google.com/android/repository/sources-14_r01.zip
http://dl-ssl.google.com/android/repository/sources-15_r02.zip
http://dl-ssl.google.com/android/repository/sources-16_r02.zip
Google API:
http://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
http://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-9_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-10_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-11_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-12_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-13_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-14_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-15_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-16_r03.zip
http://dl-ssl.google.com/android/repository/google_tv-12_r02.zip
附加功能
http://dl-ssl.google.com/android/repository/support_r10.zip
http://dl-ssl.google.com/android/repository/market_licensing-r02.zip
http://dl-ssl.google.com/android/repository/market_apk_expansion-r02.zip
http://dl-ssl.google.com/android/repository/google_play_services_1013.zip
http://dl-ssl.google.com/android/repository/usb_driver_r07-windows.zip
http://dl-ssl.google.com/android/repository/market_billing_r02.zip
https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.2.1.zip
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip
http://dl-ssl.google.com/android/repository/webdriver_r02.zip
http://dl-ssl.google.com/android/repository/gcm_r03.zip
【讨论】:
tools/android 并使用tools/mksdcard 制作sdcard 并在askubuntu.com/a/504492/964180 安装32libs(如果x64)来安装它们