mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated Working for Android (markdown)
@ -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/`
|
||||
|
||||
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]
|
||||
> 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
|
||||
|
||||
Reference in New Issue
Block a user