Repository navigation
Installation
minerkid08 edited this page Jun 13, 2026
·
3 revisions
Download the Quick start from the latest release.
Copy the dynamicopmodeloader.aar file into the project root and the lua directory to TeamCode/src/main/java.
Open build.gradle for the teamcode module. Add this line to the dependencies block
implementation files(getProjectDir().parent + "/opmodeloader.aar")Add these lines to the end of the file.
def quickStartDir = "/src/main/java/lua"
quickStartDir = getProjectDir().toString() + quickStartDir;
def sdkDir = "";
def file = new File("local.properties");
file.eachLine {
if(it.startsWith("sdk.dir="))
sdkDir = it.split("sdk.dir=")[1];
}
tasks.register('uploadAdb', Exec) {
def adb = "$sdkDir/platform-tools/adb"
ignoreExitValue = true
commandLine adb, "push", "$quickStartDir/lua", "/sdcard/lua"
}
tasks.register('upload', Exec) {
def prgm = "$quickStartDir/pack"
workingDir = quickStartDir
commandLine prgm
}Note: Make sure that the quickStartDir variable points to the place you put the quickstart.
Open the Edit Run Configurations window. Add two gradle tasks, one with the name "Upload Adb" and task ":TeamCode:uploadAdb", and the other one with the name "Upload" and task ":TeamCode:upload"
Then do a gradle sync and everything should be installed.