From: Rudolf S. <sch...@ha...> - 2012-03-30 13:36:45
|
Hello, I tried to cross-compile an android project to iOS. My first try was to use the following command for an existing android project created by eclipse "xmlvm --in=Test/ --target=iphone --lib=android --iphone-app=Test2" where I got a warning for every .java, .xml and .png file like these: […] [03/30/12 13:08:08.745] WARNING: Unable to create InputProcesses for input: […]Test/src/de/Test/TestActivity.java [03/30/12 13:08:08.745] WARNING: Unable to create InputProcesses for input: […]Test/res/values/strings.xml [03/30/12 13:08:08.745] WARNING: Unable to create InputProcesses for input: […]Test/res/layout/main.xml [03/30/12 13:08:08.745] WARNING: Unable to create InputProcesses for input: […]Test/res/drawable-mdpi/ic_launcher.png […] In the created Xcode project, I got a message "Update to recommended settings" "Target '../Test2' - Upgrade Compiler configuration to LLVM" "Project 'Test2' - Upgrade to latest Project Format' After that, I got some errors. 4 times in the file "java_lang_String.h "Redefinition of 'java_lang_String' as different kind of symbol" at the line "typedef NSMutableString java_lang_String;" and one time in the file "org_xmlvm_iphone_NSObject.h" "Redefinition of 'org_xmlvm_iphone_NSObject' as different kind of symbol" at the line "typedef NSObject org_xmlvm_iphone_NSObject;" I deleted these lines for test and got the next error in "java_io_ByteArrayOutputStream.h" "Cannot declare variable inside @interface or @protocol" at the line "static int const DEFAULT_CAPACITY;" So I thought cross compiling a project defined by eclipse does maybe not work yet and I started the next try by migrating the eclipse project using "xmlvm --skeleton=android:migrate --out=../Test" to a xmlvm android project where I got the following warnings: [03/30/12 12:33:25.045] WARNING: Using Test as application name [03/30/12 12:33:25.052] WARNING: InputProcess.getOutputFiles(): Input File is null. The resulting project does not contain the "src", "bin" and "res" folder. Can somebody help me? Best regards, Rudolf Schillack |