Skip to content

Commit cfdf67a

Browse files
committed
test export android project
1 parent 8d305b8 commit cfdf67a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public static bool ExportGradleProject()
128128
string error_msg = string.Empty;
129129
string[] levels = new string[] { "Assets/AndroidIl2cppPatchDemo/Scene/0.unity" };
130130
BuildOptions options = BuildOptions.None;
131+
EditorUserBuildSettings.exportAsGoogleAndroidProject = true;
131132
if (Directory.Exists(ANDROID_EXPORT_PATH)) { FileUtil.DeleteFileOrDirectory(ANDROID_EXPORT_PATH);}
132133
Directory.CreateDirectory(ANDROID_EXPORT_PATH);
133134
try

0 commit comments

Comments
 (0)