This App Bundle contains Java/Kotlin code

jrahma 116 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

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Montemagno 351 Reputation points Microsoft Employee Moderator
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.