Skip to main content
Participating Frequently
October 28, 2011
Question

Android package contents in Flash Builder 4.5 : file list doesn't update

  • October 28, 2011
  • 7 replies
  • 6328 views

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?

This topic has been closed for replies.

7 replies

Inspiring
September 30, 2014

Issue is still existing.
Only workaround is to manually copy the missing files to the bin-debug-temp folder.

Participant
October 20, 2013

I am having the same issue and using the workarounds mentioned. Adobe...will this ever be fixed?

Participant
September 9, 2013

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?

Inspiring
April 4, 2012

wow thanks, I was going crazy until I manually put the missing file in bin-release-temp

Participant
May 21, 2012

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.!!!!!!!!!!!!!!!

Inspiring
August 15, 2012

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.

Participant
February 21, 2012

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.

Participating Frequently
March 15, 2012

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.

November 7, 2011

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

Inspiring
January 21, 2014

Is anything going to be done about this?

Participating Frequently
October 29, 2011

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.

Participating Frequently
October 31, 2011

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.

Inspiring
July 22, 2013

I'd just like to say that almost nearly 2 years later this bug continues to happen even with Flash Builder 4.7