I have tried to get Rajawali 3D engine work with Android Studio. After some searching on Google with no success, I have realized that I'll have to do it myself.
You can just download Android Studio ready version from here https://github.com/sajmons/Rajawali and run gradlew build from Command prompt for same effect.
If you find this tutorial useful please share it with your friends.
My goal was to have two different flavors for my Android application build. One for free and one for paid version. Paid version would be published to slide.me and Amazon app store.
I'm new to gradle build system, so my first attempt was quite good but not perfect. I have managed to get two different flavors but the problem was that advertising libraries that should be linked only to the free version, were linked to the paid version too.
Amazon had no problems with that and they accepted both version, but guys at slide.me were a lot more demanding. They run analysis of apk that I have send them and they discovered traces of advertising libraries. With slide.me it's not enough just to remove ads from app, they demand that there is no traces of advertising libraries inside apk.
After a lot of Goggling I have finally came up with solution that works great. I will not go into details because final gradle build file will probably help you more than thousand words.
Here it is. Gradle build file with many flavors and with custom dependencies for each of them. I think It can be a great start for your own Android project.
1-2 of 2