使用 flashbuilder 打包 ipad 设备的代码时出现错误
这是文加特什。我正在开发适用于Android设备和Apple ipad的移动应用程序,使用flashbuilder 4.5 premium。完成代码后,我可以轻松地为Android设备创建apk文件,但我无法为APPLE设备创建ipa文件。打包时,我收到一些 java 异常错误,例如
“Exception in threa "main" java.lang.NullPointerException"
请指导我解决这个问题。我急于完成我的 ipad 设备项目,
我使用索引数组作为
for( var j:int = 0; j<controlsXML.length(); j++)
{
if(sectionXML[i].@Name == controlsXML[j].@SectionName)
{
indexedArray.push({controlName:controlsXML[j].@Name,Horder:controlsXML[j].@HOrder,Vorder:controlsXML[j].@VOrder});
}
}
indexedArray.sortOn(["Horder","Vorder"],[Array.NUMERIC,Array.NUMERIC]);
This is vengatesh. I am developing mobile application for android devices and apple ipad, using flashbuilder 4.5 premium.After the completion of code , I can easily create apk file for android devices but I couldn't be able to create ipa file for APPLE devices.While packaging , I got some java exception error like
"Exception in threa "main" java.lang.NullPointerException"
Please guide me on this issue . I am in urgency to complete my project for ipad devices
i used the my indexedarray as
for( var j:int = 0; j<controlsXML.length(); j++)
{
if(sectionXML[i].@Name == controlsXML[j].@SectionName)
{
indexedArray.push({controlName:controlsXML[j].@Name,Horder:controlsXML[j].@HOrder,Vorder:controlsXML[j].@VOrder});
}
}
indexedArray.sortOn(["Horder","Vorder"],[Array.NUMERIC,Array.NUMERIC]);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试这些链接会对您有所帮助:
http: //va.lent.in/blog/2011/03/25/air2-6-app-for-ios/
http://www.adobe.com/devnet/air /articles/packaging-air-apps-android.html
http://tv. adobe.com/.../build-your-first-mobile-application-in-flash-builder-45/
http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-48bca492124b39ac5e2-7ffb.html
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html
http://www.riagora.com/2010/12/ Flex-移动应用程序提示/
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html
http://tv.adobe。 com/watch/adc-presents/flex-mobile-part-2-navigation-and-lists/
http://www.yeahbutisitflash.com/?p=986
http://www.instructables。 com/id/How-to-use-Adobes-iPhone-Packager-without-an-Appl/
您是否正确遵循了所有打包步骤?
Try these links will helpful for you:
http://va.lent.in/blog/2011/03/25/air2-6-app-for-ios/
http://www.adobe.com/devnet/air/articles/packaging-air-apps-android.html
http://tv.adobe.com/.../build-your-first-mobile-application-in-flash-builder-45/
http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-48bca492124b39ac5e2-7ffb.html
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html
http://www.riagora.com/2010/12/tips-for-flex-mobile-apps/
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html
http://tv.adobe.com/watch/adc-presents/flex-mobile-part-2-navigation-and-lists/
http://www.yeahbutisitflash.com/?p=986
http://www.instructables.com/id/How-to-use-Adobes-iPhone-Packager-without-an-Appl/
Are you following all the steps of packaging correctly?