Skip to content
GitHub·

🎮Klepton Runs Android VR APKs on Apple Vision Pro

Android VR apps now run natively on Apple's headset

TL;DR

Klepton translates Android ARM64 VR APKs to run natively on Apple's Vision Pro, bypassing JIT requirements. Ideal for Java-thin applications but not all scripting runtimes.

Klepton can now run Android VR apps directly on the Apple Vision Pro without needing Just-In-Time (JIT) compilation. This is a big win for developers looking to port their existing Android VR content to Apple's headset ecosystem. The architecture of Klepton-ld translates Android .so libraries into loadable Apple .dylib and .framework libraries, enabling seamless execution on macOS. However, this solution currently works best with Java-thin applications like Beat Saber, excluding those that rely heavily on scripting runtimes such as LuaJIT or V8.

Klepton Runs Android VR APKs on Apple Vision Pro — GitHub

Key Points

1

Klepton translates Android .so libraries into loadable Apple .dylib and .framework libraries, enabling seamless execution on macOS.

2

Graphics translation uses MoltenVK (Vulkan → Metal) and ANGLE (GLES 3.0), supporting GLES 3.2 with a Metal backend.

3

Beat Saber runs natively on Vision Pro with minor graphical issues, while Steam VR Link and build tooling are still in development.

4

Klepton patches all usage of x18 to use per-library TLS slots instead, addressing compatibility issues between Android and macOS.

5

The build process involves installing host dependencies, building APKs, and running regression tests to ensure stability.

Why It Matters

If you're developing VR applications for the Android ecosystem, Klepton's ability to run these natively on Apple's Vision Pro without JIT is a game-changer. This means developers can port their existing Java-thin apps with minimal changes, leveraging the growing user base of Apple's headset. However, apps relying heavily on scripting runtimes like LuaJIT or V8 will still face challenges.

KleptonVision ProAndroid VRApple AR/VR

Frequently Asked Questions

Why does this matter?

If you're developing VR applications for the Android ecosystem, Klepton's ability to run these natively on Apple's Vision Pro without JIT is a game-changer. This means developers can port their existing Java-thin apps with minimal changes, leveraging the growing user base of Apple's headset. However, apps relying heavily on scripting runtimes like LuaJIT or V8 will still face challenges.

What happened?

Klepton translates Android ARM64 VR APKs to run natively on Apple's Vision Pro, bypassing JIT requirements. Ideal for Java-thin applications but not all scripting runtimes.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 2,763 builders reading daily.

Also get