We're developing a Client-server system for Android apps, in which the server should be a Linux machine.
我们正在为Android应用开发客户端 - 服务器系统,其中服务器应该是Linux机器。
Of course we're using VMs, but that's only as good as a real mobile device. Since we're looking at improving speed, we'd like to run those apps on a Linux machine.
当然我们正在使用虚拟机,但这只是真正的移动设备。由于我们正在寻求提高速度,我们希望在Linux机器上运行这些应用程序。
Can any member give a broad idea on how to run Android apps on a Linux platform ?
任何成员都可以就如何在Linux平台上运行Android应用程序提供广泛的想法吗?
1 个解决方案
#1
1
You need to use dex2jar
to convert an APK file to a JAR and then you need IcedRobot
to run the Android stack above OpenJDK
. Maybe I will try to emulate AndroidGL
with JOGL 2.0
(it supports both OpenGL
and OpenGL-ES
). Keep in mind that it is not trivial.
您需要使用dex2jar将APK文件转换为JAR,然后您需要IcedRobot在OpenJDK上运行Android堆栈。也许我会尝试使用JOGL 2.0模拟AndroidGL(它支持OpenGL和OpenGL-ES)。请记住,这不是微不足道的。
The emulator of Android SDK
is quite slow but you just have to enter adb install my_file.apk to install your application.
Android SDK的模拟器速度很慢,但您只需输入adb install my_file.apk即可安装您的应用程序。
You can run android-x86 in VirtualBox
您可以在VirtualBox中运行android-x86
#1
1
You need to use dex2jar
to convert an APK file to a JAR and then you need IcedRobot
to run the Android stack above OpenJDK
. Maybe I will try to emulate AndroidGL
with JOGL 2.0
(it supports both OpenGL
and OpenGL-ES
). Keep in mind that it is not trivial.
您需要使用dex2jar将APK文件转换为JAR,然后您需要IcedRobot在OpenJDK上运行Android堆栈。也许我会尝试使用JOGL 2.0模拟AndroidGL(它支持OpenGL和OpenGL-ES)。请记住,这不是微不足道的。
The emulator of Android SDK
is quite slow but you just have to enter adb install my_file.apk to install your application.
Android SDK的模拟器速度很慢,但您只需输入adb install my_file.apk即可安装您的应用程序。
You can run android-x86 in VirtualBox
您可以在VirtualBox中运行android-x86