Flash Builder SDK问题 [英] Flash Builder SDK issues

查看:103
本文介绍了Flash Builder SDK问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我需要安装新的SDK才能使用我购买的Compass ANE.我所做的和遇到的问题是"TabbedViewNavigatorApplication"不受支持.因此,经过一些研究,问题出在新的框架文件上.我从原始4.6.0中提取了框架文件(文件位置如下所示):

So I needed to install a new SDK to use the Compass ANE that I purchased. Which I did and the issue that I had with it was that the "TabbedViewNavigatorApplication" was not a supported component. So, after some research, the problem was with the new framework file. I took the framework file from the original 4.6.0 (file location shown below):

C:\ Program Files \ Adob​​e \ Adob​​e Flash Builder 4.7(64位)\ SDK

C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks

并将其放入新的SDK文件中.这样可以解决此问题,但是现在我遇到了另一个问题,即以前使用的旧代码已经损坏.

and put that in the new SDK file. This fixed this issue but now I have another issue where the old code I had working has now broken.

  1. GeolocationEvent.UPDATE不再被调用
  2. Camera.setMode()导致崩溃
  3. UIComponent.addChild(Video)导致崩溃

我能够正确运行程序.

Flex中的地理位置未触发事件

这个人和我有类似的问题,他说他已经解决了他的问题,但我无法弄清他的所作所为:

This person had a similar problem to me and he says he fixed his issue but I can't work out what he did:

我找出了导致此特定问题的最终原因.这是由于Flash Builder未安装完整的Android SDK或IOS SDK而引起的.通过将SDK文件夹复制到Adobe Flash Builder中的正确路径来手动安装这些文件后,我的GPS事件被成功调用. 总而言之,如果在代码和所有内容看起来都不错但不会调用事件的情况下遇到麻烦,请检查并确保已为Android和iOS正确安装了最新的Flex SDK.

I worked out the ultimate cause of this specific problem. It stems from Flash Builder not installing the complete Android SDK or the IOS SDK. Once I manually installed these by copying the SDK folders to their correct paths in Adobe Flash Builder, my GPS events were called successfully. To sum up, if you get this trouble where the code and everything looks alright but it wont call up your events, then check to make sure that your latest SDKs for Flex are installed correctly for Android and or iOS

我没有使用flex SDK做任何工作,如果有人可以推荐一个可以下载支持这些功能的地方,或者对如何解决我的问题有任何建议,我将不胜感激.

I haven't done any work with flex SDKs and if anyone can either recommend a place to download one which supports these features or has any advice on how to fix my issue I would be most grateful.

推荐答案

已解决的问题.万一有人找这个,我的旧SDK将允许我从设备上运行应用程序而无需请求地理定位事件的许可.新的SDk会强制您使用权限状态事件.

Solved issue. In case anyone looks for this, my old SDK would allow me to run the app from a device without requesting for permission for geolocation event. The new SDk forces you to use the permission status event.

现在让我明白了.只是希望我弹出一个错误,要求获得许可,而不是什么都不做.

Makes sense to me now. Just wish I had an error pop up asking for permission rather than just doing nothing.

这篇关于Flash Builder SDK问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆