In Progress [2.5.25] [MI-ONE] Email FC [FIXED?]

Discussion in 'Bugs' started by 10-80, May 28, 2012.

  1. 10-80

    10-80Members

    Mar 4, 2012
    91
    2
    18
    Multi Lang version
    Email FC when attempting to open messages.

    Edit:
    I'm new to logcat so not sure if the error is captured in the attached file.
     

    Attached Files:

  2. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    Logcat please.
     
  3. 10-80

    10-80Members

    Mar 4, 2012
    91
    2
    18
    original post updated with logcat
     
  4. boxcarracer81

    Mar 20, 2012
    551
    63
    75
    Male
    the Netherlands
    I believe this is the same bug as on SGS2 with the multi rom, when looking at the log.
     
  5. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    Error extracted:

    Code:
     
    E/AndroidRuntime( 1887): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/btn_yes_off.png from drawable resource ID #0x7f02000c
     
    E/AndroidRuntime( 1887):at android.content.res.Resources.loadDrawable(Resources.java:1949)
     
    E/AndroidRuntime( 1887):at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
     
    E/AndroidRuntime( 1887):at android.widget.TextView.<init>(TextView.java:622)
     
    E/AndroidRuntime( 1887):at android.widget.TextView.<init>(TextView.java:444)
     
    E/AndroidRuntime( 1887):... 44 more
     
    E/AndroidRuntime( 1887): Caused by: java.io.FileNotFoundException: res/drawable-hdpi/btn_yes_off.png
     
    E/AndroidRuntime( 1887):at android.content.res.AssetManager.openNonAssetNative(Native Method)
     
    E/AndroidRuntime( 1887):at android.content.res.AssetManager.op
     
    W/ActivityManager( 313): Force finishing activity com.android.email/.activity.EmailActivity
     
    D/memalloc( 135): ion: Allocated buffer base:0x421f5000 size:368640 fd:35 1000000 0
     
    D/memalloc( 313): ion: Mapped buffer base:0x5fa41000 size:368640 offset:0 fd:340
     
    I/Adreno200-EGLSUB( 135): <CreateImage:896>: Android Image
     
    I/Adreno200-EGLSUB( 135): <GetImageAttributes:1105>: RGBA_8888
     
    W/ActivityManager( 313): Activity pause timeout for ActivityRecord{42a80c68 com.android.email/.activity.EmailActivity}
     
    I/WindowManager( 313): SCREENLAYOUT_SIZE (1:small, 2:normal, 3:large, 4:xlarge) 2
     
    D/PhoneStatusBar( 448): disable: < expand icons alerts ticker system_info back home recent clock >
     
    I/Adreno200-EGLSUB( 571): <ConfigWindowMatch:2081>: Format RGBA_8888.
     
    D/memalloc( 135): ion: Allocated buffer base:0x4252b000 size:1658880 fd:47 1000000 0
     
    D/memalloc( 571): ion: Mapped buffer base:0x5c66e000 size:1658880 offset:0 fd:65
     
    D/memalloc( 135): ion: Allocated buffer base:0x42ed4000 size:1658880 fd:59 1000000 0
     
    D/memalloc( 571): ion: Mapped buffer base:0x5ce1a000 size:1658880 offset:0 fd:77
     
    I/Adreno200-EGLSUB( 135): <CreateImage:896>: Android Image
     
    I/Adreno200-EGLSUB( 135): <GetImageAttributes:1105>: RGBA_8888
     
    D/memalloc( 135): ion: Allocated buffer base:0x433cb000 size:1658880 fd:62 1000000 0
     
    D/memalloc( 571): ion: Mapped buffer base:0x5cfaf000 size:1658880 offset:0 fd:82
     
    I/Adreno200-EGLSUB( 135): <CreateImage:896>: Android Image
     
    I/Adreno200-EGLSUB( 135): <GetImageAttributes:1105>: RGBA_8888
     
    D/StateMachine( 313): handleMessage: E msg.what=131155
    What language were you in?
     
  6. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    I've encountered this error once. The solution is to include those pngs to drawable-xx-hdpi.

    iBotPeaches: take a look at my repo in Email.apk/res/drawable-pl-hdpi.
    It works for me.
     
  7. 10-80

    10-80Members

    Mar 4, 2012
    91
    2
    18
    English
     
  8. Burn2Hell

    Burn2HellMembers

    Apr 3, 2012
    19
    1
    23
    Male
    Moergestel
    If i click on a new email thats shows up in the notification bar and i click on it my email.apk is fc.When i open the email in the email.apk i can open it witouth getting a fc.
     
  9. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    That image is in the package, so this is a tad bit confusing.
     
  10. 10-80

    10-80Members

    Mar 4, 2012
    91
    2
    18
    Bug not present in English v2.6.1 (MI-ONE) so perhaps this is resolved.
     
  11. boxcarracer81

    Mar 20, 2012
    551
    63
    75
    Male
    the Netherlands
    It is not fixed (2.6.1), I still get FC in email app when opening a message :( . Bug is only present in multi rom. (SGS2). The strange thing is that Polski is the only language in the multi rom that doesn't lead to email FC....
     

    Attached Files:

  12. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    It's because I know this bug from beginning and my language (Polski) has this already fixed in my repo ;)

    Wysyłane z mojego Nexus S za pomocą Tapatalk 2
     
  13. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    This is beyond confusing. The image the error is referring to is there. I've double and triple checked.
     
  14. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    Yes ;) The images are there! But when you add them when building resources it will work. Please check my github at Email.apk/res/drawable-pl-hdpi.

    Then add this to your script when building Email.apk
    Code:
    7za a -mx0 -tzip -r $FOLDER_APK/Email.apk res/drawable-pl-hdpi/
    $FOLDER_APK is my path to compiled apks.

    BTW: Also do you correct other Email.apk errors? There are few in values, values-sw600dp and values-sw800dp-port.
     
  15. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    I already am using 7za for that exact thing :eek: thats what is strange. I'm using your fix for all those values-* folders.
     

Share Our Site