Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
error 304: Initial window content is invalid
Problem Description
I'm using adobe air 51.2.2, this is my first time using adobe air, I'm trying to build an android app to run a specific flash web game (runs on example.com). I'm trying for now just to build it using a minimal index.html, but I'm getting 304 error.
Steps to Reproduce
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/51.2">
<id>com.arnon001.test</id>
<versionNumber>1.0.0</versionNumber>
<filename>example app</filename>
<name>example</name>
<initialWindow>
<content>index.html</content>
<title>example app</title>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>direct</renderMode>
<autoOrients>true</autoOrients>
</initialWindow>
<icon>
<image48x48>icon48.png</image48x48>
<image72x72>icon72.png</image72x72>
<image80x80>icon80.png</image80x80>
</icon>
<android>
<manifestAdditions><![CDATA[
<manifest>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application android:requestLegacyExternalStorage="true" />
</manifest>
]]></manifestAdditions>
</android>
</application>
I don't really know whats wrong with this code.
Error 304 indicates "The file referenced in the
Are you certain the html file is correctly included when packaging your application?