亚马逊 Kindle 的模拟器

15

我的应用程序在新的亚马逊Kindle Fire上能很好地运行,但最好在它们大量涌入市场之前测试并消除任何问题! 是否有Kindle Fire模拟器可用?


是的,它现在可用了。 https://developer.amazon.com/sdk/fire/emulator-guide.html - Padma Kumar
@MikaëlMayer 我希望这可以帮到你 https://dev59.com/m3_aa4cB1Zd3GeqP8tlb#24285802 - Vlad Yarovyi
6个回答

18

引用文档说明

可以配置标准的Android模拟器来模拟Kindle Fire设备平台。 您应该使用以下特征配置模拟器:

  • 宽度:600px
  • 高度:1024px(请注意,设备将保留20px的高度来显示软键菜单,在全屏模式下的高度为1004px)
  • 抽象LCD密度:169
  • 目标:Android 2.3.4 - API Level 10
  • RAM:512 MB

Note: - "Soft key menu" 硬件指纹识别的虚拟按键菜单, 若不需要可选择隐藏 - "Abstracted LCD Density" 是相对于实际的物理像素密度,类似于缩放比例来调整界面大小

我尝试了这个,现在我有一个模拟器,它没有返回、主页和菜单按钮(甚至屏幕上也没有)。我会回到2.1,因为它有外部按钮。 - user462990
3
您可以使用开发机的键盘来模拟 Android 模拟器的按键。 HOME 键对应您键盘上的 Home 键,BACK 键对应 Esc 键,而 MENU 键则被映射到 F2 和 PgUp 两个键上。更多细节请参考 http://developer.android.com/guide/developing/tools/emulator.html 。 - CommonsWare
@CommonsWare: 我认为在 Kindle Fire 的构建中实际上有一些 API 被省略了?如果是这样的话,除非你能找出那些缺失的 API,否则就没有真正的方法来模拟它了。是的,你可以模拟设备的内存和边界,但仅限于此。 - While-E
有一个特定的Kindle Fire模拟器,带有API 10(我认为是2.3.3)。 - jsherk

5

3
死线索(2014年4月)如果模拟器存在,它被很好地隐藏在他们的文档中。所有引用都指向sdk的一般安装,“有关为您的Kindle Fire开发应用程序的信息,请参阅Kindle Fire。” - user462990

4

据早在2014年初的某个时候,似乎已经停止了对Kindle Fire模拟器的支持。您仍然可以在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平板电脑上安装应用并启动。”

https://developer.amazon.com/appsandservices/support/submitting-your-app/tech-docs/03-pre-submission-assessment-guide

他们并没有明确说“我们有一个模拟器,但它没有成功”,但由于我们被留给自己去得出结论,这可能是一个很好的总结。
为了新的Fire手机,亚马逊提供了一个测试服务,使用一个实际的共享Fire手机上传你的APK。测试程序会按一些按钮,对网格等进行一些随机操作,输入一些随机键盘,然后几分钟到几小时后,您将在开发人员帐户上收到结果链接(包括执行的操作及其相对时间,以及结果屏幕截图和logcat)。它有效,但绝不是全面的测试。

https://developer.amazon.com/public/resources/development-tools/app-testing-service

我刚刚购买了一台Kindle Fire HD 2013用于测试,价格很低,是二手的,屏幕角落有一个小裂缝,但其他方面都正常。毕竟拥有真实设备总比模拟器更好。我可能会再加上一些尽可能接近其他Kindle Fire设备的常规AVD。

1
亚马逊的技术人员告诉我,有一个“内部”的SD卡。我只需写入常规的SD卡文件路径即可。

0

看起来 Carl 是对的,亚马逊放弃了模拟器的支持 - 大约6个月前我还能在模拟器上测试,但现在它们消失了。不过description link(截至我撰写本文时)仍然存在 - 它描述了我在可用时使用的安装模拟器的确切步骤:

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.

在第五步之后,也有其他选项(这也在此处中描述),位于Extras下面,现在已经消失了:
Extras:
Amazon AVD Launcher
Kindle Fire Device Definitions
Kindle Fire USB Driver

希望他们能把它们归还。


现在没有获取Kindle模拟器的方法吗? - Archie.bpgc

0

Fire 似乎没有SD卡。它如何处理使用SD卡的应用程序?它们会将SD卡I/O转移到“云”吗?


我的理解是,如果您的应用程序需要,只需写入内部存储器而不是SD卡即可。 - dweebo
它有一个SD卡,但它是不可拆卸的。 - Blundell

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接