A multi-platform mobile development framework allows developers to use HTML5, JavaScript, CSS3 and to leverage native functionalities of a mobile device to build apps from a common codebase.
I am trying to generate an android package from AppverseTwitter_Eclipse so I can run it in my virtual device. However, the project does not compile.
Having run "android update project -p ." which generated the build.xml and having an AndroidManifest in the main dir and in bin (?normal?)
ant clean debug gives me some UTF-8/missing jar/deprecated issue:
-compile:
[javac] Compiling 4 source files to /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/bin/classes
[javac] /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/src/org/appverse/mobile/android/ui/BrowserActivity.java:5: warning: unmappable character for encoding UTF-8
[javac] Version 2.0 (?APL v2.0?). If a copy of the APL was not distributed with this
[javac] ^
[javac] /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/src/org/appverse/mobile/android/ui/BrowserActivity.java:5: warning: unmappable character for encoding UTF-8
[javac] Version 2.0 (?APL v2.0?). If a copy of the APL was not distributed with this
[javac] ^
[javac] /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/src/org/appverse/mobile/android/ui/MainActivity.java:5: warning: unmappable character for encoding UTF-8
[javac] Version 2.0 (?APL v2.0?). If a copy of the APL was not distributed with this
[javac] ^
[javac] /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/src/org/appverse/mobile/android/ui/MainActivity.java:5: warning: unmappable character for encoding UTF-8
[javac] Version 2.0 (?APL v2.0?). If a copy of the APL was not distributed with this
[javac] ^
[javac] /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/src/org/appverse/mobile/android/ui/MainActivity.java:114: cannot find symbol
[javac] symbol : method enablePlatformNotifications()
[javac] location: class android.webkit.WebView
[javac] appView.enablePlatformNotifications();
[javac] ^
[javac] Note: /Users/pieterdb/appverse-mobile/appverse-samples/AppverseTwitter_Eclipse/src/org/appverse/mobile/android/ui/MainActivity.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
[javac] 4 warnings
BUILD FAILED
/Users/pieterdb/Development/android-sdk/tools/ant/build.xml:710: The following error occurred while executing this line:
/Users/pieterdb/Development/android-sdk/tools/ant/build.xml:723: Compile failed; see the compiler error output for details.
Is it possible to give me access to the wiki.
I've just deployed a sample app to the Android emulator using the ant tasks and I'd like to document the steps for future users.
Seems more appropriate than opening tickets.