maoabc/nmmp

Windows10上编译失败

lbwengineer opened this issue · 0 comments

下面是失败信息

PS C:\Users\Administrator\Downloads\nmmp-master\nmm-protect> ./gradlew.bat build

Welcome to Gradle 6.5.1!

Here are the highlights of this release:

  • Experimental file-system watching
  • Improved version ordering
  • New samples

For more details see https://docs.gradle.org/6.5.1/release-notes.html

Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Task :apkprotect:test FAILED

com.nmmedit.apkprotect.aar.asm.AsmUtilsTest > testGenCf FAILED
java.nio.file.NoSuchFileException at AsmUtilsTest.java:42

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

com.nmmedit.dex2c.Dex2cTest > testParseDex FAILED
java.io.FileNotFoundException at Dex2cTest.java:78

11 tests completed, 3 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:///C:/Users/Administrator/Downloads/nmmp-master/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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7s
10 actionable tasks: 4 executed, 6 up-to-date