- Home /
Unity and Android. How yo manage build pipelines?
I need help with Unity and Android. I am familiar with Android development (Android Studio + Gradle) and I just started to learn Unity. I have exported my game as Android project and I was able to import it in Android Studio. There are still some missing parts in the pipeline that I still not get:
Every time I need a fix in Unity I need to export the project again?
Is there any kind of documentation that describes the full process with details?
How to integrate google play services? I found this online: https://github.com/playgameservices/play-games-plugin-for-unity. Is this the right/best way?
What if I want to use a custom android library? How to integrate it in Unity?
Thanks.
Answer by tkamruzzaman · Nov 29, 2016 at 12:39 PM
You can build for android directly from Unity.
https://docs.unity3d.com/Manual/android-sdksetup.html then https://unity3d.com/learn/tutorials/topics/mobile-touch/building-your-unity-game-android-device-testing
Yes this is the right way (as far as I know).
You can build your own custom android library (https://docs.unity3d.com/Manual/PluginsForAndroid.html) or use other third party libraries. Just put them (.aar or .jar files) in 'Assets\Plugins\Android' folder.
Thanks for the reply, ok for the point 2 but what happen if after release the game I need to fix some bugs... Do I need to export the "android project" again?
Your answer
Follow this Question
Related Questions
Why does loading music files at runtime in android using www class takes a lot of time? 0 Answers
Cannot build for android with facebook sdk -- Unity 5.4.0f3 1 Answer
CommandInvokationFailure: Failed to re-package resources. 0 Answers
when I switch to android platform unity is getting really slow 0 Answers