本文介绍了Adobe AIR的包装为Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我似乎得到这个错误。我相信我正确地输入了一切:
I seem to be getting this error... I believe I am typing everything correctly:
desktop/adobeairsdk/bin/adt -package -target apk -storetype pkcs12 -keystore ./desktop/mycert.p12 myApp.apk ./desktop/Untitled-1-app.xml -C ./desktop/Untitled-1.swf要我得到:
unexpected failure: inputs not set java.lang.IllegalStateException: inputs not set at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:59) at com.adobe.air.ADT.parseArgsAndGo(ADT.java:504) at com.adobe.air.ADT.run(ADT.java:361) at com.adobe.air.ADT.main(ADT.java:411)下面是我的.xml文件的内容:
Here is the content of my .xml file:
<?xml version ="1.0" encoding="utf-8" ?> <application xmlns="ns.adobe/air/application/2.5"> <id>com.adobe.example.Untitled-1</id> <versionNumber>1.000</versionNumber> <filename>Untitled-1</filename> <description></description> <name>Untitled-1</name> <copyright></copyright> <initialWindow> <content>Untitled-1.swf</content> <systemChrome>standard</systemChrome> <transparent>false</transparent> <visible>true</visible> </initialWindow> <supportedProfiles>mobileDevice</supportedProfiles> <android> <manifestAdditions> <![CDATA[ <manifest android:installLocation='auto'> <uses-permission android:name="android.permission.INTERNET" /> <supports-screens android:normalScreens="true"/> <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/> <application android:enabled="true"> <activity android:excludeFromRecents="false"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> ]]> </manifestAdditions> </android> <customUpdateUI>false</customUpdateUI> <allowBrowserInvocation>false</allowBrowserInvocation> <icon> <image16x16>AppIconsForAIRPublish/AirApp_16.png</image16x16><image32x32>AppIconsForAIRPublish/AirApp_32.png</image32x32><image48x48>AppIconsForAIRPublish/AirApp_48.png</image48x48><image128x128>AppIconsForAIRPublish/AirApp_128.png</image128x128></icon> </application>
我有点卡住了...任何想法? O_O
I am a bit stuck... any ideas? O_o
感谢您的帮助提前。
推荐答案看这个的帖子。也许你包装之前未建项目。你只需要创建AIR包重新发布您的应用程序。
Look at this post. Probably you didn't build the project before packaging it. You'll only want to create the AIR package to redistribute your application.
更多推荐
Adobe AIR的包装为Android
发布评论