是否有可以下载 android 虚拟设备的存储库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2726558/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 07:05:44  来源:igfitidea点击:

Is there a repo where you can download android virtual devices?

androidavd

提问by thepearson

Does anyone know, if vendors provide or if there is a site where one could download AVD profiles for existing android devices on the market so you can run your apps in the emulator and basically see how they will run on said devices?

有谁知道,如果供应商提供,或者是否有一个网站可以下载市场上现有 android 设备的 AVD 配置文件,以便您可以在模拟器中运行您的应用程序,并基本上了解它们将如何在所述设备上运行?

I know it's pretty easy to create a new device but it'd be great if one could just download the config file for each device and run it.

我知道创建新设备非常容易,但如果可以为每个设备下载配置文件并运行它,那就太好了。

回答by Booger

I just created a repo to store sample AVD images. Basically you can clone this Git repo into your local .android folder, to get these basic emulator images pre-configured.

我刚刚创建了一个 repo 来存储示例 AVD 图像。基本上,您可以将此 Git 存储库克隆到您的本地 .android 文件夹中,以预先配置这些基本的模拟器图像。

https://github.com/mwolfson/AndroidAVDRepo

https://github.com/mwolfson/AndroidAVDRepo

I plan to add more emulator images, but have a fairly representative set of devices emulated now. Pull requests are welcome.

我计划添加更多模拟器图像,但现在模拟了一组相当具有代表性的设备。欢迎拉取请求。

回答by thepearson

I found thispage which helped a lot.

我发现这个页面有很大帮助。

回答by Luis LL

I found this page which looks quite comprenhensive from Samsung devices: http://developer.samsung.com/android/technical-docs/Using-Samsung-Emulators-for-Android-Application-Development

我发现这个页面在三星设备上看起来很全面:http: //developer.samsung.com/android/technical-docs/Using-Samsung-Emulators-for-Android-Application-Development

I agree with Brennan that Google should make the it compulsory for each device.

我同意 Brennan 的观点,即谷歌应该强制要求每台设备。

It seems that they should work for Android Studio as well see How to reuse the existing AVDs for android-studio

似乎它们也应该适用于 Android Studio,请参阅如何为 android-studio 重用现有的 AVD