Hi All,
I've installed Paranoid Android 3.15, it works fine except when I install email+exchange packages with policy modded. After some minutes email start to crash and it never ends .
Below the log:
W/dalvikvm( 5178): threadid=1: thread exiting with uncaught exception (group=0x4
1d09a08)
E/AndroidRuntime( 5178): FATAL EXCEPTION: main
E/AndroidRuntime( 5178): java.lang.RuntimeException: Unable to bind to service [email protected] with Intent { act=com.android.email.POLICY_INTENT }: java.lang.SecurityException: No active admin ComponentInfo{com.android.email/com.android.email.SecurityPolicy$PolicyAdmin}
E/AndroidRuntime( 5178): at android.app.ActivityThread.handleBindService(ActivityThread.java:2700)
E/AndroidRuntime( 5178): at android.app.ActivityThread.access$1700(ActivityThread.java:156)
E/AndroidRuntime( 5178): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1337)
E/AndroidRuntime( 5178): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5178): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5178): at android.app.ActivityThread.main(ActivityThread.java:5234)
E/AndroidRuntime( 5178): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 5178): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5178): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 5178): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 5178): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5178): Caused by: java.lang.SecurityException: No active admin ComponentInfo{com.android.email/com.android.email.SecurityPolicy$PolicyAdmin}
E/AndroidRuntime( 5178): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 5178): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 5178): at android.app.admin.IDevicePolicyManager$Stub$Proxy.setPasswordQuality(IDevicePolicyManager.java:889)
E/AndroidRuntime( 5178): at android.app.admin.DevicePolicyManager.setPasswordQuality(DevicePolicyManager.java:295)
E/AndroidRuntime( 5178): at com.android.email.SecurityPolicy.setActivePolicies(SecurityPolicy.java:457)
E/AndroidRuntime( 5178): at com.android.email.SecurityPolicy.<init>(SecurityPolicy.java:87)
E/AndroidRuntime( 5178): at com.android.email.SecurityPolicy.getInstance(SecurityPolicy.java:74)
E/AndroidRuntime( 5178): at com.android.email.service.PolicyService.onBind(PolicyService.java:75)
E/AndroidRuntime( 5178): at android.app.ActivityThread.handleBindService(ActivityThread.java:2687)
E/AndroidRuntime( 5178): ... 10 more
Have you some idea ?
So I am having an issue I cannot work out on my own regarding xml layouts. I have, for the last couple of weeks, been working and learning deeper level xml edits, and have worked out quite a bit on my own, but this one has me stumped. I am trying to add images into systemui, in particular to tw_status_bar_expanded. I have managed to center certain pieces of text, but now I wish to add images to either side of the text, just to add a touch of flare. This is a mock up of what I want it to look like in photoshop; the lines on either side of ongoing and notifications would be the image files. I do need them to to be images, and not blocks declared in xml, for other plans I have for those images.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I got the text centered, drew up a fresh ninepatch file to handle the stretching called notification_accent.9.png, and wrote up some xml code that I had hoped would display the images. The image is stored in res/drawable-xhdpi. But, when I flash the new systemui to my phone, it just repeatedly force closes.
I am sure there are several issues you can see immediately with the following brick of code. I am sure that using fill_parent on the text will override the images, which I will need to work out. But I cannot understand why it is force closing. Here is the bit of code:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/notificationCart" android:background="#ff000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_expanded_notification_category_height">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="left|center" android:layout_width="wrap_content" android:padding="2.0dip" android:layout_height="@dimen/status_bar_expanded_notification_category_height" android:src="@drawable/notification_accent" android:scaleType="fitXY" />
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="center" android:id="@id/latestNotificationText" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/status_bar_latest_events_title" android:layout_alignParentLeft="false" />
<ImageView android:layout_gravity="right|center" android:layout_width="wrap_content" android:padding="2.0dip" android:layout_height="@dimen/status_bar_expanded_notification_category_height" android:src="@drawable/notification_accent" android:scaleType="fitXY" />
</LinearLayout>
</LinearLayout>
If anyone can give me any kind of insight, it would be very much appreciated. Like I said, I have been trying to learn how to do this on my own, and have done decently so far - but this one just eludes me. If you can help me figure it out, you will get a huge thanks when i post this in themes and apps on the l900 forms as well as in the roms I build that use this.
The logcat would be very useful! And if you could post the code between code tags [ code ] without spaces that'd be better too!
Kryten2k35 said:
The logcat would be very useful! And if you could post the code between code tags [ code ] without spaces that'd be better too!
Click to expand...
Click to collapse
I fixed the code - sorry about that, I posted it up in a hurry last night and didn't have time to fight the formatting. As for a logcat: I ran and I (believe) I have isolated the bit regarding the crash. Not sure that I know what a class inflation error is.
Code:
W/dalvikvm( 3124): threadid=1: thread exiting with uncaught exception (group=0x410b92a0)
E/AndroidRuntime( 3124): FATAL EXCEPTION: main
E/AndroidRuntime( 3124): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 3124): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
E/AndroidRuntime( 3124): at android.app.ActivityThread.access$1600(ActivityThread.java:140)
E/AndroidRuntime( 3124): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
E/AndroidRuntime( 3124): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3124): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3124): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 3124): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3124): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3124): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
E/AndroidRuntime( 3124): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
E/AndroidRuntime( 3124): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3124): Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 3124): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 3124): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 3124): at android.view.View.inflate(View.java:16434)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:539)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3098)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3067)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:456)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:488)
E/AndroidRuntime( 3124): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 3124): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2404)
E/AndroidRuntime( 3124): ... 10 more
E/AndroidRuntime( 3124): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3124): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 3124): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 3124): ... 32 more
E/AndroidRuntime( 3124): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020229 a=-1 r=0x7f020229}
E/AndroidRuntime( 3124): at android.content.res.Resources.loadDrawable(Resources.java:1925)
E/AndroidRuntime( 3124): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroidRuntime( 3124): at android.widget.ImageView.<init>(ImageView.java:120)
E/AndroidRuntime( 3124): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 3124): ... 35 more
E/android.os.Debug( 2557): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
I/ActivityThread( 3204): Pub com.samsung.helphub.provider: com.samsung.helphub.provider.HelpHubContentProvider
I/dumpstate( 3219): begin
Now I did not make any smali edits with this... I am assuming that is where I failed. I am super uncomfortable inside a smali file, but I will do my darndest to get this working.
Hmm, which part is line 32? You should be ok for smali, this is an XML error
Kryten2k35 said:
Hmm, which part is line 32? You should be ok for smali, this is an XML error
Click to expand...
Click to collapse
Its the first image view I had posted. Second line of the code I have up. I have gone into public and given it a declaration, added that declaration into the smali r$drawable, and added it into the ids xml... still no dice.
New logcat -
Code:
E/AndroidRuntime( 5835): FATAL EXCEPTION: main
E/AndroidRuntime( 5835): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
E/AndroidRuntime( 5835): at android.app.ActivityThread.access$1600(ActivityThread.java:140)
E/AndroidRuntime( 5835): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
E/AndroidRuntime( 5835): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5835): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5835): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
E/AndroidRuntime( 5835): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5835): Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 5835): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 5835): at android.view.View.inflate(View.java:16434)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:539)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3098)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3067)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:456)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:488)
E/AndroidRuntime( 5835): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2404)
E/AndroidRuntime( 5835): ... 10 more
E/AndroidRuntime( 5835): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 5835): ... 32 more
[COLOR="Red"]E/AndroidRuntime( 5835): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020229 a=-1 r=0x7f020229}[/COLOR]
E/AndroidRuntime( 5835): at android.content.res.Resources.loadDrawable(Resources.java:1925)
E/AndroidRuntime( 5835): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:120)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 5835): ... 35 more
E/android.os.Debug( 2422): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
W/ActivityManager( 2422): Process com.android.systemui has crashed too many times: killing!
The bit in red is new. Time to do some digging. And that is the resource ID I used to declare that drawable.
EDIT:
I found the issue. I needed to declare it as an id and not a drawable. Thank you very much for your assistance.
Its still all kinds of broken, like the image isn't displaying, but its no longer force closing on me.
EDIT AGAIN:
Yeah, no, you can't display an image that way. so now I am back where I started today, but furious now. I have mirrored exactly another image file that displays correctly. Tracked down every single declaration... but mine is not working.
lickarock said:
Its the first image view I had posted. Second line of the code I have up. I have gone into public and given it a declaration, added that declaration into the smali r$drawable, and added it into the ids xml... still no dice.
New logcat -
Code:
E/AndroidRuntime( 5835): FATAL EXCEPTION: main
E/AndroidRuntime( 5835): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
E/AndroidRuntime( 5835): at android.app.ActivityThread.access$1600(ActivityThread.java:140)
E/AndroidRuntime( 5835): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
E/AndroidRuntime( 5835): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5835): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5835): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
E/AndroidRuntime( 5835): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5835): Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 5835): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 5835): at android.view.View.inflate(View.java:16434)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:539)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3098)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3067)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:456)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:488)
E/AndroidRuntime( 5835): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2404)
E/AndroidRuntime( 5835): ... 10 more
E/AndroidRuntime( 5835): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 5835): ... 32 more
[COLOR="Red"]E/AndroidRuntime( 5835): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020229 a=-1 r=0x7f020229}[/COLOR]
E/AndroidRuntime( 5835): at android.content.res.Resources.loadDrawable(Resources.java:1925)
E/AndroidRuntime( 5835): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:120)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 5835): ... 35 more
E/android.os.Debug( 2422): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
W/ActivityManager( 2422): Process com.android.systemui has crashed too many times: killing!
The bit in red is new. Time to do some digging. And that is the resource ID I used to declare that drawable.
EDIT:
I found the issue. I needed to declare it as an id and not a drawable. Thank you very much for your assistance.
Its still all kinds of broken, like the image isn't displaying, but its no longer force closing on me.
EDIT AGAIN:
Yeah, no, you can't display an image that way. so now I am back where I started today, but furious now. I have mirrored exactly another image file that displays correctly. Tracked down every single declaration... but mine is not working.
Click to expand...
Click to collapse
Post a screenshot with the working image if it works with it and a screenshot with the one that doesnt u aint far from success. .
Sent from my SAMSUNG-SGH-I317 using xda premium
Hi all,
I've used CSipSimple for SIP VOIP calling for a while. Great app. Gave it a try with the Nexus 5 on the factory firmware and it explodes just after placing a call. Logcat shows:
Code:
E/AndroidRuntime( 3110): FATAL EXCEPTION: UAStateAsyncWorker
E/AndroidRuntime( 3110): Process: com.csipsimple:sipStack, PID: 3110
E/AndroidRuntime( 3110): java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.PHONE_STATE from pid=3110, uid=10083
E/AndroidRuntime( 3110): at android.os.Parcel.readException(Parcel.java:1461)
E/AndroidRuntime( 3110): at android.os.Parcel.readException(Parcel.java:1415)
E/AndroidRuntime( 3110): at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2373)
E/AndroidRuntime( 3110): at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1141)
E/AndroidRuntime( 3110): at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:370)
E/AndroidRuntime( 3110): at com.csipsimple.pjsip.UAStateReceiver.broadCastAndroidCallState(UAStateReceiver.java:883)
E/AndroidRuntime( 3110): at com.csipsimple.pjsip.UAStateReceiver.access$400(UAStateReceiver.java:80)
E/AndroidRuntime( 3110): at com.csipsimple.pjsip.UAStateReceiver$WorkerHandler.handleMessage(UAStateReceiver.java:649)
E/AndroidRuntime( 3110): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3110): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3110): at android.os.HandlerThread.run(HandlerThread.java:61)
My guess is some new permissions management in KitKat requires additional application permissions for PHONE_STATE broadcasts. I believe this is something the developer will need to remedy, possibly by adding a new permission requirement to the application package?
Anyone else use CSipSimple, and could confirm they're seeing the same thing?
Just download the newest nightly. It fixes everything.
http://nightlies.csipsimple.com/trunk/
Any after November 2nd I think are fixed, but there are no reasons not to just install the latest nightly.
Nice! Fixed! Thanks
How You fix this error?
nrvate said:
Nice! Fixed! Thanks
Click to expand...
Click to collapse
How you fix this error please response quickly with solution
---------- Post added at 12:55 PM ---------- Previous post was at 12:51 PM ----------
nrvate said:
Hi all,
I've used CSipSimple for SIP VOIP calling for a while. Great app. Gave it a try with the Nexus 5 on the factory firmware and it explodes just after placing a call. Logcat shows:
Code:
E/AndroidRuntime( 3110): FATAL EXCEPTION: UAStateAsyncWorker
E/AndroidRuntime( 3110): Process: com.csipsimple:sipStack, PID: 3110
E/AndroidRuntime( 3110): java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.PHONE_STATE from pid=3110, uid=10083
E/AndroidRuntime( 3110): at android.os.Parcel.readException(Parcel.java:1461)
E/AndroidRuntime( 3110): at android.os.Parcel.readException(Parcel.java:1415)
E/AndroidRuntime( 3110): at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2373)
E/AndroidRuntime( 3110): at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1141)
E/AndroidRuntime( 3110): at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:370)
E/AndroidRuntime( 3110): at com.csipsimple.pjsip.UAStateReceiver.broadCastAndroidCallState(UAStateReceiver.java:883)
E/AndroidRuntime( 3110): at com.csipsimple.pjsip.UAStateReceiver.access$400(UAStateReceiver.java:80)
E/AndroidRuntime( 3110): at com.csipsimple.pjsip.UAStateReceiver$WorkerHandler.handleMessage(UAStateReceiver.java:649)
E/AndroidRuntime( 3110): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3110): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3110): at android.os.HandlerThread.run(HandlerThread.java:61)
My guess is some new permissions management in KitKat requires additional application permissions for PHONE_STATE broadcasts. I believe this is something the developer will need to remedy, possibly by adding a new permission requirement to the application package?
Anyone else use CSipSimple, and could confirm they're seeing the same thing?
Click to expand...
Click to collapse
Please reply me on my mail "[email protected]"
Please asaP
Thanks you
One day I turned on my phone and now when I freez and de-freez the apk with link2sd Google Play Services crashes.
Here's the logcat of the error:
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
E/AndroidRuntime( 4857): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4857): java.lang.NullPointerException
E/AndroidRuntime( 4857): at com.google.android.gms.common.download.DownloadService.a(SourceFile:513)
E/AndroidRuntime( 4857): at eky.a(SourceFile:129)
E/AndroidRuntime( 4857): at ejm.a(SourceFile:2584)
E/AndroidRuntime( 4857): at eki.f(SourceFile:535)
E/AndroidRuntime( 4857): at eki.a(SourceFile:529)
E/AndroidRuntime( 4857): at enf.d(SourceFile:81)
E/AndroidRuntime( 4857): at enb.run(SourceFile:237)
E/AndroidRuntime( 4857): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4857): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4857): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4857): at end.run(SourceFile:40)
E/dalvikvm( 4897): Could not find class 'android.database.sqlite.SQLiteCantOpenDatabaseException', referenced from method com.google.android.gms.plus.provider.PlusProvider.a
E/dalvikvm( 4897): Could not find class 'android.app.AppOpsManager', referenced from method box.a
E/AndroidRuntime( 4897): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4897): java.lang.NullPointerException
E/AndroidRuntime( 4897): at com.google.android.gms.common.download.DownloadService.a(SourceFile:513)
E/AndroidRuntime( 4897): at eky.a(SourceFile:129)
E/AndroidRuntime( 4897): at ejm.a(SourceFile:2584)
E/AndroidRuntime( 4897): at eki.f(SourceFile:535)
E/AndroidRuntime( 4897): at eki.a(SourceFile:529)
E/AndroidRuntime( 4897): at enf.d(SourceFile:81)
E/AndroidRuntime( 4897): at enb.run(SourceFile:237)
E/AndroidRuntime( 4897): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4897): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4897): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4897): at end.run(SourceFile:40)
I hope you can help me Thank you so much!
Delete second partition ext.sd and restart your device
Can you please explain me what appened exactly? Why I need to wipe my ext partition?
Simple trick
Backup all data and reset your device....
Hi,
I've just updated my phone to stock 5.1.1 and I've deleted some system apps I don't need like I've done with 5.1.
Everythings works perfectly except that when I try to open the Download Manager it says "android.process.media has stopped" and I can't use it.
I've seen that I've deleted one more app thant with 5.1, DocumentsUI. Can it be this missing app that cause this error ?
Ive tried to put it back by extracting it from the system.img and moving it's folder in the right place with the same system right but the problem is still the same.
Kind regards
As it's a UI - User interface I'd say so. Start again and freeze apps you are not 100%sure of. You can unfreeze if it's needed.
SENT BY ENTANGLEMENT
I've done some investigations on my brother's phone and now I'm pretty sur that my problem is because I've deleted the Docs app that was in system\app\DocumentsUI.
Is there a way to put it back without flashing the whole ROM again ?
I've still got this problem. I have this logcat if someone is able to help me...
E/AndroidRuntime( 5031): FATAL EXCEPTION: main
E/AndroidRuntime( 5031): Process: android.process.media, PID: 5031
E/AndroidRuntime( 5031): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.providers.downloads.ui/com.android.providers.downloads.ui.DownloadList}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.MANAGE_ROOT dat=content://com.android.providers.downloads.documents/root/downloads }
E/AndroidRuntime( 5031): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
E/AndroidRuntime( 5031): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
E/AndroidRuntime( 5031): at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime( 5031): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
E/AndroidRuntime( 5031): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5031): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5031): at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 5031): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5031): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5031): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 5031): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 5031): Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.MANAGE_ROOT dat=content://com.android.providers.downloads.documents/root/downloads }
E/AndroidRuntime( 5031): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1781)
E/AndroidRuntime( 5031): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1501)
E/AndroidRuntime( 5031): at android.app.Activity.startActivityForResult(Activity.java:3745)
E/AndroidRuntime( 5031): at android.app.Activity.startActivityForResult(Activity.java:3706)
E/AndroidRuntime( 5031): at android.app.Activity.startActivity(Activity.java:4016)
E/AndroidRuntime( 5031): at android.app.Activity.startActivity(Activity.java:3984)
E/AndroidRuntime( 5031): at com.android.providers.downloads.ui.DownloadList.onCreate(DownloadList.java:35)
E/AndroidRuntime( 5031): at android.app.Activity.performCreate(Activity.java:5990)
E/AndroidRuntime( 5031): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime( 5031): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
E/AndroidRuntime( 5031): ... 10 more
Just dirty flash same rom. All the apps will be there