Error 301 only during APK build
Hello,
I have a perplexing problem. I have successfully built my application using the desktop profile as so:
adt -package -storetype pkcs12 -keystore zip_cert.p12 -storepass password -target bundle builds/windows config/Loader-app.xml data/Loader.swf data/VC.swf
However, when I switch to a mobile profile, like so:
adt -package -storetype pkcs12 -keystore zip_cert.p12 -storepass password -target apk-emulator builds/android config/Loader-app.xml data/Loader.swf data/VC.swf
I'm given error 301: Application descriptor missing/cannot be opened. Obviously the file is okay, because it compiles with a desktop profile no problem. Am I missing something here? I'm using the latest version of the HARMAN sdk. Here is my Loader-app.xml for reference as well:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<application xmlns="http://ns.adobe.com/air/application/33.1">
<id>com.zip.vc</id>
<versionNumber>2.0</versionNumber>
<versionLabel/>
<filename>VirtuaCreature</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>VirtuaCreature</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright>Zero Imagination Productions</copyright>
<initialWindow>
<content>data/Loader.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>landscape</aspectRatio>
<renderMode>direct</renderMode>
<autoOrients>false</autoOrients>
<maximizable>true</maximizable>
<minimizable>true</minimizable>
<resizable>true</resizable>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<android>
<manifestAdditions>
<![CDATA[<manifest>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
</manifest>]]>
</manifestAdditions>
</android>
<supportedLanguages>en</supportedLanguages>
</application>Thanks!
