Java 无法在android emulator中安装apk。应用程序包含ARM本机代码

Java 无法在android emulator中安装apk。应用程序包含ARM本机代码,java,android,Java,Android,我下载了一个apk,并试图通过拖动到GenyMoon仿真器来安装它。我犯了这个错误 An error occured while deploying the file. This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. 您需要在模拟设备上安装ARM translation: 下载设备Android的右臂翻译档案 版本

我下载了一个apk,并试图通过拖动到GenyMoon仿真器来安装它。我犯了这个错误

An error occured while deploying the file.
This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions.

您需要在模拟设备上安装ARM translation:

  • 下载设备Android的右臂翻译档案 版本对于Android 8,我使用了ARM_Translation_Oreo.zip。()

  • 将.zip文件拖放到设备的解锁屏幕上,然后单击 当要求确认时,打开OK

现在你应该能够安装任何应用程序,即使它有ARM代码。
祝你好运

在这里下载zip文件,将文件拖到genymotion中并运行这些命令。

  • 在此处下载Genymotion ARM翻译
  • 将zip存档拖放到emuletor的

  • 此外,您还必须安装play store应用程序才能识别您的apk。
      adb shell
      cd /sdcard/Download/
      sh /system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation.zip
      adb reboot