15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Android開発で使うコマンド

Posted at

エミュレーターの起動

emulator -avd エミュレータ名

アプリのインストール

adb install ファイル名.apk

アプリのアンインストール

adb uninstall アプリのパッケージ名

署名の生成

keytool -genkey -v -keyalg <鍵生成の暗号化方式> -keystore <証明書ファイル名> -alias <証明書別名> -validity <有効期限の日数>
keytool -genkey -v -keyalg RSA -keystore d:\tempandroid\techmaru.keystore -alias techkey -validity 10000

署名の確認

keytool -list -keystore <証明書ファイル名>
keytool -list -keystore d:\tempandroid\techmaru.keystore
アプリに署名を設定する
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore <証明書ファイル名> -storepass <パスワード> -keypass <パスワード> <apkファイル名> プロジェクト名
15
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?