Hello,
How can I upload the debug symbols? Is it necessary to change something in my Android project in Visual Studio?
You need to enable the R8 and set AndroidLinkMode=r8
to get the mapping.txt
file from Debug symbols upload on Google Play Console for better crash information #5378 , after that you need to create a ZIP file containing the debug symbols .so files and push Zip file and mapping.text file to google play console.
Firstly, please open your .csproj file add following properties.
<PropertyGroup>
....
<AndroidEnableR8>true</AndroidEnableR8>
<AndroidLinkTool>r8</AndroidLinkTool>
<AndroidSupportedAbis>armeabi-v7a;arm64-v8a;x86;x86_64</AndroidSupportedAbis>
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
</PropertyGroup>
Then rebuild and release your application.
You will find the native files (.so) in this path obj\Release\net8.0-android\app_shared_libraries And the
mapping.textin this path
bin\Release\net8.0-android`.
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.