30
29

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.

端末からapkを引っこ抜きたいけど、それどこにあるん?

Last updated at Posted at 2016-01-12

雑にいきます。

**特定アプリのapkを端末から引っこ抜きたいんだけど(引っこ抜いた後何するかは内緒だぞ)、それどこにあるん?**って場合の対処方法。

以下をadb shellで実行すれば、まあ大体どこにapkがあるかわかる。

※apkを引っこ抜きたいアプリを起動させておく(バックグラウンドでもOK)ことが前提条件

adb shell dumpsys activity activities | grep apk

Android MのNexus5で実行した結果がこんな感じ。

スクリーンショット 2016-01-13 0.08.27.png

うん!わかりやすい!

あとはbaseDirに書いてある内容をコピって、adb pullするだけでいいね。

簡単だね!やったね!!

30
29
1

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
30
29

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?