Archive 17/01/2023.

Build failed for android on linux

majhong
  • 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/libUrho3D.so’, needed by ‘…/…/…/…/build/intermediates/cmake/debug/obj/armeabi-v7a/libUrho3DPlayer.so’, missing and no known rule to make it

WangKai

Please see - Build system broken - #9 by weitjong

majhong

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

The correct way is URHO3D_LIB_TYPE=“SHARED”

thanks!