Android apps running native on macOS
Android apps running native on macOS
在 Apple Silicon Mac 上原生运行 Android 应用。无需模拟器,无需虚拟机,底层也没有 Linux。
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 是处于早期开发阶段的软件。有些应用运行效果极佳,有些部分可用,还有些尚无法运行。它目前足够稳定,值得探索,并且每个版本都在不断改进。
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. Android TV apps work from the keyboard, and game launchers can start your other installed apps.
Mac.apk 直接在 Apple Silicon 上运行 Android 应用。应用以普通的 macOS 进程启动,通过 Mac 的 GPU 进行渲染,并以原生速度在 CPU 上执行。它们会出现在你的程序坞(Dock)中,拥有独立的窗口,窗口左上角交通灯按钮旁带有返回键,可以像任何 Mac 窗口一样调整大小和旋转,并能随你的 Mac 系统切换深色或浅色模式。Android TV 应用支持键盘操作,游戏启动器也可以启动你安装的其他应用。
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 →
这里没有模拟器,也没有虚拟机。后台不会启动 Android 系统,底层没有运行 Linux 内核,也没有逐条指令进行解释。Mac.apk 直接在 macOS 之上实现了 Android 应用环境。工作原理 →
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.
任何应用首次启动时都会较慢(大型应用可能长达一分钟),因为 Mac.apk 需要对其进行准备。后续启动则会很快。完整详情、更新说明以及应用商店信息请参阅“安装”和“应用商店”页面。
Each app’s data lives in ~/Library/Application Support/MacApk/
每个应用的数据都存储在 ~/Library/Application Support/MacApk/
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 Kaleb@voltare.us or open an issue. Look the log over before posting it publicly. What to include →
请将 Mac.apk 版本、你的 macOS 版本、应用名称及其来源、发生的问题,以及来自 ~/Library/Logs/macapk/ 的应用日志发送至 Kaleb@voltare.us 或提交 Issue。在公开分享日志前,请先检查其内容。包含内容 →
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.
使 Mac.apk 运行所需的一切都在此仓库中:Android 框架重实现、原生运行时、arm64 加载器和 Bionic 垫片、ARM32 重编译器以及 macOS 应用本身。BUILDING.md 解释了如何构建它,CONTRIBUTING.md 则说明了如何提交修复。应用报告与代码一样有用。
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 Kaleb@voltare.us. Details →
Mac.apk 在设计上不提供任何广告,也不支持应用内购买。如果你发布的应用可以在 Mac.apk 上运行,并希望洽谈合作,或者不希望它在此运行,请发送邮件至 Kaleb@voltare.us。详情 →
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 基于 GNU AGPL v3.0 开源。对于希望在不受 AGPL 条款限制的情况下分发或提供该软件的公司,可获取商业许可。使用官方应用是免费的。详情:COMMERCIAL.md。Mac.apk 的名称和徽标受 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.
Mac.apk 按“原样”提供,不提供任何形式的保证。你需对所加载的 Android 应用负责,Voltare 无法测试、审核或担保任何第三方 APK。对于通过 Mac.apk 运行的代码所导致的损害、数据丢失、恶意软件、安全事件、版权纠纷或任何其他后果,Voltare 概不负责。
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.
仅安装你信任的 APK。在 Mac.apk 下运行的 Android 应用作为普通的原生代码运行,并拥有你 macOS 用户账户的权限。它周围没有手机式的应用沙盒:它可以像你运行的任何 Mac 应用一样读写你的文件。请像对待你下载并运行的任何程序一样对待 APK,并从你信任的来源获取。
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.
Mac.apk 捆绑了多个开源组件(ANGLE、MoltenVK 和 Vulkan 加载器、Capstone、libpng、libvpx、stb_vorbis、Bouncy Castle、基于 OpenJDK 构建的 JRE 及其字体和图像代码所使用的库,如 FreeType、HarfBuzz 和 GLib,以及从 AOSP 源码构建的 Android 平台资源)。每个组件均在其各自的许可下使用;完整声明位于 THIRD_PARTY_NOTICES.txt 中,应用内部的 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.
其中两个组件,GLib 和 GNU gettext 的 libintl,采用 LGPL 许可。每个版本中对应确切版本的完整源代码(上游源码、补丁和构建配方)均附在 Releases 页面的相应版本中,并附有 LGPL-SOURCE-README.txt 说明如何使用修改后的构建版本。
Mac.apk: Run Android apps natively on Apple Silicon Macs
Mac.apk:在 Apple Silicon Mac 上原生运行 Android 应用