AgentSkillsCN

workflows

Android 项目的快速构建、清理和运行命令(自动运行)

SKILL.md
--- frontmatter
description: Android projesi için hızlı build, clean ve run komutları (otomatik çalışır)

// turbo-all

Build

Projeyi derlemek için:

code
./gradlew assembleDebug

Clean

Build cache ve çıktıları temizlemek için:

code
./gradlew clean

Run

Bağlı cihazda/emülatörde çalıştırmak için:

  1. Cihazları listele:
code
adb devices
  1. Debug APK'yı yükle:
code
adb install -r app/build/outputs/apk/debug/app-debug.apk
  1. Uygulamayı başlat:
code
adb shell am start -n com.example.technews/.MainActivity

Full Build & Run

Temizle, derle ve çalıştır:

code
./gradlew clean assembleDebug && adb install -r app/build/outputs/apk/debug/app-debug.apk && adb shell am start -n com.example.technews/.MainActivity