Skip to content
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

Error: could not find jdk tools.jar at /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/../lib/tools.jar, please check if your JDK was installed correctly. Stop. #25

Open
zhjkenneth opened this issue May 15, 2019 · 0 comments

Comments

@zhjkenneth
Copy link

问题描述

在执行make idegen && development/tools/idegen/idegen.sh生成android.ipr文件时报

Error: could not find jdk tools.jar at /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/../lib/tools.jar, please check if your JDK was installed correctly. Stop.

原因

在config.mk中要求的JDK HOME环境变量名称是“ANDROID_JAVA_HOME”

解决办法

再配置个环境变量为ANDROID_JAVA_HOME指向JDK HOME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant