0

我正在尝试为 android 构建 cSipSimple 源。我认为,我遵循了如何构建cSipSimple 的 wiki 页面中描述的步骤。但不幸的是,我面临一个错误。这是命令日志信息。

Now at patch 001toolchain_static_lib.diff
cd build/armeabi; \
 if [ "build/armeabi/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
 if [ "build/armeabi-v7a/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv7-android-gcc; fi; \
 if [ "build/x86/config.mk" = "build/armeabi/config.mk" ]; then TGT=x86-android-gcc; fi; \
 if [ "build/mips/config.mk" = "build/armeabi/config.mk" ]; then TGT=mips32-android-gcc; fi; \
 BUILD_PFX=jni/libvpx/build/armeabi/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=
Not a directory: 


Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.err) to determine what
configure was trying to do when it died.
make[1]: *** [build/armeabi/config.mk] Error 1
make[1]: Leaving directory `/home/alexchengalan/android/files/CSipSimple-trunk/CSipSimple/jni/libvpx'
make: *** [jni/libvpx/sources] Error 2

我认为错误是在上面指出--disable-examples --sdk-path= Not a directory:的。但我不知道这意味着什么。

我还在 .bashrc 文件中添加了以下几行

export ANDROID_NDK=/home/alexchengalan/android/files/android-ndk-r10d/
export ANDROID_SDK=/home/alexchengalan/android/files/android-sdk-linux/
export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$ANDROID_NDK

如果有人能帮助我解决这个问题,那就太好了。

4

1 回答 1

0

最后我发现我的问题在哪里。我需要将以下行添加到.bashrc文件中。

export ANDROID_HOME=/..your sdk path.../android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
于 2015-04-29T07:28:30.053 回答