1、编译release实例脚本如下: @echo off set debugOrRelease=Release set baseOutPath=%debugOrRelease% rem 当前脚本所在路径 set build_root = %~dp0 rem vcvarsall.bat所在的路径: set vcvars="%VS120COMNTOOLS%../../VC/vcvarsall
为了方便在模拟器里部署apk程序,把文件拖到批处理上即可。 push.bat echo off ::在这里定义好adb.exe所在的文件夹路径 set adb_dir=J:\android\android-sdk-windows\platform-tools set file=%1 set str=%file% :loop set str=%str:*\=% echo %str% | fi