I have created a blank cross platform project in VS2015 and have added the Xamarin.Forms.Maps package. This caused various GooglePlay services to also install. Without having written a line of code this essentially blank project fails to compile with the message "COMPILETODALVIK : error : Could not create the Java Virtual Machine".
Any information about the location of diagnostic information (log files etc.) indicating the precise cause of the problem would be appreciated. Does anyone know which version(s) of Java (runtimes of development kit) are compatible with the latest version of Xamarin.Maps? I have tried other solutions proposed on the forums but so far without success.
I am using Visual Studio 2015 with Update 2 and I have Java 7 runtimes Updates 65 and 72 installed and Java SE 7 Development Kit Updates 17, 65 and 72 installed (the latest update 72 is 64-bit for both runtimes and JDK). The Max Heap Size for the Android project is set to 2G. I also have a number of other Xamarin projects under development and they all compile and run OK. It's only when I try to add Xamarin.Forms.Maps to a project that I get this COMPILETODALVIK error.