• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

[Fatal Error] :1:1: Content is not allowed in prolog.

New Here ,
May 11, 2015 May 11, 2015

Copy link to clipboard

Copied

Hello all,

I've been researching this error and haven't seen anything on the topic.  Any help would be appreciated.

Problem Occurred
Error occurred while packaging the application:
[Fatal Error] :1:1: Content is not allowed in prolog.
java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException: Content is not allowed in prolog.
  at com.adobe.air.Plist.newFromString(Plist.java:351)
  at com.adobe.air.Plist.newFromFile(Plist.java:325)
  at com.adobe.air.ipa.IPAOutputStream.setSDKVersion(IPAOutputStream.java:1070)
  at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:971)
  at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:187)
  at com.adobe.air.ADT.parseFileAndPathArguments(ADT.java:1423)
  at com.adobe.air.ADT.parseDescriptorAndFileset(ADT.java:1474)
  at com.adobe.air.ADT.parseInput(ADT.java:929)
  at com.adobe.air.ADT.parsePackage(ADT.java:672)
  at com.adobe.air.ADT.parseArgsAndGo(ADT.java:570)
  at com.adobe.air.ADT.run(ADT.java:419)
  at com.adobe.air.ADT.main(ADT.java:469)

Thanks, all.

@

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 15, 2015 May 15, 2015

Copy link to clipboard

Copied

LATEST

The reason why you specifically get the error is the order of arguments that airpackager takes. It has to be YourApp-app.xml YourApp.swf blackberry-tablet.xml.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines