Carlos, it seems there’s some kind of name collisions while building… here’s the scenario:
I have both wav’s and ogg files in the folder (the wav’s for iPhone and the ogg’s for Android)
I created a folder named “wavs” and put all the wav’s there while building for Android.
I try to build a few more times with the same problem, but when I deleted the “wavs” folder… the problem has gone.
Update: by the way, the wav’s files has exactly the same name as the ogg counterpart (except for the extention, of course) so that’s why I think there’s a name collision problem [import]uid: 3686 topic_id: 2627 reply_id: 7563[/import]
@Giovanni, It looks like you are running into the dreaded Android platform name collision bug. On Android, files with the same name but different extensions map into the same resource name. The only workaround is to change the file names. For example, in the AudioPlayer sample code we use files named:
(Internal tracking: issue FB#199). @aromedia, you might have a similar problem since you are able to build for iPhone. [import]uid: 6787 topic_id: 2627 reply_id: 8691[/import]
Some further news that may help…
I have just renamed 200 mp3 files.
They were all name 1_xyz.mp3, 2_xyz.mp3, 3_xyz.mp3 etc.
The xyz was different in each one (a common word eg, and, that, when etc)
They have now been renamed to use snd_ instead of the number as the leading character.
It now builds successfully.
Go figure??
Andrew
[import]uid: 5016 topic_id: 2627 reply_id: 8865[/import]
I don’t use sound in my application, but there error seems similar to the errors here. What do I need to change? [import]uid: 10903 topic_id: 2627 reply_id: 19357[/import]
Do you use similar filenames with different extensions?
Example mygraphic.jpg and mygraphic.png
this also cause name collisions when building your app.
[import]uid: 3686 topic_id: 2627 reply_id: 19438[/import]