Android apps running native on macOS (github.com)
191 points by flocked 5 hours ago
qalmakka 9 minutes ago
> Run Android apps natively on Apple Silicon Macs. No emulator, no virtual machine, no Linux underneath.
God damnit Dario fix Claude already so that it stops using this sentence structure once and for all. Opus is so annoyingly recognisable that it has started to irk me badly lately
bilalq 3 hours ago
In practice, the Google Play Services dependencies and other walled-garden initiatives from Google will make this less useful than it could otherwise be. But still, this is really cool.
figmert 2 hours ago
Doohickey-d 3 hours ago
I guess, in practice this can also be likely be made to run google services, the same as they can run on custom ROMs. And it already lists Aurora store as a solution.
So it's definitely something for more tinkerer people, but still quite cool.
als0 3 hours ago
Everything aside from apps with SafetyNet dependencies. Banking apps come to mind.
chaosharmonic 3 hours ago
thesuitonym 38 minutes ago
franga2000 2 hours ago
direwolf20 an hour ago
AtHeartEngineer 23 minutes ago
time to RE play services
monocasa 17 minutes ago
dawnerd 2 hours ago
It's also pretty easy just to spin up bluestacks if you really need android apps on a mac.
kelvinjps10 an hour ago
You can run it with microg
chaosharmonic 3 hours ago
Optimist take: this will matter less over time as more developers start targeting Steam devices
e12e 21 minutes ago
Or matter more, as chromeOS is killed and Android comes to laptop form factor?
gambiting 2 hours ago
...what steam devices? Steam Deck and Machine? I work in video games(at one of the largest publishers - worked at other two in the last few years) - and while we usually do some testing on the steam deck it's literally just to see if the windows version runs well. Full on Linux porting effort like Larian did for BG3 is very very rare and extremely hard to justify.
freedomben 2 hours ago
mgol94 an hour ago
Rohansi 2 hours ago
DaiPlusPlus 2 hours ago
cyanydeez an hour ago
figuring out how to get PWA working would be a much better goal.
direwolf20 an hour ago
Is this your experience or are you repeating something you heard somewhere?
bilalq 24 minutes ago
I'm no expert on the matter, but I've developed and published multiple Android apps to the Play Store. Some of those apps have needed Google Play Services APIs. Google has also been actively making moves to lock down control and offering things like the Play Integrity API that some apps use.
By your phrasing, it sounds like you're implying my understanding is wrong somehow. If so, what am I missing?
paimapi an hour ago
I'm not the commenter but this is my experience in about 10% or so of cases. I've been running a network audit of baby tracking apps and the information they phone home with (results are pretty Orwellian so far) and a few of the apps have been virtually impossible to emulate without an active Google Play account that is verified against Google's servers.
bobsmooth 3 hours ago
Can MicroG be ported?
012973981605 an hour ago
Meanwhile I ignore most of the posts here that are Apple-related, this one was able to draw my attention. Checked the 'how it works' page and was impressed how easily Claude made the 32-to-64 bit ARM translator for you. We need more effort of this kind for the x86 ecosystem, generated or not, but the mobile-app-everything culture becomes really annoying and needs to be fought this way.
rfgplk 11 minutes ago
Claude didn't make this, the author did.
dcreater 29 minutes ago
Doesn't this instead just exacerbate the problem allowing the mobile app for everything dogma to exist more easily?
MBCook 36 minutes ago
Is this significantly useful to anyone?
It’s a neat accomplishment. And it was worth doing for that alone. Absolutely hacker worthy.
But as someone with an Apple Silicon Mac, I can run iOS apps on my computer if the developer has allowed it and I don’t. I’ve never come up with an actual need. It turns out it’s never really a problem for me.
The few things I use a lot on my phone already have desktop equivalents. The long tail stuff tends to be stuffed that I wouldn’t really use from my computer anyway. Like locking my car or using a banking app. One I don’t need, the other is already covered by the website.
So I’m wondering if anyone has found a strong use for this kind of tools.
hex4def6 18 minutes ago
What about that chinese cat feeder whose app requires a suspicious number of permissions, and requires max version of android 2 versions behind the current one?
Or maybe your security camera has a "free" plan without motion detection, and you just keep the app running with a screen grab on top to do your own AI motion detection.
Or my eero router, which doesn't have a web interface... etc etc.
There's a million cheap hardware gadgets that are going to lose sw support at some time, and stop being functional. This will help a lot with that.
bilalq 22 minutes ago
As someone who develops iOS and Android apps, I run production, store-installed variants on my Mac all the time for iOS apps. It's pretty nice and would be cool if I could do the same for Android.
f17428d27584 3 hours ago
Handy for Minecraft players on Mac: windows players may be on Java or on bedrock versions, but mobile and console players are all only on bedrock. Being able to run the Android version on Mac means I can play with local console players or join a bedrock realm.
(There are compatibility workarounds if you run your own server but I don’t want the headache of doing so).
Perhaps one day Mojang will enable Macos users to run the iPad (bedrock) version of Minecraft as well..
nomel 2 hours ago
> Perhaps one day Mojang will enable Macos users to run the iPad (bedrock)
I predict they will, once macOS drops intel support in macOS 28.
forgotpwd16 3 hours ago
Funnily, specifically for Minecraft Bedrock, there's such a project (implementing a limited/specialized compatibility layer) targeting Linux/macOS for few years now.
VCFundedGenYer 2 hours ago
There was a solution on macOS for quite some time (https://github.com/minecraft-linux/macos-builder/) but Apple is killing off the OpenGL frameworks to make it work.
hypfer 3 hours ago
Arguably not a bad use of a claude subscription, provided that it actually works.
Broiler9437 2 hours ago
Cross-platform has never been easier than ever
tantalor 3 hours ago
Reminds me of Google vs. Oracle lawsuit for API fair use.
https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_....
Zigurd 3 hours ago
Google v Oracle comes down to an argument over infringement when copying constants. IANAL but I would've said constants are facts and not protectable.
mkirsten 3 hours ago
Crazy I was the first to star on GitHub. I’m going to give this a try for some tinkering projects.
dmonterocrespo an hour ago
Great project...it would be awesome to be able to run APK on the iPhone
bsimpson 3 hours ago
People take the iOS version of Fortnite and repackage it to run on Mac.
sirjaz 3 hours ago
This is awesome, now this needs to work on Windows
Tarball10 3 hours ago
Windows had something like this (Windows Subsystem for Android) which worked really well until Microsoft went and killed it.
pndy 40 minutes ago
Yeah, Microsoft tried 'both ways' to expand their quite small Windows Phone applications catalogue. And while Project Astoria [1] aimed at bringing Android apps, Project Islandwood was about easing porting of iOS applications [2]. Then MS decided that Windows Phone platform has no future.
[1] - https://www.windowslatest.com/2016/02/26/project-astoria-por...
[2] - https://www.windowslatest.com/2016/02/09/project-islandwood-...
forgotpwd16 3 hours ago
WSA was (or is, since still works unofficially) running Android in VM underneath.
majorchord 3 hours ago
BlueStacks has worked really well for me.
maxloh an hour ago
It is based on VM, so it is a lot slower.
You can't even run Instagram on a low-end laptop.
inknight 2 hours ago
isn't BlueStacks full of chinese ads nowadays?
dawnerd 2 hours ago
majorchord 2 hours ago
tuomas2 3 hours ago
This is very cool! Next IOS.apk? ;)
forgotpwd16 2 hours ago
macOS includes[0] a built-in iOS compatibility subsystem. PlayCover allows utilizing it for running arbitrary iOS apps.
[0]: https://developer.apple.com/documentation/apple-silicon/runn...
wffurr an hour ago
And yet somehow Microsoft / Mojang don't see fit to enable Minecraft Bedrock for iPads on Macs. Pretty frustrating for cross-platform play. It's pretty funny that Bluestacks / Mac.apk work just fine for playing the Android Bedrock version on a Mac when the iOS app is right there.
tamimio 2 hours ago
Slightly off topic, what skill/diagram tool did you use to make the diagrams?
LoganDark 3 hours ago
Couple issues with this right off the bat:
- Seemingly relies on the Java virtual machine for simulation -- no support for native ARM binaries?
- Stores data inside the .app
yincrash 2 hours ago
Looks like it will run native ARM just fine according to the readme?
LoganDark 2 hours ago
I saw a hint of machine code recompilation in the libraries list (like capstone), but couldn't find enough to verify if recompilation means more than just extracting the dalvik stuff and reformatting it to run on a normal JVM
leopoldcongo an hour ago
you didnt read the page did you.
LoganDark 20 minutes ago
I read the page, but didn't clone the repository locally to run an AI agent over it.
iAMkenough 3 hours ago
No app sandboxing? User files and settings stored in the /Applications/ folder, rather than the User’s home folder?
VCFundedGenYer 3 hours ago
Naming it Mac.apk is a poor choice. So it's Mac.apk.app?
Overall this repo has a lot of tells of a low quality LLM generated app. Many issues with data structuring, naming etc.
flocked 5 hours ago
[flagged]
dang 3 hours ago
This looks like a great submission! But I wanted to let you know that some of your recent comments have been killed by our software because they've been classified as genai text, which is not allowed on HN itself (see https://news.ycombinator.com/newsguidelines.html#generated and https://news.ycombinator.com/item?id=47340079).
(Of course it's fine to use AI tools! We use them heavily ourselves. Just please don't use them to generate or edit text to be read by fellow humans on Hacker News itself.)
It's impossible to know for sure what was LLM generated or edited, but we have to rely on imperfect classifiers or else the site would be completely flooded by genai text, which is not what the community here wants to read, nor in the intended spirit of HN.