Skip to content

Commit 32780c8

Browse files
committed
Change static package name when run in Android by a variable.
1 parent cde4028 commit 32780c8

File tree

1 file changed

+1
-1
lines changed
  • adventure-editor/src/main/resources/projectTmpl/android

1 file changed

+1
-1
lines changed

adventure-editor/src/main/resources/projectTmpl/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ task run(type: Exec) {
9090
}
9191

9292
def adb = path + "/platform-tools/adb"
93-
commandLine "$adb", 'shell', 'am', 'start', '-n', '%PACKAGE%/%PACKAGE%.AndroidLauncher'
93+
commandLine "$adb", 'shell', 'am', 'start', '-n', android.defaultConfig.applicationId + '/%PACKAGE%.AndroidLauncher'
9494
}
9595

9696
// sets up the Android Eclipse project, using the old Ant based build.

0 commit comments

Comments
 (0)