gapu / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

While click on android.support.v7.app.MediaRouteButton , we are geting below error #566

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
android.view.InflateException: Binary XML file line #36: Error 
inflating class android.widget.ImageButton
[AndroidRuntime]    at 
android.view.LayoutInflater.createView(LayoutInflater.java:633)
[AndroidRuntime]    at 
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInf
later.java:55)
[AndroidRuntime]    at 
android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
[AndroidRuntime]    at 
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
[AndroidRuntime]    at 
android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
[AndroidRuntime]    at 
android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
[AndroidRuntime]    at 
android.view.LayoutInflater.inflate(LayoutInflater.java:504)
[AndroidRuntime]    at 
android.view.LayoutInflater.inflate(LayoutInflater.java:414)
[AndroidRuntime]    at 
android.view.LayoutInflater.inflate(LayoutInflater.java:365)
[AndroidRuntime]    at 
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:377
)
[AndroidRuntime]    at android.app.Dialog.setContentView(Dialog.java:490)
[AndroidRuntime]    at 
android.support.v7.app.MediaRouteControllerDialog.onCreate(MediaRouteControllerD
ialog.java:178)
[AndroidRuntime]    at android.app.Dialog.dispatchOnCreate(Dialog.java:373)
[AndroidRuntime]    at android.app.Dialog.show(Dialog.java:274)
[AndroidRuntime]    at 
android.support.v4.app.DialogFragment.onStart(DialogFragment.java:398)
[AndroidRuntime]    at 
android.support.v4.app.Fragment.performStart(Fragment.java:1810)
[AndroidRuntime]    at 
android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:987)
[AndroidRuntime]    at 
android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1136
)
[AndroidRuntime]    at 
android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739)
[AndroidRuntime]    at 
android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.ja
va:1499)
[AndroidRuntime]    at 
android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:456)
[AndroidRuntime]    at android.os.Handler.handleCallback(Handler.java:739)
[AndroidRuntime]    at android.os.Handler.dispatchMessage(Handler.java:95)
[AndroidRuntime]    at android.os.Looper.loop(Looper.java:135)
[AndroidRuntime]    at android.app.ActivityThread.main(ActivityThread.java:5221)
[AndroidRuntime]    at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime]    at java.lang.reflect.Method.invoke(Method.java:372)
[AndroidRuntime]    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
[AndroidRuntime]    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
[AndroidRuntime] Caused by: java.lang.reflect.InvocationTargetException
[AndroidRuntime]    at java.lang.reflect.Constructor.newInstance(Native Method)
[AndroidRuntime]    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:288)
[AndroidRuntime]    at 
android.view.LayoutInflater.createView(LayoutInflater.java:607)
[AndroidRuntime]    ... 28 more
[AndroidRuntime] Caused by: java.lang.RuntimeException: Failed to resolve 
attribute at index 13
[AndroidRuntime]    at 
android.content.res.TypedArray.getDrawable(TypedArray.java:747)
[AndroidRuntime]    at android.view.View.<init>(View.java:3730)
[AndroidRuntime]    at android.widget.ImageView.<init>(ImageView.java:139)
[AndroidRuntime]    at android.widget.ImageButton.<init>(ImageButton.java:86)
[AndroidRuntime]    at android.widget.ImageButton.<init>(ImageButton.java:82)
[AndroidRuntime]    at android.widget.ImageButton.<init>(ImageButton.java:78)

Original issue reported on code.google.com by sunil...@gmail.com on 18 Apr 2015 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago
This does not seem to be an issue with Cast SDK. Please ask debugging questions 
on StackOverflow. 
Although, if you think its an issue with the Cast SDK, you can report back here 
with detailed steps to reproduce the issue and specific configurations. We will 
be glad to help you. 

Original comment by na...@google.com on 20 Apr 2015 at 6:14