Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning XA4211 in xamarin

Warning XA4211: AndroidManifest.xml //uses-sdk/@android:targetSdkVersion '15' is less than $(TargetFrameworkVersion) 'v6.0'. Using API-23 for ACW compilation. (XA4211)

I am trying change SDK version but cant change.

like image 712
Praveen Gopal Avatar asked Jan 27 '16 15:01

Praveen Gopal


2 Answers

The warning is pretty much self explanatory - you're trying to target an Android version that is lower than that of your target framework, which, naturally, is not recommended.

If you're going to change your Target Android Version (found in Android Application settings), make sure your Target Framework (found in General settings) is not higher, or you will run into compatibility issues.

like image 142
EvilBeer Avatar answered Nov 14 '22 00:11

EvilBeer


I was getting a similar error in Visual Studio 2015 / Xamarin, with the following settings: Compile Using: Latest (Android 6.0); Minimum: API 22; Target: API 23.

In my case, the warning indicated 'Using API-24 for ACW compilation.' I uninstalled the API-24 SDK package files and the warning went away.

like image 3
Tony Avatar answered Nov 14 '22 02:11

Tony