google / smali

Other
174 stars 29 forks source link

Can't build in WSL Debian #38

Open privacyguy123 opened 3 months ago

privacyguy123 commented 3 months ago
> Task :dexlib2:test

com.android.tools.smali.dexlib2.DexEntryFinderTest > testNormalStuff FAILED
    java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58
        Caused by: java.lang.reflect.InaccessibleObjectException at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.DexEntryFinderTest > testSimilarEntries FAILED
    java.lang.NoClassDefFoundError at DexEntryFinderTest.java:110
        Caused by: java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.DexEntryFinderTest > testMatchingSuffix FAILED
    java.lang.NoClassDefFoundError at DexEntryFinderTest.java:131
        Caused by: java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.DexEntryFinderTest > testNonDexEntries FAILED
    java.lang.NoClassDefFoundError at DexEntryFinderTest.java:150
        Caused by: java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetFieldReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:81
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetShortFieldReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:89
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:137
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetMethodProtoReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:73
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetShortMethodReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:65
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetEncodedValue FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:129
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetCallSite FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:105
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetMethodReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:57
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetMethodHandle FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:97
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

190 tests completed, 13 failed

> Task :dexlib2:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dexlib2:test'.
> There were failing tests. See the report at: file:///home/laptop/smali/dexlib2/build/reports/tests/test/index.html

* Try:
> Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 3s
41 actionable tasks: 1 executed, 40 up-to-date
Yoanf26 commented 1 month ago

No problem on WSL Ubuntu