简体   繁体   English

我可以在没有模拟器的情况下在 PC 上运行 android 应用程序吗?

[英]Can I run an android app on pc without emulator?

Suppose I wanted to build a PC application but instead of that I'd make an Android app which does not access mobile only APIs.假设我想构建一个 PC 应用程序,但我会制作一个 Android 应用程序,它不访问仅移动 API。 Can I run something like that on my PC?我可以在我的电脑上运行类似的东西吗? Do that by like running dalvik vm on a pc and then running the app in that?通过在 pc 上运行 dalvik vm 然后在其中运行应用程序来做到这一点? Is there another way to run an app on PC apart from using an emulator?除了使用模拟器之外,还有其他方法可以在 PC 上运行应用程序吗?

No there is no direct way of doing that. 没有,没有直接的方法可以做到这一点。 The only ways of doing it are by using an emulator like for example the one included in the Android SDK (Android Studio) or Bluestacks. 唯一的方法是使用仿真器,例如Android SDK(Android Studio)或Bluestacks中包含的仿真器。

EDIT: But there is no way to run android apps without an emulator unless you want to write the dalvik vm for every cpu architecture yourself! 编辑:但是没有模拟器就无法运行android应用程序,除非您想自己为每个cpu架构编写dalvik vm!

EDIT2: Quoting @XavierFalempin from the comments section: EDIT2:从评论部分引用@XavierFalempin:

There was also ARC welder on chrome to run some android apps. chrome上还有ARC焊机,可以运行一些android应用程序。 developer.chrome.com/apps/getstarted_arc developer.chrome.com/apps/getstarted_arc

On Linux yes: https://anbox.io/在 Linux 上是: https : //anbox.io/

I checked win,mac support - there is no support and there is not plans for that.我检查了 win,mac 支持 - 没有支持,也没有计划。

But running Ubuntu in VirtualBox is not a problem :)但是在 VirtualBox 中运行 Ubuntu 不是问题:)

In order to run android apps on pc without any emulator you will need to install any Android based OS on your PC which will remove the emulation part and just run the apps directly on the PC and as a result you will get better performance.为了在没有任何模拟器的情况下在 pc 上运行 android 应用程序,您需要在您的 PC 上安装任何基于 Android 的操作系统,这将删除仿真部分并直接在 PC 上运行应用程序,因此您将获得更好的性能。 I would suggest you to try Prime OS as the development for this OS is going pretty well and you can post your query on their forums in order to get your issues resolved asap.我建议您尝试 Prime OS,因为该操作系统的开发进展顺利,您可以在他们的论坛上发布您的查询,以便尽快解决您的问题。 They have 3 separate variants for old, newer and newest chipsets which makes it compatible with most of the systems.他们有 3 个独立的变体,适用于旧的、更新的和最新的芯片组,这使得它与大多数系统兼容。 You can download it from here: https://www.primeos.in/download您可以从这里下载: https://www.primeos.in/download

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM