android - External native build issues build command failed in Telegram source code -
i error when open telegram source code , taskbar appear (gradle sync failed) . use android studio preview beta 4 , ndk android-ndk-r16-beta1-windows-x86.zip .
telegram source code used :https://github.com/drklo/telegram
error :
external native build issues build command failed. error while executing process c:\users\m\appdata\local\android\sdk\ndk-bundle\ndk-build.cmd arguments {ndk_project_path=null app_build_script=c:\users\m\desktop\apps\telegram\tmessagesproj\jni\android.mk ndk_application_mk=c:\users\m\desktop\apps\telegram\tmessagesproj\jni\application.mk app_abi=x86 ndk_all_abis=x86 ndk_debug=0 app_platform=android-21 ndk_out=c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj ndk_libs_out=c:\users\m\desktop\apps\telegram\tmessagesproj\build\intermediates\ndkbuild\x86_sdk23\foss\lib ndk_application_mk:=jni/application.mk app_platform:=android-14 app_short_commands=false local_short_commands=false -b -n} md "c:\users\m\desktop\apps\telegram\tmessagesproj\build\intermediates\ndkbuild\x86_sdk23\foss\obj\local\x86\objs\tmessages.27.\opus\src" >nul 2>nul || rem c:/users/m/appdata/local/android/sdk/ndk-bundle/prebuilt/windows/bin/echo.exe [x86] "compile ": "tmessages.27 <= opus.c" c:/users/m/appdata/local/android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows/bin/i686-linux-android-gcc -mmd -mp -mf c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector-strong -o2 -g -dndebug -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -i./jni/opus/include -i./jni/opus/silk -i./jni/opus/silk/fixed -i./jni/opus/celt -i./jni/opus/ -i./jni/opus/opusfile -i./jni/libyuv/include -i./jni/boringssl/include -i./jni/breakpad/common/android/include -i./jni/breakpad -i./jni/ffmpeg/include -i./jni/intro -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/android/cpufeatures -ic:/users/m/desktop/apps/telegram/tmessagesproj/jni -dandroid -w -std=c11 -os -dnull=0 -dsocklen_t=socklen_t -dlocale_not_used -d_largefile_source=1 -d_file_offset_bits=64 -drestrict='' -d__emx__ -dopus_build -dfixed_point -duse_alloca -dhave_lrint -dhave_lrintf -fno-math-errno -dandroid_ndk -ddisable_importgl -fno-strict-aliasing -fprefetch-loop-arrays -davoid_tables -dandroid_tile_based_decode -dandroid_armv6_idct -ffast-math -d__stdc_constant_macros -dx86fix -wa,--noexecstack -wformat -werror=format-security -ic:/users/m/appdata/local/android/sdk/ndk-bundle/platforms/android-14/arch-x86/usr/include -c c:/users/m/desktop/apps/telegram/tmessagesproj/jni/./opus/src/opus.c -o c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus.o c:/users/m/appdata/local/android/sdk/ndk-bundle/prebuilt/windows/bin/echo.exe [x86] "compile ": "tmessages.27 <= opus_decoder.c" c:/users/m/appdata/local/android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows/bin/i686-linux-android-gcc -mmd -mp -mf c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_decoder.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector-strong -o2 -g -dndebug -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -i./jni/opus/include -i./jni/opus/silk -i./jni/opus/silk/fixed -i./jni/opus/celt -i./jni/opus/ -i./jni/opus/opusfile -i./jni/libyuv/include -i./jni/boringssl/include -i./jni/breakpad/common/android/include -i./jni/breakpad -i./jni/ffmpeg/include -i./jni/intro -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/android/cpufeatures -ic:/users/m/desktop/apps/telegram/tmessagesproj/jni -dandroid -w -std=c11 -os -dnull=0 -dsocklen_t=socklen_t -dlocale_not_used -d_largefile_source=1 -d_file_offset_bits=64 -drestrict='' -d__emx__ -dopus_build -dfixed_point -duse_alloca -dhave_lrint -dhave_lrintf -fno-math-errno -dandroid_ndk -ddisable_importgl -fno-strict-aliasing -fprefetch-loop-arrays -davoid_tables -dandroid_tile_based_decode -dandroid_armv6_idct -ffast-math -d__stdc_constant_macros -dx86fix -wa,--noexecstack -wformat -werror=format-security -ic:/users/m/appdata/local/android/sdk/ndk-bundle/platforms/android-14/arch-x86/usr/include -c c:/users/m/desktop/apps/telegram/tmessagesproj/jni/./opus/src/opus_decoder.c -o c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_decoder.o c:/users/m/appdata/local/android/sdk/ndk-bundle/prebuilt/windows/bin/echo.exe [x86] "compile ": "tmessages.27 <= opus_encoder.c" c:/users/m/appdata/local/android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows/bin/i686-linux-android-gcc -mmd -mp -mf c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_encoder.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector-strong -o2 -g -dndebug -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -i./jni/opus/include -i./jni/opus/silk -i./jni/opus/silk/fixed -i./jni/opus/celt -i./jni/opus/ -i./jni/opus/opusfile -i./jni/libyuv/include -i./jni/boringssl/include -i./jni/breakpad/common/android/include -i./jni/breakpad -i./jni/ffmpeg/include -i./jni/intro -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/android/cpufeatures -ic:/users/m/desktop/apps/telegram/tmessagesproj/jni -dandroid -w -std=c11 -os -dnull=0 -dsocklen_t=socklen_t -dlocale_not_used -d_largefile_source=1 -d_file_offset_bits=64 -drestrict='' -d__emx__ -dopus_build -dfixed_point -duse_alloca -dhave_lrint -dhave_lrintf -fno-math-errno -dandroid_ndk -ddisable_importgl -fno-strict-aliasing -fprefetch-loop-arrays -davoid_tables -dandroid_tile_based_decode -dandroid_armv6_idct -ffast-math -d__stdc_constant_macros -dx86fix -wa,--noexecstack -wformat -werror=format-security -ic:/users/m/appdata/local/android/sdk/ndk-bundle/platforms/android-14/arch-x86/usr/include -c c:/users/m/desktop/apps/telegram/tmessagesproj/jni/./opus/src/opus_encoder.c -o c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_encoder.o c:/users/m/appdata/local/android/sdk/ndk-bundle/prebuilt/windows/bin/echo.exe [x86] "compile ": "tmessages.27 <= opus_multistream.c" c:/users/m/appdata/local/android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows/bin/i686-linux-android-gcc -mmd -mp -mf c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_multistream.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector-strong -o2 -g -dndebug -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -i./jni/opus/include -i./jni/opus/silk -i./jni/opus/silk/fixed -i./jni/opus/celt -i./jni/opus/ -i./jni/opus/opusfile -i./jni/libyuv/include -i./jni/boringssl/include -i./jni/breakpad/common/android/include -i./jni/breakpad -i./jni/ffmpeg/include -i./jni/intro -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/android/cpufeatures -ic:/users/m/desktop/apps/telegram/tmessagesproj/jni -dandroid -w -std=c11 -os -dnull=0 -dsocklen_t=socklen_t -dlocale_not_used -d_largefile_source=1 -d_file_offset_bits=64 -drestrict='' -d__emx__ -dopus_build -dfixed_point -duse_alloca -dhave_lrint -dhave_lrintf -fno-math-errno -dandroid_ndk -ddisable_importgl -fno-strict-aliasing -fprefetch-loop-arrays -davoid_tables -dandroid_tile_based_decode -dandroid_armv6_idct -ffast-math -d__stdc_constant_macros -dx86fix -wa,--noexecstack -wformat -werror=format-security -ic:/users/m/appdata/local/android/sdk/ndk-bundle/platforms/android-14/arch-x86/usr/include -c c:/users/m/desktop/apps/telegram/tmessagesproj/jni/./opus/src/opus_multistream.c -o c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_multistream.o c:/users/m/appdata/local/android/sdk/ndk-bundle/prebuilt/windows/bin/echo.exe [x86] "compile ": "tmessages.27 <= opus_multistream_encoder.c" c:/users/m/appdata/local/android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows/bin/i686-linux-android-gcc -mmd -mp -mf c:/users/m/desktop/apps/telegram/tmessagesproj/build/intermediates/ndkbuild/x86_sdk23/foss/obj/local/x86/objs/tmessages.27/./opus/src/opus_multistream_encoder.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector-strong -o2 -g -dndebug -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -i./jni/opus/include -i./jni/opus/silk -i./jni/opus/silk/fixed -i./jni/opus/celt -i./jni/opus/ -i./jni/opus/opusfile -i./jni/libyuv/include -i./jni/boringssl/include -i./jni/breakpad/common/android/include -i./jni/breakpad -i./jni/ffmpeg/include -i./jni/intro -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -ic:/users/m/appdata/local/android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -ic:/users/m/appdata/local/android/sdk/ndk
Comments
Post a Comment