我的Android應用程序更新在Marshmallow中顯示錯誤消息「應用程序未安裝」,但它在以前的版本中正常工作。 我使用已簽名的APK更新舊應用&新應用。更新棉花糖上的應用程序時出現「應用程序未安裝」錯誤
我在日誌中收到此錯誤,當我更新的Android One設備上的應用程序(棉花糖)
02-03 11:24:56.025 138-151/? E/Vold: Error creating imagefile (Permission denied)
02-03 11:24:56.025 138-151/? E/Vold: ASEC image file creation failed (Permission denied)
02-03 11:24:56.025 138-151/? W/Vold: Returning OperationFailed - no handler for errno 13
02-03 11:24:56.025 557-607/? D/VoldConnector: RCV <- {400 92 asec operation failed (Permission denied)}
02-03 11:24:56.026 21687-21699/? E/PackageHelper: Failed to create secure container smdl870766772.tmp
02-03 11:24:56.027 21687-21699/? W/DefContainer: Failed to copy package at /storage/emulated/0/KAHMobile-release.apk
java.io.IOException: Failed to create container smdl870766772.tmp
at com.android.defcontainer.DefaultContainerService.copyPackageToContainerInner(DefaultContainerService.java:326)
at com.android.defcontainer.DefaultContainerService.-wrap1(DefaultContainerService.java)
at com.android.defcontainer.DefaultContainerService$1.copyPackageToContainer(DefaultContainerService.java:108)
at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:60)
at android.os.Binder.execTransact(Binder.java:453)
我已經檢查了兩種可能性,並且更新在棒棒糖和其他版本中運行正常,除了marshmellow。 –
嘗試獲取日誌時更新APK和添加有問題 –
我發佈了錯誤日誌 –