Updated Working for Android (markdown)

master
Oussama Teyib 3 months ago
parent
commit
96dab3990e
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      Working-for-Android.md

+ 9
- 3
Working-for-Android.md

@ -92,12 +92,18 @@ You can build raylib using either **CMake** or **Make**. Follow the steps below
``` ```
- By default, the static library `libraylib.a` will be generated in `raylib/src/` - By default, the static library `libraylib.a` will be generated in `raylib/src/`
3. Build raylib as a shared library:
You can build raylib as a shared library by passing the appropriate option for your build system:
- **CMake**: `-DBUILD_SHARED_LIBS=ON`
- **Make**: `RAYLIB_LIBTYPE=SHARED`
You might also find [this discussion](https://github.com/raysan5/raylib/issues/5114) helpful.
> [!WARNING] > [!WARNING]
> Your Android device may have a 64-bit CPU, but the installed OS could still be 32-bit. Make sure the selected ABI matches your device architecture. > Your Android device may have a 64-bit CPU, but the installed OS could still be 32-bit. Make sure the selected ABI matches your device architecture.
> [!NOTE]
> You can build raylib as a shared library (`-DBUILD_SHARED_LIBS=ON` for CMake, `RAYLIB_LIBTYPE=SHARED` for Make), but this is discouraged due to [known issues](https://github.com/raysan5/raylib/issues/5114).
--- ---
## Implementation for Android Studio ## Implementation for Android Studio

Loading…
Cancel
Save