Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 3 of 3
  1. Thread Author  Thread Author    #1  

    Default SDK: [Install_Failed_Dexopt] Solution?

    Hello all
    I am having some trouble with SDK installing apps to my Android. I've tried to find many forums about my issue, but I've hit a brick wall every time. My rooted device is an LG Optimus C running Android 2.2 (ancient lol). My issue is that I'm getting the error: Failure [INSTALL_FAILED_DEXOPT] for every app I try to install. I've wiped the device twice and then found out that this error happens every time after I've installed a good amount of apps...which I read somewhere that this will happen because of not having enough space in Dalvik..or in the data area and won't allow the install to write anything else..correct me if I'm wrong on this I've also cleared all caches multiple times, including Dalvik.

    I've also tried the work around where you try and skip that all together and put the app straight into /system /app. That came up with no resolution, even with the correct properties selected (read/write/execute etc). So now, I really have no other avenues left but to come here and ask.

    Here is the Logcat results I get using adb install -r app.apk no matter what app it is. I will use tumblog.apk (compatible with device) for this example:


    D/AndroidRuntime( 4201):
    D/AndroidRuntime( 4201): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
    I/AndroidRuntime( 4201): Heap size: -Xmx32m
    D/AndroidRuntime( 4201): CheckJNI is OFF
    D/AndroidRuntime( 4201): Calling main entry com.android.commands.pm.Pm
    W/ActivityManager( 1356): No content provider found for:
    W/ActivityManager( 1356): No content provider found for:
    D/PackageParser( 1356): Scanning package: /data/app/vmdl-166230949.tmp
    D/PackageManager( 1356): Scanning package com.luckydroid.tumblelog
    E/PackageManager( 1356): Package com.luckydroid.tumblelog has mismatched uid: 10060 on disk, 10061 in settings
    I/PackageManager( 1356): Linking native library dir for /data/app/com.luckydroid.tumblelog-1.apk
    D/installd( 1256): DexInv: --- BEGIN '/data/app/com.luckydroid.tumblelog-1.apk'---
    D/dalvikvm( 4211): Zip inflate: partial write (will retry): (24536 of 32768)
    E/dalvikvm( 4211): Zip inflate: write failed: No space left on device
    W/dalvikvm( 4211): DexOptZ: extraction of classes.dex from /data/app/com.luckydroid.tumblelog-1.apk failed
    W/installd( 1256): DexInv: --- END '/data/app/com.luckydroid.tumblelog-1.apk' --- status=0xff00, process failed
    E/installd( 1256): dexopt failed on '/data/dalvik-cache/data@app@com.luckydroid.tumblelog-1.apk@classes.dex' res = 65280
    W/PackageManager( 1356): Package couldn't be installed in /data/app/com.luckydroid.tumblelog-1.apk
    D/AndroidRuntime( 4201): Shutting down VM
    I/AndroidRuntime( 4201): NOTE: attach of thread 'Binder Thread #3' failed
    D/jdwp ( 4201): adbd disconnected

    I really have no clue what any of this means lol...pretty new to logcat. I am aware of the file name not matching the original name of the apk..shouldn't matter considering I've installed many apps with shortened names. Any help would be greatly appreciated! Thanks

    EDIT: Looks like "E/dalvikvm( 4211): Zip inflate: write failed: No space left on device" is the problem in dalvik. Still don't know how to get around this problem though.
  2. Thread Author  Thread Author    #2  

    Default Re: SDK: [Install_Failed_Dexopt] Solution?

    Bump
  3. Thread Author  Thread Author    #3  

    Default Re: SDK: [Install_Failed_Dexopt] Solution?

    Is this not posted in the correct forum? I'm just guessing no one knows of a solution?

Similar Threads

  1. i want to use fb sdk on my application ...
    By waleed az in forum Google Nexus 5
    Replies: 0
    Last Post: 04-05-2014, 06:54 AM
  2. Bluetooth Keyboard Disconnecting Issue (Has anyone found a solution yet?)
    By SpookDroid in forum Samsung Galaxy Note 10.1 (2014)
    Replies: 7
    Last Post: 04-03-2014, 02:03 PM
  3. Solution(?) for 'mediaserver' eating your battery life?
    By jim_h#AC in forum Samsung Galaxy Note 3
    Replies: 2
    Last Post: 04-01-2014, 06:05 AM
  4. Having problems charging your Galaxy S3 CHARGING SOLUTION
    By Tom Caddick in forum Samsung Galaxy S3 I9300
    Replies: 1
    Last Post: 03-24-2014, 12:59 PM
  5. Replies: 2
    Last Post: 03-21-2014, 12:36 PM

Posting Permissions