not support cpu_64
zhaoboy9692 opened this issue · comments
OSError: [Errno 86] Bad CPU type in executable: '/Users/zx/pbtk/utils/external/jad/jad_osx'
jadx good
Hello,
It seems that Apple has dropped support for executing 32-bits binaries in its OS upgrades published since 2018.
pbtk
relies on the jad
decompiler which works well and is performant, but has not been updated since 2006, and hence doesn't have a x64 binary distribution.
It has very particular handling of Java syntactic features, and using Jadx instead won't work.
I suggest to either:
- Try
pbtk
inside a Linux/Ubuntu virtual machine (or even on a server with the command-line executables present inextractors/
), or - Using a less recent macOS version. You may also try the procedure described here: https://apple.stackexchange.com/questions/363574/how-much-of-32-bit-support-is-dropped-in-macos-catalina
Regards,
I was facing this issue and decided to try using a virtual machine, however now I'm getting missing java binary when trying to import a .apk file. I've installed java but its still happening. Any clue as to how I could fix?
I was facing this issue and decided to try using a virtual machine, however now I'm getting missing java binary when trying to import a .apk file. I've installed java but its still happening. Any clue as to how I could fix?
System re-boot solved it.