zz_moto_actionbar_bkg.xml erro de recurso no Droid
Estou recebendo relatórios de falhas estranhos do Droid X e Droid Pro.
android.content.res.Resources$NotFoundException:
File res/drawable/zz_moto_actionbar_bkg.xml from drawable resource ID #0x10803a8
at android.content.res.Resources.loadDrawable(Resources.java:1735)
at android.content.res.Resources.getDrawable(Resources.java:596)
at android.view.View.setBackgroundResource(View.java:7542)
at com.android.internal.app.AlertController.setBackground(AlertController.java:719)
at com.android.internal.app.AlertController.setupView(AlertController.java:424)
at com.android.internal.app.AlertController.installContent(AlertController.java:232)
at android.app.AlertDialog.onCreate(AlertDialog.java:251)
at android.app.Dialog.dispatchOnCreate(Dialog.java:307)
at android.app.Dialog.show(Dialog.java:225)
at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
at com.*******.a(SourceFile:320)
at com.*******.onOptionsItemSelected(SourceFile:292)
at android.app.Activity.onMenuItemSelected(Activity.java:2251)
at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:809)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:553)
at com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)
at android.view.View$PerformClick.run(View.java:9089)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.graphics.drawable.LayerDrawable.addLayer(LayerDrawable.java:186)
at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:157)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:795)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:736)
at android.content.res.Resources.loadDrawable(Resources.java:1732)
... 27 more
java.lang.NullPointerException
at android.graphics.drawable.LayerDrawable.addLayer(LayerDrawable.java:186)
at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:157)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:795)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:736)
at android.content.res.Resources.loadDrawable(Resources.java:1732)
at android.content.res.Resources.getDrawable(Resources.java:596)
at android.view.View.setBackgroundResource(View.java:7542)
at com.android.internal.app.AlertController.setBackground(AlertController.java:719)
at com.android.internal.app.AlertController.setupView(AlertController.java:424)
at com.android.internal.app.AlertController.installContent(AlertController.java:232)
at android.app.AlertDialog.onCreate(AlertDialog.java:251)
at android.app.Dialog.dispatchOnCreate(Dialog.java:307)
at android.app.Dialog.show(Dialog.java:225)
at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
at com.*******.a(SourceFile:320)
at com.*******.onOptionsItemSelected(SourceFile:292)
at android.app.Activity.onMenuItemSelected(Activity.java:2251)
at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:809)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:553)
at com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)
at android.view.View$PerformClick.run(View.java:9089)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Acontece ao iniciar uma caixa de diálogo de alerta. É claro que não estou usando nenhum recurso assim e Somente recurso estou usando emAlertDialog
éandroid.R.drawable.ic_input_add
.
Tentei fazer uma pesquisa sobre isso, mas a única página relevante que encontrei foihttps: //supportforums.motorola.com/message/51319 e não ajuda muito.
lguém já teve um problema semelhante ou encontrou uma solução para iss