# Android Gradle / SDL2.0.8 issue

**URL:** <https://discourse.libsdl.org/t/android-gradle-sdl2-0-8-issue/24482>\
**Category:** SDL Development\
**Created:** [May 30, 2018, 7:56am UTC](https://discourse.libsdl.org/t/android-gradle-sdl2-0-8-issue/24482 "2018-05-30T07:56:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nullterm](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/nullterm/32/2979_2.png) [@nullterm](https://discourse.libsdl.org/u/nullterm)\
**Post date:** [May 30, 2018, 7:56am UTC](https://discourse.libsdl.org/t/android-gradle-sdl2-0-8-issue/24482/1 "2018-05-30T07:56:43Z")

</div>

I’m in the process of upgrading from the Android ant build process to newer gradle based one. Everything has been straightforward (ndk-build is good), until I hit an ambiguous issue with gradle.

I am attempting to just build armeabi-v7a to keep compile times down.

Not sure if the CreateProcess failures is an indication of the problem.

The only sorta useful feedback is: Android NDK: INTERNAL ERROR: The armeabi ABI should have exactly one architecture definitions. Found: ‘’

```
gradlew installDebug
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:incrementalDebugJavaCompilationSafeguard
:app:javaPreCompileDebug
:app:compileDebugJavaWithJavac
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Stinger\cogbuild\test\sdl\testSDL.build\android-debug\testSDL\app\src\main\java\org\libsdl\app\SDLActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:app:generateJsonModelDebug
process_begin: CreateProcess(NULL, "", ...) failed.
C:/Android/SDK/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting... . Stop.
process_begin: CreateProcess(NULL, "", ...) failed.
process_begin: CreateProcess(NULL, "", ...) failed.
process_begin: CreateProcess(NULL, "", ...) failed.
process_begin: CreateProcess(NULL, "", ...) failed.
process_begin: CreateProcess(NULL, "", ...) failed.
C:/Android/SDK/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting... . Stop.
process_begin: CreateProcess(NULL, "", ...) failed.
C:/Android/SDK/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting... . Stop.
:app:generateJsonModelDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateJsonModelDebug'.
> Build command failed.
Error while executing process C:\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Stinger\cogbuild\test\sdl\testSDL.build\android-debug\testSDL\app\jni\Android.mk NDK_APPLICATION_MK=C:\Stinger\cogbuild\test\sdl\testSDL.build\android-debug\testSDL\app\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=C:/Stinger/cogbuild/test/sdl/testSDL.build/android-debug/testSDL/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Stinger\cogbuild\test\sdl\testSDL.build\android-debug\testSDL\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.
C:/Android/SDK/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting... . Stop.
```

---

<div class="post-metadata">

**Author:** ![torkel](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/t/439d5e/32.png) [@torkel](https://discourse.libsdl.org/u/torkel)\
**Post date:** [June 11, 2018, 10:27am UTC](https://discourse.libsdl.org/t/android-gradle-sdl2-0-8-issue/24482/2 "2018-06-11T10:27:07Z")

</div>

I had the same issue and found a fix on [Stack Overflow](https://stackoverflow.com/questions/50336033/error-android-studio-3-1-2-ndkbuild/50345736#50345736).
