Android的 - 如何模拟器复制给朋友进行测试 [英] Android - How to copy the emulator to a friend for testing

查看:137
本文介绍了Android的 - 如何模拟器复制给朋友进行测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想复制我的整个仿真器安装到另一台计算机的桌面快捷方式,将启动它,这样我的朋友可以测试我的应用程序。有没有人这样做呢?

I'd like to copy my whole emulator install to another computer with a desktop shortcut which will start it so that my friend can test my app. Has anyone done this?

推荐答案

嗯,这不是真的,你需要完整的SDK来运行模拟器。 如果您从Android SDK安装,并从AVD只复制这些文件(即〜/ .android / AVD / my.avd

Well, it's not true that you need the complete SDK to run the emulator. If you copy only these files from the Android SDK installation and from your AVD (i.e ~/.android/avd/my.avd)

.
|-- cache.img
|-- config.ini
|-- emulator
|-- emulator-user.ini
|-- kernel-qemu
|-- ramdisk.img
|-- sdcard.img
|-- system.img
|-- userdata.img
|-- userdata-qemu.img
`-- WVGA800
    |-- arrow_down.png
    |-- arrow_left.png
    |-- arrow_right.png
    |-- arrow_up.png
    |-- background_land.png
    |-- background_port.png
    |-- button.png
    |-- controls.png
    |-- hardware.ini
    |-- keyboard.png
    |-- key.png
    |-- layout
    |-- select.png
    `-- spacebar.png

您将能够启动模拟器为

$ ./emulator -sysdir . -kernel kernel-qemu -ramdisk ramdisk.img -system system.img -skindir . -skin WVGA800 -datadir .

和任何APK安装和配置集将持续存在。 您的朋友只需要运行,你可以把一个脚本命令行。

and any APK installed and configuration set will persist. Your friend would only need to run this command line which you can put in a script.

这篇关于Android的 - 如何模拟器复制给朋友进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆