While working on my MonoDroid / Xamarin.Android app, he suddenly stopped building by telling me
"java" exited with code 1.
After enabling MSBuild standard output, he showed that an error had occurred at Xamarin.Android.Common.targetslocated at C:\Program Files (x86)\MSBuild\Xamarin\Android. Line (line 988) starts this xml block:
<CompileToDalvik
JavaMaximumHeapSize="$(JavaMaximumHeapSize)"
JavaOptions="$(JavaOptions)"
AndroidSdkDirectory="$(_AndroidSdkDirectory)"
ClassesOutputDirectory="$(IntermediateOutputPath)android\bin\classes"
JavaSdkDirectory="$(_JavaSdkDirectory)"
MonoPlatformJarPath="$(MonoPlatformJarPath)"
JavaSourceFiles="@(AndroidJavaSource)"
JavaLibraries="@(AndroidJavaLibrary)"
LibraryProjectJars="$(IntermediateOutputPath)__library_projects__\*.jar"
UseDx="$(UseDx)"
/>
In addition, when I have the file above, I have 53 warnings, similar to:
The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'ResolveReferencesDependsOn' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property, AllowUnsafeBlocks, ... [followed by a long list of elements]
, , , , , . , , , , . , - , , , , . , , ?
: M4A, , , M4A, - .
: , , , , , . , , . 30- . , Visual Studio. , .