google / google/smali

Can't build in WSL Debian

Open
#38 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
400
Forks
67
Avg merge
1d 2h
Merged PRs (30d)
1

Description

```
> 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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.