Build failed for android on linux

  • What went wrong:
    Execution failed for task ‘:android:launcher-app:externalNativeBuildDebug’.

Build command failed.
Error while executing process ninja with arguments {-C /root/Urho3D/android/launcher-app/.cxx/cmake/debug/armeabi-v7a Urho3DPlayer}
ninja: Entering directory `/root/Urho3D/android/launcher-app/.cxx/cmake/debug/armeabi-v7a’

ninja: error: ‘/root/Urho3D/android/urho3d-lib/.cxx/cmake/debug/armeabi-v7a/lib/’, needed by ‘…/…/…/…/build/intermediates/cmake/debug/obj/armeabi-v7a/’, missing and no known rule to make it

Please see - Build system broken - #9 by weitjong

Compiled successfully, I made a mistake on " URHO3D_LIB_TYPE=SHARED"

The correct way is URHO3D_LIB_TYPE=“SHARED”


1 Like