Air for Android-App.xml解析错误
我正在使用FlashCS6和AdobeAir3.5为Android开发一个应用程序。 我想通过“功能表”注册我的应用程序,以便从其他应用程序接收内容。每次选择要共享的文本或链接时,我的应用程序都应该列在该菜单中 我的app.xml肯定有问题,因为尝试安装该应用时,我收到一条解析错误消息 下面是Android清单部分。怎么了?我把密码从 完整的app.xmlAir for Android-App.xml解析错误,android,android-intent,air,Android,Android Intent,Air,我正在使用FlashCS6和AdobeAir3.5为Android开发一个应用程序。 我想通过“功能表”注册我的应用程序,以便从其他应用程序接收内容。每次选择要共享的文本或链接时,我的应用程序都应该列在该菜单中 我的app.xml肯定有问题,因为尝试安装该应用时,我收到一条解析错误消息 下面是Android清单部分。怎么了?我把密码从 完整的app.xml <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <appl
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/3.5">
<id>com.helloworld.android</id>
<versionNumber>1.0.0</versionNumber>
<filename>helloworld</filename>
<name>helloworld</name>
<initialWindow>
<content>helloworld.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<renderMode>auto</renderMode>
<autoOrients>true</autoOrients>
<maximizable>true</maximizable>
<minimizable>true</minimizable>
<resizable>true</resizable>
</initialWindow>
<icon>
<image36x36>AppIconsForPublish/helloworld_36x.png</image36x36>
<image48x48>AppIconsForPublish/helloworld_48x.png</image48x48>
<image72x72>AppIconsForPublish/helloworld_72x.png</image72x72>
</icon>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>true</allowBrowserInvocation>
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<application>
<activity>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
</android>
<versionLabel>1.0.0</versionLabel>
<supportedLanguages>en</supportedLanguages>
</application>
谢谢。Uli您应该粘贴整个错误消息。尝试双击错误,使其重定向到文件中生成解析错误的行。假设有多个应用程序标签吗?@timmied错误消息不是基于IDE的,如果我试图在Android设备上安装编译后的应用程序,就会出现这个错误消息。如果我删除附加的应用程序标记,我的应用程序将不再列在“通过共享”菜单中,但解析错误将消失。那么,如果没有附加的application标签,如何将其再次列在菜单中呢?
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/3.5">
<id>com.helloworld.android</id>
<versionNumber>1.0.0</versionNumber>
<filename>helloworld</filename>
<name>helloworld</name>
<initialWindow>
<content>helloworld.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<renderMode>auto</renderMode>
<autoOrients>true</autoOrients>
<maximizable>true</maximizable>
<minimizable>true</minimizable>
<resizable>true</resizable>
</initialWindow>
<icon>
<image36x36>AppIconsForPublish/helloworld_36x.png</image36x36>
<image48x48>AppIconsForPublish/helloworld_48x.png</image48x48>
<image72x72>AppIconsForPublish/helloworld_72x.png</image72x72>
</icon>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>true</allowBrowserInvocation>
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<application>
<activity>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
</android>
<versionLabel>1.0.0</versionLabel>
<supportedLanguages>en</supportedLanguages>
</application>