Search Unity

Automating Android Studio project builds: what’s the best way?

Discussion in 'Android' started by RecursiveFrog, Jul 11, 2019.

  1. RecursiveFrog

    RecursiveFrog

    Joined:
    Mar 7, 2011
    Posts:
    350
    For reasons outside my control, I need to export an Android Studio project and generate builds from that project instead of directly from Unity.

    I need to do this all in an automated way, so with command line only.

    The problem I’m facing is that once I have the exported Android Studio project, what do I even do with it? It doesn’t have a gradlew file until I try to open it at least once in Android Studio and tell it to create one, but I can’t do that if I’m creating an automated process.

    What am I missing here?