I just installed MonoDroid alpha 4.1, and I’m trying to create a binding library project using the OSMDroid JAR file. OSMDroid is an opensource mapview implementation, basically a replacement for the Google Maps mapview. I followed the steps in the tutorial, but I get only an error message saying
C:\Program Files (x86)\MSBuild\Novell\Xamarin.Android.Bindings.targets(170,5): error MSB6006: “java.exe” exited with code 1.
How do I fix this problem?
I was able to compile the project adding the following JAR files to the project.
apache-mime4j-0.4.jar
httpmime-4.0-beta1.jar
osmdroid-third-party-3.0.7.jar
slf4j-android-1.5.8.jar
and setting them as “ReferenceJar” in the properties in the build action.
To see a proper output from Visual Studio, in order to debug this issue, I also had to set the build output details to normal in Visual Studio options (tools-options-projects and solutions-build and run and set MSBuild project build output to normal).
I still have no luck in using the library, but at least it compiles!