LunarConsole doesn't have a series of build instructions if you want to modify the source yourself. Here is what we found from our own testing:
- Open the Android project specifically in Android Studio at
lunar-unity-console/Native/Android/LunarConsole
- Go into the menu and select
Build -> Make Project. If it asks to install Android tools API 29, do it.
- It may also give you an error about not having a class.jar dependency, ignore that for now.
- There should now be a lunarConsole app in your project view, and a Gradle build file associated with it. You can find this under the Gradle Scripts dropdown. There may be multiple build.gradle files so just find the one that has the getUnityDependencyJar method.
- Update that getUnityDependencyJar method to point to your local Unity installation’s path for the classes.jar file.
- It will most likely be under
Unity Install Here/PlaybackEngines/AndroidPlayer/Variations/mono/Development/Classes
- Make the lunarConsole module. If you have the correct gradle file open you can just do
Build -> Make Module.
- The .aar output should be in
lunarConsole/build/outputs/aar/
- Copy the .aar into the LunarConsole third party folder in Unity in order to use it
LunarConsole doesn't have a series of build instructions if you want to modify the source yourself. Here is what we found from our own testing:
lunar-unity-console/Native/Android/LunarConsoleBuild->Make Project. If it asks to install Android tools API 29, do it.Unity Install Here/PlaybackEngines/AndroidPlayer/Variations/mono/Development/ClassesBuild->Make Module.lunarConsole/build/outputs/aar/