我的应用程序可以在新的 Amazon Kindle Fire 上很好地运行,但最好在它们涌入市场之前对其进行测试并消除任何扭结!有没有kindle fire的模拟器可用
6 回答
引用文档:
可以配置一个标准的 Android 模拟器来模拟 Kindle Fire 设备平台。您应该使用以下特征配置您的模拟器:
- 宽度:600 像素
- 高度:1024px(注意设备会预留20px的高度来显示软键菜单,全屏时会产生1004px的高度
- 抽象 LCD 密度:169
- 目标:Android 2.3.4 - API 级别 10
- 内存:512 MB
亚马逊提供 Kindle Fire 模拟器。您需要在 Android SDK Manager 中安装 Kindle Fire 插件。此处详细说明:https ://developer.amazon.com/sdk/fire/emulator-guide.html
对 Kindle Fire 模拟器的支持似乎在 2014 年初的某个时候已经停止。你仍然可以在 Wayback Machine 上找到描述它的页面,但现在它已经从亚马逊开发者页面中消失了:
https://web.archive.org/web/20130919204543/https://developer.amazon.com/sdk/fire/emulator-guide.html
在此论坛页面上:
https://forums.developer.amazon.com/forums/thread.jspa?threadID=479
一位亚马逊开发人员代表最后表示:“我们已停止支持模拟器。对于给您带来的不便,我们深表歉意。”
亚马逊开发者网站的“提交前评估”页面说要使用实际的 Kindle Fire 设备进行测试:
“要完成这组测试,请在 Kindle Fire 平板电脑上安装应用程序并启动。”
他们实际上并没有说“我们有一个模拟器,但它没有成功”,但由于我们只能得出自己的结论,这可能是一个很好的总结。
亚马逊为其新的 Fire 手机提供了一项测试服务,该服务使用您的 APK 上传到的实际分时 Fire 手机。测试例程将按下一些按钮并对网格等进行一些随机戳,以及一些随机键盘输入,然后几分钟到几小时后,您将获得结果的链接(包括执行的操作及其相对时间)发生,以及由此产生的屏幕截图,加上一个 logcat)在您的开发者帐户上。它有效,但绝不是一个全面的测试。
https://developer.amazon.com/public/resources/development-tools/app-testing-service
就我而言,我刚刚购买了一台 Kindle Fire HD 2013,仅用于测试,使用过,显示器的角落有一个小裂缝,但其他工作正常,价格非常低。无论如何,拥有一个真实的设备总是比一个模拟器更好。
我可能会用一些尽可能接近其他各种 Kindle Fire 设备的常规 AVD 来补充这一点。
亚马逊的技术人员告诉我有一个“内部”SD 卡。我只是写入正常的 SD CARD 文件路径。
Fire 似乎没有 SDCARD。它如何处理使用 SDCARD 的应用程序。他们是否可能将 SDCARD I/O 转移到“云”?
看起来卡尔是对的,亚马逊放弃了对模拟器的支持——大约 6 个月前我能够在模拟器上进行测试,但现在它们已经消失了。但是描述链接仍然存在(我写这篇文章的时间) - 它描述了我在模拟器可用时用来安装模拟器的确切步骤:
Installing Kindle Fire Device Dependencies
Take the following steps to install the software packages for Kindle Fire.
1. In Eclipse, on the Window menu, click Android SDK Manager. - or - On the command line, run the following command, where <ANDROID_SDK> is the path to your Android SDK:
$ <ANDROID_SDK>/tools/android
2. In the Android SDK Manager window, verify that SDK Path points to the path for your Android SDK. To modify the path, in Eclipse, on the Window menu, click Preferences, click Android, and then update the SDK Location. Note: In Mac OS X, these menu items are on the ADT menu instead of the Window menu.
3. In the Android SDK Manager window, on the Tools menu, click Manage Add-on Sites. Click the User Defined Sites tab, and then click New. Note: In Mac OS X, when the Android SDK Manager window is open, the Tools menu appears in the parent Eclipse window instead of the Android SDK Manager window.
4. In the Add Add-on Site URL dialog box, enter the following URL:
http://kindle-sdk.s3.amazonaws.com/addon.xml
5. Click OK, and then click Close.
Wait for the Android SDK Manager to refresh, as indicated by the progress bar.
6. In the Android SDK Manager window, select the latest revision of each of the following packages.
Tools:
Android SDK Tools (install the latest version)
Android SDK Platform-tools (install the latest version)
Android API versions later than 4.2.2 API 17:
Note: You can install and target SDK platform versions later than Android 4.2.2. However, regardless of the target SDK version you choose for your app, you need to verify that your app runs correctly on the Kindle Fire tablets.
Android 4.2.2 API 17:
SDK Platform
Android 4.0.3 API 15:
SDK Platform
Android 2.3.3 API 10:
SDK Platform
Extras:
Kindle Fire USB Driver (not applicable for OS X)
Android Support Library
7. Click Install n packages.
8. In the Choose Packages to Install dialog box, accept the license agreements for the packages, and then click Install.
9. Wait for the packages to install, and then close the Android SDK Manager window after installation is complete.
10. Restart Eclipse.
在第 5 步之后, Extras下还有其他选项(此处也有描述),这些选项 现已消失:
Extras:
Amazon AVD Launcher
Kindle Fire Device Definitions
Kindle Fire USB Driver
希望他们能把它们还回来。