Note that there are some explanatory texts on larger screens.

plurals
  1. POsencha android packaging packager.json (on windows)
    text
    copied!<p>getting [ERR] java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING)</p> <p>Seems like a JOSN parsing error, but all tips i found aren't working. The project is perfectly builded, my packager.json looks like that:</p> <pre><code>{ "applicationName":"firstapp", "applicationId":"com.parcello.firstapp", "versionString":"1.0", "iconName:":"resources\icons\Icon.png", "inputPath":"\", "outputPath":"C:\Users\mitch\Desktop\touch-2.3.0\firstapp\and\", "configuration":"Debug", "platform":"Android", "deviceType":"Universal", "certificatePath":"C:\Users\mitch\Desktop\touch-2.3.0\firstapp\release.keystore", "certificateAlias":"firstapp", "sdkPath":"C:\Users\mitch\android-sdks", "orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ] } </code></pre> <p>and the complete error in my win command is: </p> <blockquote> <p>[ERR] java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 9 column 26 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) at com.google.gson.Gson.fromJson(Gson.java:791) at com.google.gson.Gson.fromJson(Gson.java:757) at com.google.gson.Gson.fromJson(Gson.java:706) at com.sencha.util.JsonUtil$ThreadSafeGson.fromJson(JsonUtil.java:228) at com.sencha.util.JsonUtil.fromJson(JsonUtil.java:128) at com.sencha.tools.pkg.Model$Package.load(Model.java:651) at com.sencha.tools.pkg.LocalRepository.verifyPackage(LocalRepository.java:548) at com.sencha.tools.pkg.LocalRepository.addPackage(LocalRepository.java:351) at com.sencha.command.pkg.AddCommand.execute(AddCommand.java:28)</p> </blockquote> <p>Any ideas, because of that the command:</p> <pre><code>sencha app build native </code></pre> <p>isn't running as well.</p> <p>It's touch 2.3.0 with : <a href="http://docs-devel.sencha.com/touch/2.3.0/#!/guide/getting_started" rel="nofollow">http://docs-devel.sencha.com/touch/2.3.0/#!/guide/getting_started</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload