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


10-80

Members
Mar 4, 2012
91
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.
 

Attachments

  • log.txt
    14.1 KB · Views: 322
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?
 
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.
 
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.
 
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....
 

Attachments

  • logcat.txt
    29.1 KB · Views: 300
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
 
This is beyond confusing. The image the error is referring to is there. I've double and triple checked.
 
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.
 
I already am using 7za for that exact thing :eek: thats what is strange. I'm using your fix for all those values-* folders.