1
我一直在尝试从源代码(从这里https://github.com/android/platform_external_webkit)建立Android WebKit,但到目前为止还没有取得任何成功。我从我的回购副本的根目录下,并从它里面的源目录中运行make
和ndk-build
,结果如下:试图从android外部构建webkit
make
从根目录(是有道理的,因为没有Makefile文件),
make: *** No targets specified and no makefile found. Stop.
make
从/源目录:
make[1]: Entering directory `/webkit/Source/JavaScriptGlue'
../Makefile.shared:2: ../../Makefile.shared: No such file or directory
make[1]: *** No rule to make target `../../Makefile.shared'. Stop.
make[1]: Leaving directory `/webkit/Source/JavaScriptGlue'
make: *** [all] Error 2
ndk-build
从根和./Source:
Android NDK: Could not find application project directory !
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
<NDK>/build/core/build-local.mk:130: *** Android NDK: Aborting . Stop.
任何人都可以建议我做错了什么?我已经提到Android需要整体编译,但由于这是“外部”,因此我认为它会独立编译。我错了吗?还是有一些配置步骤我错过了?还是其他什么?
感谢您的帮助。
是的,我完成了。我尝试将我的源文件夹重命名为jni,并能够达到您拥有的同一点并收到相同的错误。我得到了libstlport.mk并通过从这里克隆相关联: git://codeaurora.org/froyo-gb-dsds-7227.git/ 然后,我将stlport文件夹从外部文件夹中从repo复制到我的jni目录。 314错误消失了,但它仍然在webcore上出错。我很累,但明天会看更多。 – nils