This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.
If you are uploading an application to the Google Play, and it gives the following error:
Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 29
You have to change the target framework and the target android version in your androidmanifest.xml or in the UI editor of the manifest. To change it, set the Target Framework in the properties tab of your android application
Then Navigate to Android Manifest option, and set target android version
If you are re archive your application, it will upload successfully.
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.
The location of the keystores created in Visual Studio (Windows) is:
%appdata%\..\Local\Xamarin\Mono for Android\Keystore
Press CTRL + R (or get the Run window somehow), and enter the path above
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.
When trying to deploy an application to simulator or device, Visual Studio gives the following error:
Cannot find `aapt.exe`. Please install the Android SDK Build-Tools package with the `C:\Program Files (x86)\Android\android-sdk\tools\android.bat` program.
To solve this problem you sould go to Visual Studio’s Tools then Android and select SDK Manager option.
It will give an error dialog, that the SDK tool files are corrupted. Click repair.
The mentioned batch command in the error message is deprecated by the way.
Microsoft Windows [Version 10.0.19042.804]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\banditoth>cd C:\Program Files (x86)\Android\android-sdk\tools\
C:\Program Files (x86)\Android\android-sdk\tools>android.bat
**************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools\bin\sdkmanager.bat
and tools\bin\avdmanager.bat
**************************************************************************
Invalid or unsupported command ""
Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
C:\Program Files (x86)\Android\android-sdk\tools>
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.
Use bprop tab tab to generate commands in ViewModels with this snippet
Save the snippet file as {name}.snippet in Visual Studio’s folder: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC#\Snippets\1033\Visual C#
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.