nmmp icon indicating copy to clipboard operation
nmmp copied to clipboard

编译失败

Open limaofang opened this issue 2 years ago • 1 comments

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文件,请问是什么问题呀?

limaofang avatar Oct 16 '23 06:10 limaofang

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

maoabc avatar Oct 16 '23 08:10 maoabc