Failure [INSTALL_FAILED_INVALID_APK]$ adb shell pm uninstall Unknown failure (Failure)Error while Installing APK
Introduction
USBデバッグがコケる(インストールができない)解決方法を 毎回忘れて調べるのでメモ
root端末(であることが原因かも調べてないが)で、年に1回くらい起きる
About
自分の場合はこれ。
7 How to solve this issue:
Install RootExplorer
Create new tmp folder on SD card
Long press on tmp folder, and select Link to this folder (last option in menu)
Go to /data/local/ and tap button CREATE LINK from bottom
How to
で、RootExplorerって有料みたいなんで、adbからやる。
>adb shell ln -s /storage/sdcard0/tmp /data/local/tmp
以上。
シンボリックリンクが消えちゃうのかなぁ?
root端末じゃないとadb shell ln ははじかれそうな予感。でも、root端末でしか起きてないんだよなぁ。
解決すりゃなんでもいいです。