G
G
GlowMan2018-08-15 20:36:23
Android
GlowMan, 2018-08-15 20:36:23

How to fix such build error in android studio?

Build command failed.


Error while executing process C:\Users\pavel\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\SDL2-2.0.8\android-project\app\jni\Android.mk NDK_APPLICATION_MK=D:\SDL2-2.0.8\android-project\app\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=0 APP_PLATFORM=android-14 NDK_OUT=D:/SDL2-2.0.8/android-project/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=D:\SDL2-2.0.8\android-project\app\build\intermediates\ndkBuild\release\lib APP_PLATFORM=android-14 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}


Android NDK: INTERNAL ERROR: The armeabi ABI should have exactly one architecture definitions. Found: ''    


process_begin: CreateProcess(NULL, "", ...) failed.


*** Android NDK: Aborting...    .  Stop.
Open File


Build command failed.


Error while executing process C:\Users\pavel\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\SDL2-2.0.8\android-project\app\jni\Android.mk NDK_APPLICATION_MK=D:\SDL2-2.0.8\android-project\app\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/SDL2-2.0.8/android-project/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\SDL2-2.0.8\android-project\app\build\intermediates\ndkBuild\debug\lib APP_PLATFORM=android-14 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}


Android NDK: INTERNAL ERROR: The armeabi ABI should have exactly one architecture definitions. Found: ''    


process_begin: CreateProcess(NULL, "", ...) failed.


*** Android NDK: Aborting...    .  Stop.
Open File

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2018-08-15
@DoYouGot

The type of architecture is not specified in Android.mk - the compiler does not know what you are building for.
How to fix - specify the architecture. armeabi parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question