.NET for Android warning XA4218
Example messages
warning XA4218: Unable to find //manifest/application/uses-library at path: C:\Program Files (x86)\Android\android-sdk\platforms\android-22\optional\org.apache.http.legacy.jar
Issue
This warning indicates your AndroidManifest.xml file specifies
//application/uses-library
, but the library was not found within the
Android SDK directory.
Solution
- Verify you defined the
@android:name
correctly and the file exists. - Raise the value of
//uses-sdk/@android:targetSdkVersion
in AndroidManifest.xml to a higher API level.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for