Skip to content

Commit 2428df1

Browse files
committed
Android:新增一键清除编译缓存的Windows批处理文件;解决用 Android Studio 3.x 直接打包的 Debug APK 不能手动或通过 ADB 命令安装
1 parent a3811e4 commit 2428df1

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
RD /S /Q build
2+
3+
cd APIJSONLibrary
4+
RD /S /Q build
5+
cd ..
6+
7+
cd app
8+
RD /S /Q build
9+
cd ..
10+
11+
cd QRCodeLibrary
12+
RD /S /Q build
13+
cd ..
14+
15+
cd ZBLibrary
16+
RD /S /Q build
17+
cd ..
18+
19+
pause
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
RD /S /Q build
2+
3+
cd app
4+
RD /S /Q build
5+
cd ..
6+
7+
pause

APIJSON-Android/APIJSONApp/gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@
1515
# When configured, Gradle will run in incubating parallel mode.
1616
# This option should only be used with decoupled projects. More details, visit
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18-
# org.gradle.parallel=true
18+
# org.gradle.parallel=true
19+
20+
android.injected.testOnly=false //解决用 Android Studio 3.x 直接打包的 Debug APK 不能手动或通过 ADB 命令安装

0 commit comments

Comments
 (0)