This App Bundle contains native code

jrahma 111 Reputation points
2021-01-20T19:44:11.02+00:00

Hi,

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

This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol 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,296 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. James Montemagno 351 Reputation points Microsoft Employee
    2021-01-20T23:14:06.573+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

    The team is looking into it though to see if there is anything they can do. One of the warnings will go away in 16.9 -> https://github.com/xamarin/xamarin-android/pull/5304

    The other around crashes is a warning because if google has those files it will give you better method names/line numbers, but in general this warning can be ignored.

    2 people found this answer helpful.
    0 comments No comments

  2. jrahma 111 Reputation points
    2021-01-25T12:04:54.867+00:00

    I have the same settings as per your video but still getting the same errors.

    Here is the error:

    60273-image.png

    and this is the setting:

    60234-image.png

    60254-image.png

    0 comments No comments

  3. jrahma 111 Reputation points
    2021-01-25T12:05:50.613+00:00

    60282-image.png


  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more