Failure [0]
是什么意思?
发生在Android L,Galaxy Note 4最新的AT&T固件上
~root$ adb install wanderlust.apk
4975 KB/s (185182205 bytes in 36.346s)
pkg: /data/local/tmp/wanderlust.apk
Failure [0]
通过logcat详细记录日志...观察者不再存在?
D/PackageManager( 992): New package installed
D/PackageManager( 992): doPostInstall for uid{10276}
D/PackageManager( 992): [MSG] MCS_UNBIND
D/PackageManager( 992): [MSG] SEND_PENDING_BROADCAST
D/PackageManager( 992): [MSG] POST_INSTALL: observer{909958069}
D/PackageManager( 992): Handling post-install for 1
D/PackageManager( 992): delete codoeFile:
D/PackageManager( 992): result of install: 1{909958069}
D/PackageManager( 992): [MSG] CHECK_PENDING_VERIFICATION
D/PackageManager( 992): remove MCS_UNBIND message and Posting MCS_UNBIND 10 secs later
D/PackageManager( 992): [MSG] MCS_UNBIND
D/PackageManager( 992): START_PACKAGE_INSTALL: observer{276791339}
D/PackageManager( 992): originPath{/data/local/tmp/test.apk}
D/PackageManager( 992): [MSG] INIT_COPY: observer{276791339}
D/PackageManager( 992): idx{0}
D/PackageManager( 992): for_user{UserHandle{-1}}
D/PackageManager( 992): [MSG] MCS_BOUND: observer{276791339}
D/PackageManager( 992): for_user{UserHandle{-1}}
D/PackageManager( 992): copyApk
D/PackageManager( 992): [MSG] MCS_RECONNECT
D/PackageManager( 992): [MSG] PROCESS_PENDING_INSTALL: observer{276791339}
D/PackageManager( 992): currentStatus{0}
D/PackageManager( 992): [MSG] POST_INSTALL: observer{276791339}
D/PackageManager( 992): Handling post-install for 2
D/PackageManager( 992): result of install: 0{276791339}
D/PackageManager( 992): [MSG] MCS_BOUND: observer{276791339}
D/PackageManager( 992): for_user{UserHandle{-1}}
D/PackageManager( 992): copyApk
D/PackageManager( 992): remove MCS_UNBIND message and Posting MCS_UNBIND 10 secs later
D/PackageManager( 992): [MSG] PROCESS_PENDING_INSTALL: observer{276791339}
D/PackageManager( 992): currentStatus{-18}
D/PackageManager( 992): [MSG] POST_INSTALL: observer{276791339}
D/PackageManager( 992): Handling post-install for 3
D/PackageManager( 992): result of install: -18{276791339}
I/PackageManager( 992): Observer no longer exists.
D/PackageManager( 992): [MSG] MCS_UNBIND
我有一个相同的错误“安装结果:-18”安装Android Studio和apk的应用程序,在一个可能安装严重SD卡的三星上。我解决了删除问题
android:installLocation="preferExternal"
从清单。