grishka / ApkQuickLook

OS X QuickLook plugin for Android APK files
The Unlicense
22 stars 3 forks source link

Cant seem to work on MacOS Sonoma Beta 14.5 #2

Open shailantani opened 5 months ago

shailantani commented 5 months ago

Hi! A great package. Its so useful. But it doesnt seem to run on the Sonoma update for me. Can you help me out please?

Screenshot 2024-04-10 at 12 19 11 AM

After running the package, only the normal quick look is seen

grishka commented 5 months ago

The problem is that it uses the aapt binary from the SDK, which is 32-bit, which means it won't run on Catalina (10.15) or newer, and definitely won't run on Apple Silicon.

Ideally, it would make sense to get rid of such a dependency altogether and parse apks in my own code, or pull in some parts of the sources of that same aapt. It's complicated because apk format is complicated — you need a sizable part of Android's resource handling (i.e. parsing resources.arsc, resolving configurations and references and attributes and all that) just to reliably extract the app name, for example. Then there's also the complication that the app icon can be any kind of drawable.

I may try it in the future when I'm less busy with my other projects.

shailantani commented 5 months ago

Oh Allright that makes a lot of sense. Thank you so much for the reply. Hope you get enough free time in the future :) Thanks again!