Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコマンドでcmdを介してapkをインストールして実行する方法を知っています:
adb install SimpleClientActivity.apk
と:
adb shell am start -n com.example.simpleclientactivity/.SimpleClientActivity
接続されているすべてのデバイスでこのコマンドを実行するにはどうすればよいですか?
こことここに答えがあります。
Maven を使用してプロジェクトをビルドし、クリーン インストール後に次のように入力することもできますmvn android:deploy android:run。
mvn android:deploy android:run