New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Homebrew openjdk@8 installation failure on M1 Macs #2551
Comments
Yeah sorry no idea. Not sure what special things M1 need. Will accept PRs. |
@Leland it's working on my Mac mini M1 chipjust try download apktool jar file or build project don't using brew install it work for me haha
|
The Homebrew formula depends on However, in my experience installing the latest openjdk ( What I take away from this is that apktool can work fine with openjdk 16, and the homebrew formula could probably be updated to reflect that. |
It appears this is related to the forced lock on openjdk8 as mentioned above. I don't have the knowledge with homebrew to know if you can create various allowed JDKs versions, like a composer package that could work with guzzle5 or 6. So I'll just link the formula https://github.com/Homebrew/homebrew-core/blob/master/Formula/apktool.rb and close this. The issue appears to be a 3rd party formula and I don't have the homebrew knowledge to know proper fix. |
Note that JDK 8 is required for a lot of projects. Substituting a newer JDK may be not an option for many projects. |
Information
apktool -version
) - N/ASteps to Reproduce
brew install apktool
Output:
From what I can tell, this is because the M1 chip needs it's own special version of OpenJDK – might be worth documenting in the installation instructions for now: https://ibotpeaches.github.io/Apktool/install/
The text was updated successfully, but these errors were encountered: