Getting Error on Build

develop
question

#1

Hello,
I have installed all prerequisites and building as given in steps.
But getting below error

Error while executing process /home/optimumanddev2/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/optimumanddev2/Videos/shadowsocks-android-master/core/src/main/jni/Android.mk NDK_APPLICATION_MK=/home/optimumanddev2/Videos/shadowsocks-android-master/core/src/main/jni/Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=0 APP_PLATFORM=android-21 NDK_OUT=/home/optimumanddev2/Videos/shadowsocks-android-master/core/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/optimumanddev2/Videos/shadowsocks-android-master/core/build/intermediates/ndkBuild/release/lib -j4 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
rm -f /home/optimumanddev2/Videos/shadowsocks-android-master/core/build/intermediates/ndkBuild/release/lib/x86/*
rm -f /home/optimumanddev2/Videos/shadowsocks-android-master/core/build/intermediates/ndkBuild/release/lib/x86/gdbserver
rm -f /home/optimumanddev2/Videos/shadowsocks-android-master/core/build/intermediates/ndkBuild/release/lib/x86/gdb.setup
mkdir -p /home/optimumanddev2/Videos/shadowsocks-android-master/core/build/intermediates/ndkBuild/release/obj/local/x86/objs/jni-helper
echo [x86] "Compile++      ": "jni-helper <= jni-helper.cpp"

=========================

Now We removed path of .mk file from build files, after that error is removed but after that it gives Manifest file merging error.

Please help

Thanks


#2

Please follow the official build instructions.


#3

Yes, we are following official instructions.
Doing same:

  • Set environment variable ANDROID_HOME to /path/to/android-sdk
  • (optional) Set environment variable ANDROID_NDK_HOME to /path/to/android-ndk (default: $ANDROID_HOME/ndk-bundle )
  • Clone the repo using git clone --recurse-submodules <repo> or update submodules using git submodule update --init --recursive
  • Build it using Android Studio or gradle script

#4

could you please suggest any solution?


#5

CI builds without problems so if you encountered errors, you didn’t follow the instructions.