GameCodingNinja
2016-10-29 17:45:50 UTC
In my experience, Android Studio's native compile is gimped due to their "experimental gradle". I have not been able to get it to work corectly. This has nothing to do with SDL supporting "Native Activity".
This is what you should try to do first. In the SDL/docs folder is a file called README-android.md. This assumes you are trying to build your Android files on Linux. The read-me shows you how to use the provided scripts to build an Android project and deploy it on your Android device with Ant. It's actually quite simple to do and if you can get the sample project to compile and deploy it to your phone and see it working, then it's just a matter of using that project as a template for your game.
This is what you should try to do first. In the SDL/docs folder is a file called README-android.md. This assumes you are trying to build your Android files on Linux. The read-me shows you how to use the provided scripts to build an Android project and deploy it on your Android device with Ant. It's actually quite simple to do and if you can get the sample project to compile and deploy it to your phone and see it working, then it's just a matter of using that project as a template for your game.