无法在Android模拟器上安装ARCore [英] Cannot Install ARCore on Android Emulator

查看:321
本文介绍了无法在Android模拟器上安装ARCore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经问过几次了,但是其他用户的解决方案还没有解决我的问题。我正在尝试在Android Studio模拟器上安装ARCore。 Play商店说您的设备与此版本不兼容,当我单击并拖动ARCore for emulator APK手动将其安装在模拟器上时,它显示以下消息: APK无法安装。错误:无法解析错误字符串

I understand this question has been asked a few times, however the solutions for the other users have not resolved my issue. I am attempting to install ARCore on my Android Studio emulator. The Play Store says "Your device isn't compatible with this version," and when I click and drag the ARCore for emulator APK to manually install it on the emulator, it gives me the following message: "The APK failed to install. Error: Could not parse error string"

我正在使用的系统映像:Oreo / API版本27 / ABI x86 / Android 8.1(Google Play)

The System Image I'm using: Oreo/ API Version 27/ABI x86/Android 8.1 (Google Play)

我已将OpenGL ES API级别设置为Render Maximum,其版本显示为OpenGL ES 3.1。

I have set the OpenGL ES API level to Render Maximum, and its version is showing up as OpenGL ES 3.1.

我有尝试了所有我能在这里找到的解决方案,但没有运气。有人有这个问题吗?或者您能提供什么建议吗?

I have tried every solution I could find on here and have had no luck. Has anyone else had this issue or can you offer any suggestions?

推荐答案


如果您的智能手机不支持ARCore或您没有手机,但需要调试AR应用程序– Android模拟器是实现此目的的好方法

If your smartphone doesn't support ARCore or you have no phone but need to debug an AR app – Android emulator is a great way to do it.

请按照以下步骤安装Android虚拟设备(AVD)

  • Make sure Android Debug Bridge (adb) is installed and works properly.
  • Download the latest ARCore_emulator.apk from GitHub.
  • Choose AVD using menu Tools > AVD Manager and run it.
  • Type this command in Terminal while the virtual device is running:

adb install -r ARCore_1.8.0.x86_for_emulator.apk      


  • 重复上一个要在端口5554上使用的其他AVD的步骤。

  • Repeat previous steps for additional AVDs you’d like to use on port 5554.

    如果需要更详细的信息,请阅读此信息

    If you need more detailed information, please read THIS POST.

    这篇关于无法在Android模拟器上安装ARCore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆