This App Bundle contains Java/Kotlin code

jrahma 111 Reputation points
2021-01-20T19:42:50.793+00:00

Hi,

I am getting this error while uploading my Xamarin Forms' android app to the Google Play Console.

This App Bundle contains Java/Kotlin code, which might be obfuscated. We recommend you upload a deobfuscation file to make your crashes and ANRs easier to analyze and debug

How can I fix it please?

Thanks,
Jassim

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,299 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Montemagno 351 Reputation points Microsoft Employee
    2021-01-20T23:14:24.7+00:00

    It looks like maybe you are uploading the debug package and not a release build that has the linker turned on to "link sdk assemblies". See: https://learn.microsoft.com/en-us/xamarin/android/deploy-test/release-prep/?tabs=windows and I even have a video: https://www.youtube.com/watch?v=7kVeC1_14Ag

    1 person found this answer helpful.
    0 comments No comments