Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Compilation failed NDK #60

Open
prawal opened this issue Sep 21, 2017 · 0 comments
Open

Compilation failed NDK #60

prawal opened this issue Sep 21, 2017 · 0 comments

Comments

@prawal
Copy link

prawal commented Sep 21, 2017

Hi,

I am facing below issue, Please let me know how to remove below errors.

External Native Build Issues
Build command failed.
Error while executing process /home/pawanrawal/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/Android.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=/home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: WARNING:/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/Android.mk:ffmpeg: non-system libraries in linker flags: /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavformat.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavcodec.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavfilter.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavresample.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libswscale.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavutil.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libx264.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libpostproc.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libswresample.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libfdk-aac.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
rm -f /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/lib/armeabi/*
rm -f /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/lib/armeabi/gdbserver
rm -f /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/lib/armeabi/gdb.setup
mkdir -p /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/obj/local/armeabi/objs/ffmpeg
echo [armeabi] "Compile thumb ": "ffmpeg <= ffmpeg-jni.c"
/home/pawanrawal/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/obj/local/armeabi/objs/ffmpeg/ffmpeg-jni.o.d -gcc-toolchain /home/pawanrmake: *** No rule to make target /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lame/libmp3lame/VbrTag.c', needed by /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/obj/local/armeabi/objs/lame/awaVbrTag.o'. Stop.
l/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -g -target armv5te-none-linux-androideabi16 -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -DNDEBUG -I/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/include -I/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni -DANDROID -DHAVE_AV_CONFIG_H -std=c99 -D__STDC_CONSTANT_MACROS -DSTDC_HEADERS -D__ANDROID_API__=16 -Wa,--noexecstack -Wformat -Werror=format-security --sysroot /home/pawanrawal/Android/Sdk/ndk-bundle/sysroot -isystem /home/pawanrawal/Android/Sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -c /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/ffmpeg-jni.c -o /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/obj/local/armeabi/objs/ffmpeg/ffmpeg-jni.o
mkdir -p /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/release/obj/local/armeabi
Build command failed.
Error while executing process /home/pawanrawal/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/Android.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=/home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: WARNING:/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/Android.mk:ffmpeg: non-system libraries in linker flags: /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavformat.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavcodec.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavfilter.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavresample.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libswscale.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libavutil.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libx264.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libpostproc.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libswresample.a /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lib/libfdk-aac.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
rm -f /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/*
rm -f /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdbserver
rm -f /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdb.setup
mkdir -p /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi
echo [armeabi] "Gdbserver ": "[arm-linux-androideabi] /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdbserver"
install -p /home/pawanrawal/Android/Sdk/ndk-bundle/prebuilt/android-arm/gdbserver/gdbserver /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdbserver
echo [armeabi] "Gdbsetup ": "/home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdb.setup"
echo "set solib-search-path /home/pawanrawal/Videos/yt-watchmmeake: *** No rule to make target /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lame/libmp3lame/VbrTag.c', needed by /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi/objs-debug/l-ame/VbrTag.o'. Stop.
master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi" > /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdb.setup
echo "directory /home/pawanrawal/Android/Sdk/ndk-bundle/sysroot /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/include /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lame/libmp3lame /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/lame/include /home/pawanrawal/Android/Sdk/ndk-bundle/sources/cxx-stl/system" >> /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/lib/armeabi/gdb.setup
mkdir -p /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi/objs-debug/ffmpeg
echo [armeabi] "Compile thumb ": "ffmpeg <= ffmpeg-jni.c"
/home/pawanrawal/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi/objs-debug/ffmpeg/ffmpeg-jni.o.d -gcc-toolchain /home/pawanrawal/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -g -target armv5te-none-linux-androideabi16 -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -DNDEBUG -I/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/../third_party/include -I/home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni -DANDROID -DHAVE_AV_CONFIG_H -std=c99 -D__STDC_CONSTANT_MACROS -DSTDC_HEADERS -D__ANDROID_API__=16 -Wa,--noexecstack -Wformat -Werror=format-security --sysroot /home/pawanrawal/Android/Sdk/ndk-bundle/sysroot -isystem /home/pawanrawal/Android/Sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -c /home/pawanrawal/Videos/yt-watchme-master/app/src/main/jni/ffmpeg-jni.c -o /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi/objs-debug/ffmpeg/ffmpeg-jni.o
mkdir -p /home/pawanrawal/Videos/yt-watchme-master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi
/home/pawanrawal/Videos/yt-watchme-master/app/build.gradle
Warning:Warning:WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.1 is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant