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

编译失败 #94

Open
limaofang opened this issue Oct 16, 2023 · 1 comment
Open

编译失败 #94

limaofang opened this issue Oct 16, 2023 · 1 comment

Comments

@limaofang
Copy link

Task :apkprotect:test FAILED

com.nmmedit.apkprotect.aar.asm.AsmUtilsTest > testInjectStaticBlock FAILED
java.io.FileNotFoundException at AsmUtilsTest.java:30

11 tests completed, 1 failed

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':apkprotect:test'.

There were failing tests. See the report at: file:///Users/limaofang/Desktop/nmmp/nmm-protect/apkprotect/build/reports/tests/test/index.html

  • 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

    编译的时候报这个AsmUtilsTest类找不到,看了一下工程确实没有这个java文件,请问是什么问题呀?

@maoabc
Copy link
Owner

maoabc commented Oct 16, 2023

这是测试代码,某个测试生成文件依赖我本地文件系统。不用注释掉就行,那个路径只是方便我开发时用其他工具查看生成代码。

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