From: Arno P. <ar...@pu...> - 2012-03-28 17:09:01
|
unfortunately the documentation is out of date. The target android-on-iphone is deprecated. You should use --target=iphonec (to use the C backend) or --target=iphone (for the Objective-C backend) in conjunction with --lib=android. Note that XMLVM only supports a subset of Android API that can be cross-compiled. Take a look at xmlvm/src/android2iphone. If you are using API that is not in that folder, your app won't cross-compile. Arno On 3/27/12 2:43 AM, Tymen Steur wrote: > I encountered the exact same problem as the previous post (as written > below). > > " > For some reason 'android-on-iphone' is not an acceptable xmlvm target > for me. > Why is this? > > Did I build xmlvm without the right path to Android? Has anyone else > seen this? > > I am on Mac OS 10.7 > > - James > " > > In the documentation it states that the ' android-on-iphone' target > should be used to cross-compile an > Android application to the iPhone where the Android compatibility > library will be copied to the output > directory. > > " > |xmlvm --in=/foo --target=android-on-iphone --iphone-app=TheApplication| > Same as the previous example, but will also copy the Android > compatibility library to the output directory. This effectively allows > Java-based Android applications to be cross-compiled to the iPhone. > " > > Anybody who can help with this issue? > > Thanks in advance. > > Tymen > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |