Jump to content

Android - Error when trying to install


Recommended Posts

Hi,  Just bought the android client but I can't install in on my Tablet with Android 4.3.  I get an error saying "Couldn't install on USB storage or SD card".  Other apps install just fine and I even tried to wipe everything as I want to use it for MB3 mainly but still it's the same error.

 

Found others who had the same problem with some apps but the suggestions to dismount my SD card ord to delete some hidden files didn't help me , but there must be something that your installer is doing that other apps doesn't. :unsure:

 

Please advise.

 

 

Link to post
Share on other sites
Redshirt

Have you tried going to the google play store app in settings->apps and clicking clear data? Then trying to install.

Link to post
Share on other sites

Have you tried going to the google play store app in settings->apps and clicking clear data? Then trying to install.

 

I did a complete reinstall  of my tablet so yes , every cache was cleared.  and no other apps installed.

 

Im using this rom --> http://www.slatedroid.com/topic/89290-custom-rom-cyanogenmod-102-431-by-christiantroy-update-2013-11-30/

 

In this http://www.slatedroid.com/topic/89290-custom-rom-cyanogenmod-102-431-by-christiantroy-update-2013-11-30/page__view__findpost__p__1042377 post they talk about a workaround but to do that I need to have the app as and APK file.    I used to run the beta by installing the APK and that worked fine.

 

Best Regards

Link to post
Share on other sites
Redshirt

I'm not sure what is going on here. I'm not building any installer. My app is uploaded to the Play Store as an apk and Google handles the deployment on the client. So I have no control over what happens there. 

 

Since your tablet is obviously rooted, I'd suggest installing any one of the logcat tools from the Play Store and capturing a log of the install process, it might shed some light on why the install is failing.

Link to post
Share on other sites

Hi , took me some time but now I have a log that might shead some light.

01-13 23:06:09.383  3783  7129 I DownloadManager: Download 59 starting

01-13 23:06:12.703  3610  3894 I ActivityManager: START u0 {act=com.android.systemui.recent.action.TOGGLE_RECENTS flg=0x10800000 cmp=com.android.systemui/.recent.RecentsActivity (has extras)} from pid 3692

01-13 23:06:14.383  3783  7129 I DownloadManager: Download 59 finished with status SUCCESS

01-13 23:06:14.393  6499  6499 D Finsky  : [1] DownloadBroadcastReceiver.onReceive: Intent received at DownloadBroadcastReceiver

01-13 23:06:14.403  6499  6499 D Finsky  : [1] DownloadQueueImpl.notifyProgress: com.mb.android: onProgress 2921929/2921929 Status: 200.

01-13 23:06:14.403  6499  6499 D Finsky  : [1] DownloadImpl.setState: com.mb.android from DOWNLOADING to SUCCESS.

01-13 23:06:14.413  6499  6499 D Finsky  : [1] DownloadQueueImpl.onComplete: com.mb.android: onComplete

01-13 23:06:14.413  6499  6499 D Finsky  : [1] DownloadQueueImpl.remove: Download com.mb.android removed from DownloadQueue

01-13 23:06:14.413  2367  2367 I installd: free_cache(0) avail 641683456

01-13 23:06:14.513  6499  6499 D Finsky  : [1] OnCompleteListenerNotifier.onPostExecute: Install encrypted com.mb.android

01-13 23:06:16.333  3610  3631 W ActivityManager: No content provider found for permission revoke: file:///data/data/com.android.providers.downloads/cache/downloadfile.apk

01-13 23:06:16.403  2345  3297 I make_ext4fs: file_context_open: Error getting file context handle (No such file or directory)

01-13 23:06:16.403  2345  3297 I make_ext4fs: No such file or directory

01-13 23:06:16.413  2345  3297 I make_ext4fs: make_ext4fs terminated by exit(1)

01-13 23:06:16.413  2345  3297 E Vold    : Format (ext4) failed (unknown exit code 1)

01-13 23:06:16.413  2345  3297 E Vold    : ASEC fs format failed (I/O error)

01-13 23:06:16.483  5255  5267 E PackageHelper: Failed to create secure container smdl2tmp1

01-13 23:06:16.483  5255  5267 E DefContainer: Failed to create container smdl2tmp1

01-13 23:06:16.483  3610  3631 W ActivityManager: No content provider found for permission revoke: file:///data/app-private/vmdl562422794.tmp

01-13 23:06:16.583  6499  6510 D Finsky  : [232] 1.packageInstalled: Package install status for "null" is -18

01-13 23:06:16.603  6499  6499 D Finsky  : [1] InstallerTask.cancelCleanup: Cancel running installation of com.mb.android

Link to post
Share on other sites
Redshirt

So that error points to your sd card. It can't create a secure partition to install the app. I do not declare in my AndroidManifest.xml that it should prefer external storage, so I'm not sure what the deal is there. I wonder if it's a bad OS rom, but that's a pita to verify.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...