Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Documentation/docs-mobile/TOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@
href: messages/xa4262.md
- name: XA4263
href: messages/xa4263.md
- name: XA4264
href: messages/xa4264.md
- name: XA4301
href: messages/xa4301.md
- name: XA4302
Expand Down
1 change: 1 addition & 0 deletions Documentation/docs-mobile/messages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ Either change the value in the AndroidManifest.xml to match the $(SupportedOSPla
+ [XA4261](xa4261.md): Type '{type}' has Java constructor signature '{signature}', but its base type does not expose a compatible Java constructor.
+ [XA4262](xa4262.md): Type '{type}' has an invalid [Export] SuperArgumentsString value '{value}'.
+ [XA4263](xa4263.md): The exported member '{member}' has unsupported signature type '{type}'. Use a Java peer type, a supported managed-to-Java mapping, or [ExportParameter].
+ [XA4264](xa4264.md): Java callable wrapper XML file '{path}' was not found.
+ XA4300: Native library '{library}' will not be bundled because it has an unsupported ABI.
+ [XA4301](xa4301.md): Apk already contains the item `xxx`.
+ [XA4302](xa4302.md): Unhandled exception merging \`AndroidManifest.xml\`: {ex}
Expand Down
24 changes: 24 additions & 0 deletions Documentation/docs-mobile/messages/xa4264.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: .NET for Android error XA4264
description: XA4264 error code
ms.date: 09/09/2026
f1_keywords:
- "XA4264"
---

# .NET for Android error XA4264

## Example message

```text
error XA4264: Java callable wrapper XML file 'obj/Debug/net11.0-android/android-arm64/java-wrappers.xml' was not found.
```

## Issue

The build could not find an intermediate XML file needed to generate Java callable wrappers.

## Solution

Clean and rebuild the project. If the error continues, report the issue at
[dotnet/android](https://github.com/dotnet/android/issues).

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/Xamarin.Android.Build.Tasks/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,11 @@ To use a custom JDK path for a command line build, set the 'JavaSdkDirectory' MS
<comment>The following are literal names and should not be translated: Java, [ExportParameter].
{0} - Fully-qualified managed member name
{1} - Managed parameter or return type</comment>
</data>
<data name="XA4264" xml:space="preserve">
<value>Java callable wrapper XML file '{0}' was not found.</value>
<comment>The following are literal names and should not be translated: Java, XML.
{0} - Full path to the Java callable wrapper XML file</comment>
</data>
<data name="XA0142" xml:space="preserve">
<value>Command '{0}' failed.\n{1}</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void GenerateWrappers (List<ITaskItem> assemblies)
var wrappersPath = JavaObjectsXmlFile.GetJavaObjectsXmlFilePath (assembly);

if (!File.Exists (wrappersPath)) {
Log.LogError ($"'{wrappersPath}' not found.");
Log.LogCodedError ("XA4264", Properties.Resources.XA4264, wrappersPath);
return;
}

Expand Down
Loading