-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android example does not provide the build files and directory structure for the Gradle build system #1311
Comments
I am having trouble with the android example as well, it needs to be updated. Please update the tutorial as well |
@isubasinghe You can have a look at the pull request, #1315. |
@pjmlp Thanks, I will try to compile it now. |
I couldnt get it to work still : ( , oh well. Android support is still experimental isnt it, its not worth trying to make my game in SFML when I could just use libgdx right? , since android is supported there, and most importantly I can get it to compile. |
If you are fine with Java/Kotlin than it is probably better, unless you are quite comfortable with the NDK. Have you tried to compile SFML with -DANDROID_STL=stlport_shared as explained on the Wiki? |
Yeah I am fine with using Java and I haven't really messed with the NDK before this. I got it to compile though, I had to change the gradle version to 4.1 and add Thanks for the help and updating the Android build files. |
Ill probably stick to libgdx though for my Release version, I will rewrite it in SFML just for fun though. |
Dunno, why this is on undiced, as NDK build, is considered deprecated for a long time, may someone enlighten me? In any case here is a (somewhat incomplete) example. |
Simply a lack of time in combination with not having all potential related issues in mind when working on a PR or anything similar. Building for Android has been updated in pull request #1350 and the last open adjustments to build the example with gradle are on my HDD, waiting for a few fixes and being pushed as a new PR. |
This issue can be closed as this was already updated in SFML 2.5 in #1393 |
The provided Android example under examples/android/ does not provide the Android Studio project file structure, still makes use of the deprecated ndk-build files and does not provide the necessary Gradle configuration files.
I already have a private fork with these issues sorted out and can gladly do a push request.
The text was updated successfully, but these errors were encountered: