AndroidX icon indicating copy to clipboard operation
AndroidX copied to clipboard

Weekly stable updates 20240503

Open moljac opened this issue 1 year ago • 4 comments

Support Libraries Version (eg: 23.3.0):

Does this change any of the generated binding API's?

Describe your contribution

moljac avatar May 13 '24 05:05 moljac

Local and CI build error (MacOS ARM and x86):

/Users/runner/hostedtoolcache/dotnet/sdk/7.0.408/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Xamarin.Google.Guava [33.2.0-android, )" or update the version field in the nuspec. [/Users/runner/work/1/s/generated/androidx.wear.watchface.watchface-guava/androidx.wear.watchface.watchface-guava.csproj]
/Users/runner/hostedtoolcache/dotnet/sdk/7.0.408/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Xamarin.Google.Guava [33.2.0-android, )" or update the version field in the nuspec. [/Users/runner/work/1/s/generated/org.jetbrains.kotlinx.kotlinx-coroutines-guava/org.jetbrains.kotlinx.kotlinx-coroutines-guava.csproj]

moljac avatar May 13 '24 10:05 moljac

with emoji2 new packages

local build samples error (MacOSX):

MSBUILD : java error JAVA0000: Error in obj/Debug/net7.0-android/lp/441/jl/classes.jar:androidx/core/animation/AnimationHandler$FrameCallbackProvider16.class: [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Compilation failed with an internal error. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj/Debug/net7.0-android/lp/441/jl/classes.jar [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: androidx/core/animation/AnimationHandler$FrameCallbackProvider16.class [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:98) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.D8.main(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:4) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj/Debug/net7.0-android/lp/441/jl/classes.jar:androidx/core/animation/AnimationHandler$FrameCallbackProvider16.class [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at Version.fakeStackEntry(Version_3.3.75.java:0) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:75) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:28) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:27) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:22) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:17) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:85) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	... 1 more [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Caused by: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.a1.<init>(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:5) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.s0.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:837) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.t2.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:9) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Pa.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:873) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.u2.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:42) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:101) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:102) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:100) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.u2.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.dex.a.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:26) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1448) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.android.tools.r8.internal.Hj [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000:  java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:112) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:28) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:25) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.d(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:606) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.c(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:1) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:24) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:22) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:17) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:85) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.main(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:4) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	Caused by: java.util.concurrent.ExecutionException: com.android.tools.r8.internal.Hj: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1006) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.utils.C.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:56) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:93) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		... 10 more [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	Caused by: com.android.tools.r8.internal.Hj: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Hj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:6) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:104) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:100) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.graph.u2.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.a.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:26) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1448) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	Caused by: [CIRCULAR REFERENCE: java.lang.NullPointerException] [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Directory 'obj/Debug/net7.0-android/lp/441' is from 'androidx.core.core-animation.aar'. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
    89 Warning(s)
    1 Error(s)

BuildAllDotNet.csproj.log.zip

msbuild.binlog.zip

moljac avatar May 13 '24 10:05 moljac

without emoji2 new packages

local build samples error (MacOSX):

MSBUILD : java error JAVA0000: Error in obj/Debug/net7.0-android/lp/300/jl/classes.jar:androidx/vectordrawable/graphics/drawable/Animatable2Compat$AnimationCallback$1.class: [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Compilation failed with an internal error. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj/Debug/net7.0-android/lp/300/jl/classes.jar [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: androidx/vectordrawable/graphics/drawable/Animatable2Compat$AnimationCallback$1.class [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:98) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.D8.main(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:4) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj/Debug/net7.0-android/lp/300/jl/classes.jar:androidx/vectordrawable/graphics/drawable/Animatable2Compat$AnimationCallback$1.class [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at Version.fakeStackEntry(Version_3.3.75.java:0) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:75) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:28) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:27) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:22) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:17) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:85) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	... 1 more [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Caused by: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.a1.<init>(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:5) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.s0.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:837) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.t2.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:9) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Pa.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:873) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.u2.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:42) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:101) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:102) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:100) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.graph.u2.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at com.android.tools.r8.dex.a.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:26) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1448) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.android.tools.r8.internal.Hj [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000:  java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:112) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:28) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:25) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.d(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:606) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.c(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:1) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:24) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:22) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:17) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:85) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.D8.main(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:4) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	Caused by: java.util.concurrent.ExecutionException: com.android.tools.r8.internal.Hj: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1006) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.utils.C.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:56) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.b.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:93) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		... 10 more [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	Caused by: com.android.tools.r8.internal.Hj: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Hj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:6) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:104) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.internal.Fj.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:100) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.graph.u2.b(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:2) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at com.android.tools.r8.dex.a.a(R8_3.3.75_b7a6ff6b13548611571508fe72282c9167faa649161ca0013edfc92e19bd7e58:26) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1448) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 		at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: 	Caused by: [CIRCULAR REFERENCE: java.lang.NullPointerException] [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
MSBUILD : java error JAVA0000: Directory 'obj/Debug/net7.0-android/lp/300' is from 'androidx.vectordrawable.vectordrawable-animated.aar'. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android]
    83 Warning(s)
    1 Error(s)

moljac avatar May 14 '24 11:05 moljac

Possibly related:

https://stackoverflow.com/questions/60797423/android-studio-r8-nullpointerexception

https://issuetracker.google.com/issues/151969439

https://stackoverflow.com/a/48979662/83444

moljac avatar May 14 '24 17:05 moljac

Artifacts that caused issues:

      {
        "groupId": "androidx.core",
        "artifactId": "core-animation",
        "version": "1.0.0-alpha02",
        "nugetVersion": "1.0.0.22-alpha02",
        "nugetId": "Xamarin.AndroidX.Core.Animation",
        "dependencyOnly": false
      },


      {
        "groupId": "androidx.vectordrawable",
        "artifactId": "vectordrawable",
        "version": "1.1.0",
        "nugetVersion": "1.1.0.24",
        "nugetId": "Xamarin.AndroidX.VectorDrawable",
        "dependencyOnly": false
      },

moljac avatar May 21 '24 20:05 moljac

I am very concerned about this r8 change. If these packages cannot be consumed in an application without our users having to manually download a new version of r8 and update their project to use it, we probably shouldn't be shipping these packages.

What are our other options here? If we wait until these packages are net8.0-android only, does that include a newer r8 that works?

jpobst avatar May 31 '24 14:05 jpobst

I am very concerned about this r8 change. If these packages cannot be consumed in an application without our users having to manually download a new version of r8 and update their project to use it, we probably shouldn't be shipping these packages.

It depends how fast we can update older workloads/sdks...

For me it is juggling with tasks while I should help on MAUI.

What are our other options here? If we wait until these packages are net8.0-android only, does that include a newer r8 that works?

Seems so. @jonpryor dug that out.

moljac avatar May 31 '24 15:05 moljac

I think we should roll back the broken package(s) and release the working ones. We can update the broken ones once we migrate to net8.0-android.

jpobst avatar Jun 03 '24 13:06 jpobst

Given that .NET 7.0 is no longer supported (support ended 2024-May-14), I agree with @jpobst's suggestion that we only update these packages when we migrate to net8.0-android.

jonpryor avatar Jun 03 '24 14:06 jonpryor