Skip to content

Conversation

@uilianries
Copy link
Member

@uilianries uilianries commented Nov 25, 2025

Hello!

This blog post is an update to the Level Up Your C++ Game Dev: raylib, the Free CLion, and Conan!, but using Android mobile as its target.

It also covers the outdated blog posts Cross building Boost C++ libraries to Android with Conan and Android Studio project using Conan and C++ Boost libraries, both from 2018. As a feature, I added a warning banner as a deprecation message inside, so users will be aware and will find the new blog post link there:

Screenshot 2025-11-25 at 08-38-52 Android Studio project using Conan and C Boost libraries

The current preview of this blog post 5e9a3bb:

Screenshot 2025-12-09 at 16-28-39 Taking Your Raylib C_C Game to Android with Conan and Android Studio

I still want to update the Examples2 to include this project there, but first, I prefer having it reviewed here.

Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Also, the deprecation warning looks good too

---
layout: post
comments: false
title: "Taking Your Raylib Game to Android: Building with Android Studio and Conan"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title better include C, C++ too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added on the commit f393a72


Here's the complete and updated `native-lib.cpp` file content:

```cpp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is not necessary to have such a large file fully rendered in the post? It is not that readers will read every line, the details are not that relevant for the purpose of this post?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this file is totally based in the previous post, WDYT using a diff instead? It may fit the case, as people will have a reference too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe a collapsed view that can be fully expanded clicking?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added on the commit 445cd85

Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>

---

## Next Steps
Copy link
Contributor

@czoido czoido Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would cut this part as the post is already a bit long and this is not adding so much value, building this in Android is quiet an achievement already.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, removed by commit b74873e

uilianries and others added 2 commits December 4, 2025 15:02
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Comment on lines +347 to +348
[tool_requires]
*: android-ndk/r27
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can leave only this part that is the diff with the previous one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplified by 68c007d

uilianries and others added 3 commits December 9, 2025 16:25
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
@uilianries uilianries requested a review from AbrilRBS December 9, 2025 15:49
uilianries and others added 3 commits December 10, 2025 10:44
Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
@czoido czoido merged commit 10862d6 into conan-io:master Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants