Compile Android plug-in from Java source files while building project

Maybe there is way how to make Unity to build Android plug-in from Java source files, when building a project using Gradle?

Not sure, but you can Export the project from Unity, and should be able to open it in Android Studio. On the Build dialog, there is the option to Export.

1 Like

@amjaliks this feature is right now in development and is planned to be added to Unity soon.

EDIT: what @JeffDUnity3D suggested is correct at the moment.