Hi, I'm trying to generate apk with Xamarin.Android.X, but I'm getting a lot of errors. The project is deploying on the phone, but does not create apk.
Xamrin.forms - version: 4.8.0.1687
Xamarin.AndroidX.Migration - version: 1.0.8
Hi, I'm trying to generate apk with Xamarin.Android.X, but I'm getting a lot of errors. The project is deploying on the phone, but does not create apk.
Xamrin.forms - version: 4.8.0.1687
Xamarin.AndroidX.Migration - version: 1.0.8
If your using any google packages , then don't use r8 while creating apk. r8 not handling google libraries at all. It's skipping all imp classes while linking.
Thanks for the answer.
How can I solve this problem?
Do you have any logs of what the errors are? If you are having build issues it could be with your linker settings, would just change it to "SDK Assemblies" and not ALL
Thanks for the answer.
now I can generate apk, but it doesn't install.
My configurations:
May I recommend the default settings. Turn off LLVM Optimizating and only use startup tracing. Also use "SDK assemblies Only"
After this what error are you getting if you do get any.
4 people are following this question.
Can we add print option explicitly in share sheet in Android and iOS in Xamarin?
Visual Studio 2019 ver 16.8.1: Xamarin - Error starting Android Emulator
Setting TargetPlatformMinVersion
best practice connecting directly to sqlserver
How to create folder in Android 10 and above programmatically? its giving access denied exception