Build failed with ndk
mehulTank opened this issue · comments
i am compiling this project but i am not build successfully i am getting this type of error any one help me solve this error
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/mehul/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk NDK_APPLICATION_MK=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/develop/release/obj NDK_LIBS_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/develop/release/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: /home/mehul/Mehul: No such file or directory
Open File
ERROR: data/Data/test: No such file or directory
Open File
ERROR: pjkt/OcrDemo/textfairy-master/app/Application.mk: No such file or directory
Open File
SIMPLE: Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk
ERROR: *** Android NDK: Aborting... . Stop.
Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/mehul/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk NDK_APPLICATION_MK=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/playstore/debug/obj NDK_LIBS_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/playstore/debug/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: /home/mehul/Mehul: No such file or directory
Open File
ERROR: data/Data/test: No such file or directory
Open File
ERROR: pjkt/OcrDemo/textfairy-master/app/Application.mk: No such file or directory
Open File
SIMPLE: Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk
ERROR: *** Android NDK: Aborting... . Stop.
Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/mehul/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk NDK_APPLICATION_MK=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/playstore/release/obj NDK_LIBS_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/playstore/release/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: /home/mehul/Mehul: No such file or directory
Open File
ERROR: data/Data/test: No such file or directory
Open File
ERROR: pjkt/OcrDemo/textfairy-master/app/Application.mk: No such file or directory
Open File
SIMPLE: Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk
ERROR: *** Android NDK: Aborting... . Stop.
Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/mehul/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk NDK_APPLICATION_MK=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/develop/debug/obj NDK_LIBS_OUT=/home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/build/intermediates/ndkBuild/develop/debug/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: /home/mehul/Mehul: No such file or directory
Open File
ERROR: data/Data/test: No such file or directory
Open File
ERROR: pjkt/OcrDemo/textfairy-master/app/Application.mk: No such file or directory
Open File
SIMPLE: Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/mehul/Mehul data/Data/test pjkt/OcrDemo/textfairy-master/app/Android.mk
ERROR: *** Android NDK: Aborting... . Stop.
Open File
You don't need to run ndk-build manually. Just do /gradlew app:assembleDevelopDebug