TEST

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

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

  1. 10-80

    10-80 Members

    Trophy Points:
    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:

    • log.txt
      File size:
      14.1 KB
      Views:
      5
  2. Google Adsense

  3. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    Logcat please.
  4. 10-80

    10-80 Members

    Trophy Points:
    18
    original post updated with logcat
  5. boxcarracer81

    boxcarracer81 Members

    Trophy Points:
    75
    I believe this is the same bug as on SGS2 with the multi rom, when looking at the log.
  6. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    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?
  7. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    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.
  8. 10-80

    10-80 Members

    Trophy Points:
    18
    English
  9. Burn2Hell

    Burn2Hell Members

    Trophy Points:
    23
    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.
  10. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    That image is in the package, so this is a tad bit confusing.
  11. 10-80

    10-80 Members

    Trophy Points:
    18
    Bug not present in English v2.6.1 (MI-ONE) so perhaps this is resolved.
  12. boxcarracer81

    boxcarracer81 Members

    Trophy Points:
    75
    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:

  13. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    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
  14. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    This is beyond confusing. The image the error is referring to is there. I've double and triple checked.
  15. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    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.
  16. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    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