Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Example messages
error XA4240: The Java callable wrapper code generation target 'XamarinAndroid' is no longer supported. The '_AndroidJcwCodegenTarget' property only supports 'XAJavaInterop1'; 'XamarinAndroid' and 'JavaInterop1' are not supported.
error XA4240: The Java callable wrapper code generation target 'JavaInterop1' is no longer supported. The '_AndroidJcwCodegenTarget' property only supports 'XAJavaInterop1'; 'XamarinAndroid' and 'JavaInterop1' are not supported.
Issue
The project sets the internal _AndroidJcwCodegenTarget MSBuild property to
XamarinAndroid or JavaInterop1. These Java callable wrapper code generation
targets are no longer supported for any .NET for Android runtime.
Solution
Remove any _AndroidJcwCodegenTarget assignment that uses XamarinAndroid or
JavaInterop1, for example:
<_AndroidJcwCodegenTarget>JavaInterop1</_AndroidJcwCodegenTarget>
The property defaults to XAJavaInterop1. If a build customization must set
it explicitly, update the value to XAJavaInterop1.