Using Flash Builder 4.6 on some code from a client. Clicked on debug (also tried run) and received this error:
Process terminated unexpectedly.
initial content not found
Launch command details: "C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0
\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0
\runtimes\air\win" -profile mobileDevice -screensize 640x920:640x960 -XscreenDPI 326 -
XversionPlatform IOS "C:\Users\tstiffler\Adobe Flash Builder 4.6\TP\bin-debug\TP-
app.xml" "C:\Users\tstiffler\Adobe Flash Builder 4.6\TP\bin-debug"
How do I fix this? Please be as detailed as you can as I've never used Flash Builder before. Thanks!
For me the opening the Main-app.xml file, change something insignificant and saving it again, worked. Maybe something to do with caching of build files or something? I must say, this was in 4.7 though.
This happen to me yesterday, I fixed it by creating a new project and copying everything in it except the main constructor as3 file. Then I copied the variables and functions from the old( broke ) main file and pasted them in the new one.
I think the reason is that the main class gets file gets corrupted somehow and flash builder cannot read it even though it looks fine in the editor.
I had Main-app.xml file, in it I changed the following line
to
and initial content problem was solved.
@hrehma's answer is right. And further, if you're using a wrong namespace, compiler won't get the xml tag. This happens when you change your AIR SDK version.
For example if you're using AIR SDK 16:
change
to
Hope this may help you :)
I went to the app descriptor XML file just like hrehman, but mine just had the SWF file that I've been using - MyGame-iOS.swf - and I tried changing this to any other name (MyGame.swf), then tried building and running and it worked fine.
Not the best solution, but just in case someone goes to do what hrehman did, and doesn't see the square-bracketed message and is still stuck.
I think this error is a bit of a catch-all and is very unhelpful.