简体   繁体   English

Bluestacks Android 模拟器是使用 .Net 构建的吗?

[英]The Bluestacks Android emulator is built using .Net?

I recently installed the Bluestacks Android emulator.我最近安装了 Bluestacks Android 模拟器。 I happened to look at the process running under ProcessExplorer and was surprised to see that it is a .NET application.我碰巧查看了在 ProcessExplorer 下运行的进程,惊讶地发现它是一个 .NET 应用程序。

进程浏览器

The HD-Frontend.exe is the Bluestacks UI process and is highlighted yellow because it has loaded the .NET framework. HD-Frontend.exe是 Bluestacks UI 进程,突出显示为黄色,因为它已加载 .NET 框架。 There are a number of other processes associated with Bluestacks and most are also .NET.还有许多与 Bluestacks 相关的其他进程,大多数也是 .NET。

Opening the EXE in Reflector.NET also shows that it is .NET.在 Reflector.NET 中打开 EXE 也显示它是 .NET。

反射器网

I thought Android was Java-based.我以为Android是基于Java的。 What's going on here?这里发生了什么?

Android is Java-based, but that does not mean an Android emulator has to be written in Java -- just functionally emulate Android devices. Android 是基于 Java 的,但这并不意味着 Android 模拟器必须用 Java 编写——只是在功能上模拟 Android 设备。

While BlueStack's site does not list any system requirements for its emulator that I could find, at least a couple sites -- eg Bazooka Apps and Android Emulator for PC -- mention .NET as a requirement.虽然BlueStack 的站点没有列出我能找到的模拟器的任何系统要求,但至少有几个站点——例如Bazooka AppsAndroid Emulator for PC——提到 .NET 作为一项要求。

Ultimately the proof of what's going on is right in the process list and Reflector results you found.最终,正在发生的事情的证据在您找到的过程列表和 Reflector 结果中是正确的。

它是一个仿真工具,其工作是读取 dex 代码对 android 手机应如何响应的响应,而不是编译和运行该 dex,因此它可以在 python 或 ruby​​ 上,也没有任何限制,您必须使 android java上的模拟器,因为android是建立在java上的。

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

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