fallahn / sdl2vs Goto Github PK
View Code? Open in Web Editor NEWExample Visual Studio Solution for SDL2 projects on Android.
Example Visual Studio Solution for SDL2 projects on Android.
I can get this to build properly using libc++_static, but not libc++_shared, is it possible? What specific things do I need to do to get that to work?
solution explorer in vs have 3 project(main - SDL2- SDL2_GradleApp). but source directory have 4 project(extra SDL2_Application).
1>------ Build started: Project: SDL2_GradleApp, Configuration: Debug x86 ------
1>ANDROID_HOME=C:\Microsoft\AndroidSDK\25
1>ANT_HOME=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Apps\apache-ant-1.9.3
1>JAVA_HOME=C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25
1>NDK_ROOT=C:\Microsoft\AndroidNDK64\android-ndk-r16b
1>ANDROID_NDK_HOME=C:\Microsoft\AndroidNDK64\android-ndk-r16b
1>
1>FAILURE: Build failed with an exception.
1>
1>* What went wrong:
1>A problem occurred configuring project ':app'.
1>> Exception thrown while executing model rule: BaseComponentModelPlugin.Rules#createAndroidComponents
1> > failed to find target with hash string 'android-26' in: C:\Microsoft\AndroidSDK\25
1>
1>* Try:
1>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
1>
1>BUILD FAILED
1>
1>Total time: 6.0 secs
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\MDD\Android\V150\Android.Common.targets(532,5): error MSB3073: The command "gradlew.bat -p "C:\Users\fawaz\Desktop\sdl2vs-master\sdl2vs-master\SDL2_GradleApp\app" assemblex86Debug" exited with code 1.
1>Done building project "SDL2_GradleApp.androidproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Having lots of problems trying to build on VS 2022. Probably needs to be updated.
Also not sure how to changed JAVA_HOME. It seems to ignore my environment variable.
From a comment by brianJt on the blog post
"I have removed the use of that library from SDLActivity.java line 253 and the example runs. However it runs twice. From what I've read this may be the result of there being an AndroidManifest.xml also in the SD2 library build. Removing it from the ARM build made it run only once though not from the x86 build (possibly a manifest was still sticking around due to incremental builds)."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.