在 macOS 上原生运行的 Android 应用
Android apps running native on macOS

原始链接: https://github.com/kksimp/Mac.apk

Mac.apk 是早期软件,可在 Apple Silicon Mac 上原生运行 Android 应用——无模拟器、虚拟机或 Linux 内核。应用作为普通 macOS 进程启动,以原生速度使用 Mac 的 GPU 和 CPU,并与 macOS 集成(Dock、窗口、浅色/深色)。需要 macOS 26.4+(Tahoe)或更新版本,适用于任何 Apple Silicon Mac;不支持 Intel。安装方式:将 Mac.apk 拖到应用程序文件夹,安装 Runtime,设置文件关联,然后打开 APK。首次启动较慢;后续启动较快。警告:应用数据位于其 .app 内,因此删除它会清除存档——请改用控制面板卸载。基于 AGPL v3 开源,并提供商业许可证;免费使用,无广告或应用内购买。应用以你的 macOS 权限运行——仅安装可信 APK。报告问题时请提供版本、macOS、应用和日志。

Hacker News 讨论了 Mac.apk,一个声称可在 Apple Silicon Mac 上原生运行 Android 应用而无需模拟器或虚拟机的项目。评论者就这一说法展开争论,指出它使用了 Java 运行时/JVM,并可能存在 LLM 生成代码。用户提到 Google Play 服务、SafetyNet/Play Integrity 以及沙盒方面的实际限制,不过 MicroG 和 Aurora Store 可能有所帮助。使用场景包括 Minecraft 基岩版等跨平台游戏以及控制不受支持的硬件应用。提到的替代方案包括 BlueStacks、Windows Subsystem for Android 和用于 iOS 应用的 PlayCover。一些人称赞这个 hack;其他人则质疑数据存储在 .app 文件内、缺乏沙盒以及整体质量。总体而言,它被认为令人印象深刻,但受限于 Google 生态依赖和安全问题。
相关文章

原文

Run Android apps natively on Apple Silicon Macs. No emulator, no virtual machine, no Linux underneath.

Latest release License: AGPL-3.0 Commercial license available Signed and notarized Sponsor

Apps tested: 65 Fully playable: 51 Partly works: 10 Not yet: 4


Alpha. Mac.apk is early software under active development. Some apps run beautifully, some run partially, and some do not run yet. It is stable enough to use and interesting enough to explore, and it improves with every build.

Mac.apk runs Android apps directly on Apple Silicon. Apps launch as ordinary macOS processes, draw through the Mac's GPU, and execute on the CPU at native speed. They appear in your Dock, get their own windows with a back button next to the traffic lights, resize and rotate like any Mac window, and switch between light and dark along with your Mac.

There is no emulator here, and no virtual machine. Nothing boots Android in the background, there is no Linux kernel running underneath, and nothing is interpreted instruction-by-instruction. Mac.apk implements the Android application environment on top of macOS directly. How it works →

How an Android app runs on your Mac: the app code, native code and resources in an APK go through Mac.apk and come out as a real Mac app

macOS 26.4 (Tahoe) or newer Required. macOS 27 works from v1.0.1702
Apple Silicon Any Apple Silicon Mac, including MacBook Neo. Intel Macs are not supported
Disk ~280 MB for Mac.apk. Each installed app takes roughly 1.5 to 3 times its APK size
  1. Download the disk image from the Releases page and drag Mac.apk into Applications. It is signed and notarized by Apple, so it opens normally.
  2. Open Mac.apk and click Install next to Runtime: in the top left.
  3. Open Settings (the gear), find File types, click Make Default, and approve the macOS prompt.
  4. Double-click any .apk (or .apkm, .xapk, .apks, .apkx), or drag it onto the Mac.apk window.

Installing an Android app in four steps: pick an app, confirm, it becomes a Mac app, first launch

The first launch of any app is slow (up to a minute for a large one) while Mac.apk prepares it. Later launches are fast. Full details, updating, and the app stores are in the Installation and App stores pages.

Warning

An Android app's saved data lives inside its own .app. Dragging the app to the Trash deletes its saves; uninstall from the Mac.apk control panel instead. More →

Known issues in v1.0.2237

See Known issues for this release, and the compatibility list for every app tested by hand.

Send the Mac.apk version, your macOS version, the app and where you got it, what happened, and the app's log from ~/Library/Logs/macapk/ to [email protected] or open an issue. Look the log over before posting it publicly. What to include →

Everything that makes Mac.apk work is in this repository: the Android framework reimplementation, the native runtime, the arm64 loader and Bionic shim, the ARM32 recompiler and the macOS app. BUILDING.md explains how to build it, and CONTRIBUTING.md how to send a fix. App reports are just as useful as code.

Developers and publishers

Mac.apk serves no ads and supports no in-app purchases, by design. If you publish an app that runs on Mac.apk and want to talk about a partnership, or would rather it not run here, email [email protected]. Details →

Mac.apk is open source under the GNU AGPL v3.0, and a commercial license is available for companies that want to ship or offer it without the AGPL's terms. Using the official app is free. Details: COMMERCIAL.md. The Mac.apk name and logo are covered separately in TRADEMARKS.md.

Mac.apk is provided "as is", with no warranty of any kind. You are responsible for the Android apps you choose to load, and Voltare cannot test, audit, or vouch for any third-party APK. Voltare is not liable for damages, data loss, malware, security incidents, copyright disputes, or any other consequence of code that runs through Mac.apk.

Only install APKs you trust. An Android app running under Mac.apk runs as ordinary native code with your macOS user account's permissions. There is no phone-style app sandbox around it: it can read and write your files the same way any Mac app you run can. Treat an APK exactly as you would any program you download and run yourself, and get it from a source you trust.

Mac.apk bundles several open-source components (ANGLE, MoltenVK and the Vulkan loader, Capstone, libpng, libvpx, stb_vorbis, Bouncy Castle, a JRE built from OpenJDK together with the libraries its font and image code uses, such as FreeType, HarfBuzz and GLib, and the Android platform resources built from AOSP source). Each is used under its own licence; the full notices are in THIRD_PARTY_NOTICES.txt, and a copy ships inside the app at Contents/Resources/THIRD_PARTY_NOTICES.txt.

Two of them, GLib and GNU gettext's libintl, are licensed under the LGPL. Their complete source for the exact versions in each release (upstream source, patches and build recipe) is attached to that release on the Releases page, with LGPL-SOURCE-README.txt explaining how to use a modified build.

联系我们 contact @ memedata.com