Skip to content

Commit 99a8917

Browse files
committed
update build demo script
1 parent 2503672 commit 99a8917

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_demo_apk.cmd

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ rem ============================================================================
1212
SET ProjectPath=%ScriptPath%
1313
SET BuildCmd=%UnityBin% -quit -buildTarget android -batchmode -projectPath "%ProjectPath%"
1414

15+
cd %ProjectPath%
16+
%BuildCmd% -executeMethod AndroidBuilder.BuildWithoutPatch
1517
if not exist "%ProjectPath%\AndroidGradleProject\Test\src\main\bin\com.test.test.apk" (
16-
echo "Build Version1 Failed! Please Rerun %ProjectPath%\AndroidGradleProject\Test\src\main\build_apk.bat to check the error."
18+
echo "Build Failed! Please Rerun %ProjectPath%\AndroidGradleProject\Test\src\main\build_apk.bat to check the error."
1719
exit -1
1820
)
1921

0 commit comments

Comments
 (0)