0
I created an android Xamarin project - the xml is as it came, I have not written any line on anything yet, but I can’t see the design:
com.google.gson.Jsonsyntaxexception: java.lang.Illegalstateexception: Expected BEGIN_ARRAY but was STRING at line 1 column 1 at com.google.gson.Gson.fromJson(Gson.java:815) at com.google.gson.Gson.fromJson(Gson.java:768) at com.android.sdklib.repository.local.LocalPlatformPkgInfo.getLibsFromJson(Localplatformpkginfo.java:402) at com.android.sdklib.repository.local.LocalPlatformPkgInfo.getOptionalLibraries(Localplatformpkginfo.java:384) at com.android.sdklib.repository.local.LocalPlatformPkgInfo.createAndroidTarget(Localplatformpkginfo.java:251) at com.android.sdklib.repository.local.LocalPlatformPkgInfo.getAndroidTarget(Localplatformpkginfo.java:104) at com.android.sdklib.repository.local.LocalSdk.getTargets(Localsdk.java:712) at com.android.sdklib.SdkManager.getTargets(Sdkmanager.java:181) At mono.android.Androiddesignerhost.getAndroidTarget(Androiddesignerhost.java:87) Designersession.initialize(Designersession.java:107) mono.android.Project.createSession(Project.java:401) mono.android.Project.processMessage(Project.java:432) At mono.android.Messagelistener.executeMessage(Messagelistener.java:88) Messagelistener$Runner.run(Messagelistener.java:45) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.Illegalstateexception: Expected BEGIN_ARRAY but was STRING at line 1 column 1 at com.google.gson.stream.Jsonreader.beginArray(Jsonreader.java:338) at com.google.gson.internal.bind.Collectiontypeadapterfactory$Adapter.read(Collectiontypeadapterfactory.java:79) at com.google.gson.internal.bind.Collectiontypeadapterfactory$Adapter.read(Collectiontypeadapterfactory.java:60) at com.google.gson.Gson.fromJson(Gson.java:803) ... 14 more
where your code?
– viana