Hey all,
So I've been having trouble getting the Chromium Android port of WebKit to
build for me.
I'm trying to achieve this on Ubuntu 10.04 (Linux joe 2.6.32-38-generic
#83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux).
The error I'm getting is as follows:
[javac]
/home/joe/Documents/WebKit/Source/WebKit/chromium/base/android/java/src/org/chromium/base/ActivityStatus.java:7:
package android.os does not exist
[javac] import android.os.Looper;
[javac] ^
[javac]
/home/joe/Documents/WebKit/Source/WebKit/chromium/base/android/java/src/org/chromium/base/BuildInfo.java:7:
package android.content does not exist
[javac] import android.content.Context;
[javac] ^
[javac]
/home/joe/Documents/WebKit/Source/WebKit/chromium/base/android/java/src/org/chromium/base/BuildInfo.java:8:
package android.content.pm does not exist
..... (There are a bunch of these)
[javac]
/home/joe/Documents/WebKit/Source/WebKit/chromium/base/android/java/src/org/chromium/base/WeakContext.java:31:
cannot find symbol
[javac] symbol : class Context
[javac] location: class org.chromium.base.WeakContext
[javac] final Context context = sWeakContext.get();
[javac] ^
[javac] 64 errors
CXX(host)
out/Release/obj.host/base/Source/WebKit/chromium/base/file_util_proxy.o
BUILD FAILED
/home/joe/Documents/WebKit/Source/WebKit/chromium/base/android/java/base.xml:45:
Compile failed; see the compiler error output for details.
Total time: 2 seconds
make: *** [out/Release/lib.java/chromium_base.jar] Error 1
make: *** Waiting for unfinished jobs....
I'm fairly new to all this, but from what I've tried to find out about this
it seems like it's possibly a classpath issue?
I was also thinking maybe it's an issue with the version of Java I'm using?
joe@joe:~/Documents/WebKit/Tools/Scripts$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Though I did download and set up Java JDK 6 directly from Sun and set
JAVA_HOME to the path in /usr/lib so I'm not sure that's the problem. I
also did the export for ANDROID_SDK_ROOT to my sdk install location at
/home/joe/Documents/android-sdk. Is that perhaps not correct? It just feels
like I have missed something fundamental and I can't for the life of me
figure out what that is.
Thanks very much in advance for any help or insights you can provide!
-Joe
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-help