deploy

Deploy Canvas Android apps to connected devices via adb and Gradle.

153|115|Updated Apr 3, 2019
One-click install
npx skills add https://github.com/instructure/canvas-android --skill deploy-instructure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/instructure/canvas-android/tree/main/apps/.claude/skills/deploy
Command: npx skills add https://github.com/instructure/canvas-android --skill deploy-instructure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you install and launch Canvas Android apps on connected devices or emulators, making deployment repeatable and quick.

Core Features & Use Cases

  • Check Connected Devices: Verify devices/emulators are available before deployment.
  • Install to Device: Install Student, Teacher, and Parent apps on a device or emulator.
  • Launch App: Start apps using adb commands.
  • Targeting: Use device serial or adb -s to direct a deployment.

Quick Start

Connect a device or start an emulator, then run:

  • Install Student: ./gradle/gradlew -p apps :student:installDevDebug
  • Install Teacher: ./gradle/gradlew -p apps :teacher:installDevDebug
  • Install Parent: ./gradle/gradlew -p apps :parent:installDevDebug
  • Launch via adb: adb shell monkey -p com.instructure.candroid -c android.intent.category.LAUNCHER 1

Frequently Asked Questions about deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install Canvas Android apps on a device or emulator?

Install Canvas Android apps using Gradle from the repository root. Run ./gradle/gradlew -p apps :student:installDevDebug, :teacher:installDevDebug, or :parent:installDevDebug to deploy the Student, Teacher, or Parent app to a connected device or emulator via adb.

How do I check which Android devices or emulators are connected?

Verify connected devices before deployment using adb devices, which lists all available Android devices and emulators with their serial numbers and connection status.

Can I deploy to a specific Android device using adb?

Yes, target a specific device by its serial number using adb -s [serial], directing Gradle installation and app launches to that device or emulator instead of all connected devices.

How do I launch a Canvas app after installing it on Android?

Launch installed Canvas apps using adb shell monkey with the app package name; for example, adb shell monkey -p com.instructure.candroid -c android.intent.category.LAUNCHER 1 starts the app on the connected device.

Does Canvas deployment work with Android emulators?

Yes, Canvas Android app deployment works with both physical devices and emulators. Start an emulator, verify it appears in adb devices, then run the same Gradle installation and adb commands as you would for a physical device.

How do I clear app data or uninstall Canvas apps from Android?

Clear app data and uninstall Canvas apps using adb commands: adb shell pm clear [package-name] removes app data, and adb uninstall [package-name] removes the app entirely from the connected device.