You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm -v $(pwd)":/root/src" -w /root/src notfl3/cargo-apk cargo quad-apk build --example quad
...
5 warnings
Error in /root/src/target/android-artifacts/debug/examples/quad/build/obj/rust/miniquad/example/quad/MainActivity$1.class:
Type rust.miniquad.example.quad.MainActivity$1 is defined multiple times: /root/src/target/android-artifacts/debug/examples/quad/build/obj/rust/miniquad/example/quad/MainActivity$1.class, /roo
t/src/target/android-artifacts/debug/examples/quad/build/obj/rust/miniquad/example/quad/MainActivity_1.class
Compilation failed
Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /root/src/target/android-artifacts/debug/example
s/quad/build/obj/rust/miniquad/example/quad/MainActivity$1.class
at com.android.tools.r8.utils.w.a(SourceFile:92)
at com.android.tools.r8.D8.main(D8.java:4)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /root/src/target/android-artifacts/debug/examples/quad/build/obj/rust/miniquad/example/quad/
MainActivity$1.class
at Version.fakeStackEntry(Version_3.0.41-dev.java:0)
at com.android.tools.r8.utils.w.a(SourceFile:68)
at com.android.tools.r8.utils.w.a(SourceFile:28)
at com.android.tools.r8.utils.w.a(SourceFile:27)
at com.android.tools.r8.utils.w.b(SourceFile:3)
at com.android.tools.r8.D8.a(D8.java:17)
at com.android.tools.r8.D8.a(D8.java:15)
at com.android.tools.r8.utils.w.a(SourceFile:84)
... 1 more
The example in the readme fails:
Version: Current (31ac0af)
The text was updated successfully, but these errors were encountered: