Hello,
For specifying the Android SDK version, it is more recommended that you add this property to AndroidManifest.xml
in a native way.
<manifest xmlns:android="
http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34" />
</manifest>
For issues where setting up directly in Visual Studio changes the .NET version, it is more recommended that you report the issue to the Visual Studio team. You could refer to Report a problem with the Visual Studio product or installer.
Best Regards,
Alec Liu.
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.