Editar

Compartilhar via


.NET for Android warning XA4315

Example messages

warning XA4315: Ignoring {file}. Manifest does not have the required 'package' attribute on the manifest element.

Issue

The specified $(file) does not have a package attribute on its manifest element.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>

Solution

Add the missing attribute to the manifest.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package='com.microsoft.hellolibrary'>
</manifest>