Copy link to clipboard
Copied
I keep hitting what looks like a bug in Flash Builder 4.5, and I'm wondering if anyone else has seen it or can help me find a workaround.
The problem occurs when I choose Export Release Build... and try to build an APK for Android. In the second screen of the wizard, under the Package Contents tab, there's a file list and you're supposed to select the files you want in the package. Simple enough. The problem is that this file list does not consistently reflect updates to the project file structure. So I usually see an outdated file list, which might or might not have all the files I actually need to put into the package.
There doesn't seem to be a way to force the wizard to rescan the project and rebuild this list. I've tried restarting Flash Builder, deleting bin-release-temp, cleaning all projects, and a few other things besides. So far nothing works. (The Flash view always picks up my changes within a few seconds.)
It seems like my only option is to use the command-line compiler. Not the end of the world, but I'd rather that the wizard just do what it's supposed to do.
Anyone have any ideas?
Copy link to clipboard
Copied
I ran into this recently - I realized that I was trying to add files that existed in the output folder, but FB is looking at your source folders to scan for available files.
Copy link to clipboard
Copied
Thanks for the suggestion. I checked, but that doesn't seem to be the problem in my case. I've attached a screen shot showing the problem – the list of source files in the Flash view doesn't match the list of source files in the Export Release Build wizard. The red boxes highlight one of the areas where they differ.
The file I want to include is StagesLoader/assets/game/assets.swf. (The directory StagesLoader/assets is included into the project as a separate source path.) As you can see, the "rooms" folder in that directory is available in the export wizard, but "assets.swf" is not.
Copy link to clipboard
Copied
I'd just like to say that almost nearly 2 years later this bug continues to happen even with Flash Builder 4.7
Copy link to clipboard
Copied
Agreed, still not fixed
Copy link to clipboard
Copied
Same here, still not fixed!
Copy link to clipboard
Copied
Hi,
Thanks for bringing this up.
The bug is Export release build page does not list the files correctly that it is packaging.
We have filled this bug.
Regards,
Brijesh
Copy link to clipboard
Copied
Is anything going to be done about this?
Copy link to clipboard
Copied
Are we able to view this bug report anywhere? Perhaps we could at least vote for it?
Copy link to clipboard
Copied
I had the same problem. I don't know if it is relevant or not but I'm using tortise SVN. I noticed I had an un-versioned directory named "bin-release-temp" that didn't have my missing assets/images direcories in it. I did an SVN export of the missing files to the bin-release-temp directory an viola, the missing directories showed in the package list and were compiled into the APK I was building. HTH.
Copy link to clipboard
Copied
Ex Malterra's work around was the only thing that would work for me on Flash Builder 4.6. I had to go through the Export Release Build process, but stop when it came time to selecting the Package Contents. I then clicked cancel, and found the "bin-release-temp" directory (a sibling of the src and bin-debug directories). I then copied the missing assets to their correct places in the bin-release-temp directory. This bug really needs to be fixed. I looked through JIRA but could not find the bug that BrijeshP stated was filed.
Copy link to clipboard
Copied
wow thanks, I was going crazy until I manually put the missing file in bin-release-temp
Copy link to clipboard
Copied
i was going crayz after put the missing file in bin-release- temp,and start export ,and after a few mins, ipa don't come out ,no tip, and the bin-release-temp was delete.!!!!!!!!!!!!!!!
Copy link to clipboard
Copied
Also if you notice folders listed in this list that are no longer in your project, I found that deleting the bin-debug folder fixed this. You would think that a project clean would do this automatically, but it does not.
Copy link to clipboard
Copied
Still same problem also with building for Apple iOS! As a workaround I have to manually copy the files from the bin-debug folder to the bin-release-temp folder. Then select Keep bin-release-temp folder within Export Release Build window and select the resources I want to export. Can anyone confirm this issue?
Copy link to clipboard
Copied
I am having the same issue and using the workarounds mentioned. Adobe...will this ever be fixed?
Copy link to clipboard
Copied
Issue is still existing.
Only workaround is to manually copy the missing files to the bin-debug-temp folder.