From: William W. <flu...@gm...> - 2011-09-30 09:24:40
|
Hello all, I'm new to xmlvm and am running into a problem with my "hello world". My goal is to cross compile Android applications to iPhone. Although I don't think it matters, I'm running xmlvm on Linux and then copying the generated projects to MacOS. I created my Hello World which is the same as the standard Google hello world for Android - it simply defines the onCreate method with setContentView(R.layout.main). There is a main.xml and a strings.xml and also the AndroidManifest.xml that is always there. The app runs fine on Google's Android simulator. I'm able to build my app in XCode and run it in XCode's iPhone simulator, but it crashes on startup. The error displayed in the debugger output is: <E> <xmlvm>: Unable to locate AndroidManifest.xml file After some brief looking I see that the manifest, main and strings xml files are not output into the generated xcode project. I've tried using the --resource commandline option as well as the xmlvm.resource property to try to specify that I want these files, but it doesn't seem to make any difference. I've encountered the same problem with the files in the android demo directory, or at least with afireworks, which is what I tried. Do I need to manually copy these resource files? If so, where shall I put them? |