From: Panayotis K. <pan...@pa...> - 2012-06-24 02:32:00
|
Dear all, I think there is a problem with some android tutorials/demos. I spotted two of such problems when updating the build scripts to support unicode property files. The problems were also in the 2290 version of the repository, before committing any changes. -- 1 -- The project tutorial/android/widget fails to compile under target Xcode, while others like tutorial/android/helloworld/prog compiles (and runs) just fine. I don't know if these projects fully worked in the past, from the command line, or if these used to work through Eclipse, but in any case they do not work now. Here is the error log: [mkdir] Created dir: /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm.new/tutorial/android/widgets/build/classes [javac] Compiling 2 source files to /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm.new/tutorial/android/widgets/build/classes [javac] /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm.new/tutorial/android/widgets/src/org/xmlvm/tutorial/android/widgets/WidgetActivity.java:28: cannot find symbol [javac] symbol : class DatePicker [javac] location: package android.widget [javac] import android.widget.DatePicker; [javac] ^ [javac] /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm.new/tutorial/android/widgets/src/org/xmlvm/tutorial/android/widgets/WidgetActivity.java:30: cannot find symbol [javac] symbol : class Spinner [javac] location: package android.widget [javac] import android.widget.Spinner; [javac] ^ .... and so on By printing the classpath, it shows that it is using ../../../dist/xmlvm.jar which used to be enough -- 2 -- Another case is also for the project demo/android/afireworks Here the procedure fails with this error (which has nothing to do with the previous error): -xproject-create: [echo] Creating Xcode project with the Objective C backend. [java] [06/24/12 05:21:37.271] ERROR: InputProcessFactory: Could not find input resource: /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm.new/demo/android/afireworks/bin-android2iphone [java] [06/24/12 05:21:37.272] ERROR: XmlvmProcessor: No inputs to process. [java] [06/24/12 05:21:37.272] ERROR: Sub-Process for processing android iphone compat lib has failed. [java] [06/24/12 05:21:37.272] ERROR: Processing Phase 2 not successful. See error messages above for details. [java] [06/24/12 05:21:37.272] ERROR: Something went wrong during processing. Here it seems that the pipeline has changed somehow. |