From: Arno P. <ar...@pu...> - 2011-09-30 18:46:22
|
that should work. There is probably a problem with --resource. I would suggest you let XMLVM generate an empty skeleton project: xmlvm --skeleton=android --out=OUTDIR --app-name=APPNAME and then edit it the way you need. Arno On 9/30/11 2:24 AM, William Wilson wrote: > 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? > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |