-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·10 lines (10 loc) · 774 Bytes
/
run.sh
File metadata and controls
executable file
·10 lines (10 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
if [ $1 = "-" ]; then
echo ---------------------------------------------------------更新load-assets-7z---------------------------------------------------------
./gradlew -P userPlugin=false :load-assets-7z:upload
fi
echo ---------------------------------------------------------开始构建APK---------------------------------------------------------
./gradlew :app:clean :app:assembleDebug
echo --------------------------------------------------------- 安装APK ---------------------------------------------------------
adb install -r -t -d ./app/build/outputs/apk/debug/app-debug.apk
echo --------------------------------------------------------- 启动APK ---------------------------------------------------------
adb shell am start com.imf.test/.MainActivity