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

编译报错 #670

Open
MarkHan1213 opened this issue Mar 29, 2024 · 2 comments
Open

编译报错 #670

MarkHan1213 opened this issue Mar 29, 2024 · 2 comments

Comments

@MarkHan1213
Copy link

下载完毕代码后,在hapjs/mockup/platform/android目录下执行

./gradlew assembleDebug/Release
报如下错误

FAILURE: Build failed with an exception.

  • Where:
    Script '/hapjs/development/gradle-plugin/prebuilts/2.3.0/buildscript.gradle' line: 15

  • What went wrong:
    A problem occurred evaluating script.

java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 14s

@csj5588
Copy link

csj5588 commented Apr 2, 2024

same question

@MarkHan1213
Copy link
Author

第一个问题可以修改为JDK8来解决, 但后续编译又出现了新的报错
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':inspector'.

java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s

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

2 participants