02-10-2011 12:20 AM
I have Adobe Flash Builder 4.0.1 and the latest 0.9.3 versions of both the simulator and the SDK running on Windows 7...
I follow the instructions from the guide, but when I try to debug the project the compiler gives me the error:
"............\Adobe Flash Builder 4\AIRHelloWorlld\bin-debug\AIRHelloWorld.swf does not exist"
What am I missing?
Solved! Go to Solution.
02-10-2011 01:48 AM
did you change the extension of the file to .as ... else the code won't compile
02-10-2011 02:07 AM
I did. The name of the file is "AirHelloWorld.as" where I put the code.
02-10-2011 08:28 AM
Should be in the /src directory (default package), and in the properties screen, under Flex Applications, make certain that renamed AS file is the "default".
02-10-2011 09:40 PM
Thank you for the help.... checked all that and it looks to bo OK as is.
The AIRHelloWorld.as file is located in src/(default package)
It is also marked as default on the properties screen under Flex Applications.
But I noticed that under the Problems tab, it says:
-------------------------------
Description Resource Path Location Type
unable to open 'C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.3\frameworks\libs
-------------------------------
There is no "mx" in the libs directory.... Might I have made a misstake installing?
02-11-2011 07:40 AM
Try creating a new project from scratch and be certain to rename the default source file from MXML to AS. Like:
Helloworld.mxml to Helloworld.as
In the wizard (believe it is the second to last step in the wizard).
If you still get the problems, then re-install the SDK.
02-11-2011 09:26 AM
Thank you.....
I had alreday tried to redo the hello world example almost ten times, so I decided to redo the installation directly instead. AND I also downloaded the AIR 2.5 SDK separately and pointed the installation of the Blackberry SDK to it during the installation, which I didn't do when I installed the first time. I am not sure if that was the thing that did it, but now it works.
Thank you all for the help!
02-11-2011 12:59 PM
Glad to hear it. That's what I have too, a standa long folder of just AIR 2.5. Makes updateing the BB SDK a lot easier.