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
It's not possible to build with these two packages in the same MAUI project.
Steps to Reproduce
All one needs to do is create a new project with the latest version of Xamarin.Firebase.Analytics and Xamarin.Firebase.Perf and you get this error when compiling:
1>MSBUILD : java.exe error JAVA0000: Error in obj\Debug\net9.0-android\lp\294\jl\classes.jar:com/google/protobuf/DescriptorProtos$1.class:
1>MSBUILD : java.exe error JAVA0000: Type com.google.protobuf.DescriptorProtos$1 is defined multiple times: obj\Debug\net9.0-android\lp\294\jl\classes.jar:com/google/protobuf/DescriptorProtos$1.class, obj\Debug\net9.0-android\lp\337\jl\libs\8E428AF64A795598.jar:com/google/protobuf/DescriptorProtos$1.class
1>MSBUILD : java.exe error JAVA0000: Compilation failed
1>MSBUILD : java.exe error JAVA0000: java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj\Debug\net9.0-android\lp\294\jl\classes.jar
1>MSBUILD : java.exe error JAVA0000: com/google/protobuf/DescriptorProtos$1.class
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:131)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.R8.main(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:5)
1>MSBUILD : java.exe error JAVA0000: Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj\Debug\net9.0-android\lp\294\jl\classes.jar:com/google/protobuf/DescriptorProtos$1.class
1>MSBUILD : java.exe error JAVA0000: at Version.fakeStackEntry(Version_8.5.35.java:0)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.T.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:5)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:82)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:32)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:31)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.c(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:1)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.R8.b(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:35)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.R8.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:1548)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:118)
1>MSBUILD : java.exe error JAVA0000: ... 1 more
1>MSBUILD : java.exe error JAVA0000: Caused by: com.android.tools.r8.internal.g: Type com.google.protobuf.DescriptorProtos$1 is defined multiple times: obj\Debug\net9.0-android\lp\294\jl\classes.jar:com/google/protobuf/DescriptorProtos$1.class, obj\Debug\net9.0-android\lp\337\jl\libs\8E428AF64A795598.jar:com/google/protobuf/DescriptorProtos$1.class
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.x50.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:21)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.LY.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:54)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.LY.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:10)
1>MSBUILD : java.exe error JAVA0000: at java.base/java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:2056)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.LY.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:6)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.graph.p4$a.d(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:6)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.dex.c.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:95)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.dex.c.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:44)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.dex.c.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:9)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.R8.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:110)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.R8.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:1547)
1>MSBUILD : java.exe error JAVA0000: at com.android.tools.r8.internal.to.a(R8_8.5.35_9c55004e7c41a17b1ed47c4e1952cb6778b3dac6afb6afc113a2737c3cde13e0:28)
1>MSBUILD : java.exe error JAVA0000: ... 5 more
1>MSBUILD : java.exe error JAVA0000: Directory 'obj\Debug\net9.0-android\lp\294' is from 'protolite-well-known-types.aar'.
1>MSBUILD : java.exe error JAVA0000: Directory 'obj\Debug\net9.0-android\lp\337' is from 'Xamarin.Protobuf.JavaLite.aar'.
Did you find any workaround?
No workaround found.. but there probably is. I can't use dotnet list package transitive though because that's broken (dotnet/sdk#36033)
Relevant log output
The text was updated successfully, but these errors were encountered:
Android framework version
net9.0-android
Affected platform version
Latest libraries/tools
Description
It's not possible to build with these two packages in the same MAUI project.
Steps to Reproduce
All one needs to do is create a new project with the latest version of Xamarin.Firebase.Analytics and Xamarin.Firebase.Perf and you get this error when compiling:
Did you find any workaround?
No workaround found.. but there probably is. I can't use dotnet list package transitive though because that's broken (dotnet/sdk#36033)
Relevant log output
The text was updated successfully, but these errors were encountered: