在尝试使用android-ndk-r8d构建应用程序时,我收到以下错误消息:
$ /cygdrive/d/Android_NDK/android-ndk-r8-windows/android-ndk-r8/ndk-build
Prebuilt : libffmpeg.so libs/armeabi-v7a/libffmpeg.so
install: cannot open `./obj/local/armeabi-v7a/libffmpeg.so’ for reading: Permission denied
/cygdrive/d/Android_NDK/android-ndk-r8-windows/android-ndk-r8/build/core/build-binary.mk:409: recipe for target `libs/armeabi-v7a/libffmpeg.so’ failed
make: *** [libs/armeabi-v7a/libffmpeg.so] Error 1
答案 0 :(得分:0)
有同样的问题。修复了chmod 777
(通过cygwin)/obj/.../
目录中有问题的.so文件。