Sometimes this happens when your project files are corrupt (or FB thinks they are). Delete all the files that define the project (their names will start with a ".", like the extension is the file name), then just create the project from the files and folder structure.
Thanks for you reply and help Amy,
When I try that at the time of import the project I got this error: "The folder does not contain a valid Flash Builder Project."
What I did was delete those files in the folder that will have my new project with SDK 4.1.
This sounds like you are still trying to import your old project rather than create a new project based on the folder structure.
Right, but I can create a new project using sdk 3.5, copy folders. Here I have repair the project, correct?
Then export to zip and reimport using sdk 4.1.??
Or do you want me to create a new project using 4.1, copy folders?
You said importing didn't work and resulted in a situation where you couldn't change the SDK. Therefore, don't import the project.
- Open FB 4.
- Create a new project with the same name as the mxml file in your old project.
- Close FB 4.
- Use the file browser native to whatever OS you're using and open your FB 3 project.
- Copy its src folder.
- Go to the FB 4 project, and paste in the src folder, overwriting the new MXML it made for you.
- Open the project in FB 4.
- Change the SDK.
I got it now. One more question, this process will migrate my code to use sdk 4.1 or I have to do this manually.
I tought the import will do this for me, or not?
FYI, I have my project using the same FB4 but with sdk 3.5.
If your project didn't wind up with SDK 4 just through creating it from 4, you will need to change the SDK. You'll probably need to set it to be Halo compatible, as well, because you'll get errors if it tries to use spark only.
Maybe my question should be different from the begining: How to migrata app using FB4 3.5 sdk to FB4 using new sdk 4.1?
Thanks for you help, i will try again.