0

I've recently installed Android Studio Meerkat | 2024.3.1 Canary 7 (for macOS Sequoia), then downloaded and configured a Virtual XR Device for emulation process. The XR Emulator works fine, as expected. Google has posted a Kotlin sample project called Hello Android XR on the GitHub. When running the project on the XR Emulator, the following error occurs:

Error loading build artifacts from: /Users/swift/Desktop/
android-xr/app/build/intermediates/apk_ide_redirect_file/debug/
createDebugApkListingFileRedirect/redirect.txt

Question – How to fix this error?

enter image description here

1
  • 2
    I came across your medium post (medium.com/@arkit/…), so I'm guessing you solved this. Did you figure out what the problem was? Commented Jan 3 at 22:11

1 Answer 1

1

AGP dependency

This XR app requires you to download Android Gradle Plugin 8.9.0-alpha07. When you use Gradle 8.7.3, it will result in the above issue. If you update the AGP dependency to, at least, version 8.9.0, the Hello Android XR app will start without errors.

enter image description here


enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.