New topics: Your Pet, IOU, Baby IQ, The Poisons, Birther II, Games, Future Power

Welcome to the Tech Space!

Virtualization Solutions

Skip to end of metadata
Go to start of metadata

I just installed Flash Builder 4.5 and imported my previous Flash Builder projects that were build with Flash Builder Burrito.

I tried to run the air app project, and I got this error:

SDK "Flex Hero" does not exist for project "Program - Air - 0.1".

In the package explorer I right clicked the main folder for the project, and selected properties.

In Flex Build Path, there was a reference to "unknown Flex SDK: Flex Hero"

Instead go to "Flex Compiler" and notice the erorr "Unknown Flex SDK: Flex Hero" and a drop down box for using a speciifc SDK.

I'm setting it to "Use Default SDK". After doing this, I get a warning dialog:

Project "Program - Air - 0.1" was created with a previous version fo Flash Builder. If you save it, you will no longer be able to open this project with older versions of Flash Builder. Continue?

Now when I try to run the app, now I get a warning about one of the libraries that is included. So I make the same change to all the other projects I imported.

When I made this change to a flash project I received this warning:

"Warning: Because you have changed the options fo rthe HTML wrapper or the SDK version, all files in the "html-template" folder of your project will be overwritten and/or deleted"

I then had some additional errors:

  • Namespace 2.5.0 in the application descriptor file should be equal or higher than the minimum version 2.6.0 required by Flex SDK
  • could not resolve \<s:MobileApplication\> to a component implementation

To solve the Namespace errors, I simply clicked on them, and changed

<application xmlns="http://ns.adobe.com/air/application/2.5">

to:

<application xmlns="http://ns.adobe.com/air/application/2.6">

then saved each of them, and the errors disappeared.

Now looking at what to do about the MobileApplication error. According to http://forums.adobe.com/thread/727620 the MobileApplication is not exposed in Flex 4.5 SDK.

According to http://www.adobe.com/products/flash-builder.html?promoid=FDUMA Flash Builder 4.5 lets me "Build applications for Android, BlackBerry Tablet OS, and iOS".

I'm going to try creating a fresh new Flex Mobile Project:

  • Use default location
  • Use default SDK (currently "Flex 4.5")
  • Next:
    • Target platforms: Google Android
    • Application Template: Blank
    • Permissions: INTERNET, WRITE_EXTERNAL_STORAGE
    • Automatically reorient: Yes
    • Full screen: Yes
    • Server technology application server type: None
    • Add the .SWC from my library project

The new Main.mxml references s:Application.

Changing my mobile app to reference s:Application, and then embedding the \<s:View\> in the application. The app starts up on android.

The app runs... On the results display, the words for some buttons are now showing off the bottom of the button (just a few pixels of the top of the letters within the bottom of the buttons.)

Other Ideas

Articles to read:

Related articles:

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.