While I am package androd app for air, I got error of invalid attribute on application manifest file. After I googled it, I found the below fix
Incorrect Manifest of Air Application and Android
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.5">
<android>
<manifestAdditions>
<manifest>
<![CDATA[
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
]]>
</manifest>
</manifestAdditions>
</android>
<id>VoiceNotes</id>
<filename>VoiceNotes</filename>
<name>Voice Notes</name>
<versionNumber>1.0.0</versionNumber>
<supportedProfiles>mobileDevice</supportedProfiles>
<initialWindow>
<content>VoiceNotes.swf</content>
<visible>true</visible>
<!-- <autoOrients>true</autoOrients> -->
</initialWindow>
</application>
Updated Manifest of Air application and Andorid
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.5">
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</manifest>
]]>
</manifestAdditions>
</android>
<id>VoiceNotes</id>
<filename>VoiceNotes</filename>
<name>Voice Notes</name>
<versionNumber>1.0.0</versionNumber>
<supportedProfiles>mobileDevice</supportedProfiles>
<initialWindow>
<content>VoiceNotes.swf</content>
<visible>true</visible>
<!-- <autoOrients>true</autoOrients> -->
</initialWindow>
</application>
Thank you! After hours of troubleshooting, this was my solution =).
ReplyDeleteglad to hear!
ReplyDelete