update agp to 8.13.2,update gradle to 8.13,add build.gradle namespace,use android studio panda 4
9 lines
355 B
Batchfile
9 lines
355 B
Batchfile
# Android Studio Panda 4 运行会报错
|
||
# Couldn't terminate previous instance of app
|
||
# 1. 构建 APK
|
||
./gradlew :app:assembleDebug
|
||
# 2. 直接安装(不主动执行 am force-stop)
|
||
adb install -r -t app/build/outputs/apk/debug/app_debug.apk
|
||
# 3. 启动应用 powershell 可以用";"连接
|
||
adb shell am start -n com.xwad.os/.activity.home.HomeActivity
|