I'm getting the following inflation error, that looks like robolectric can't resolve string resource. I'd like to point that 'spb_default_speed'
android.view.InflateException: XML file c:\***\right_sliding_menu.xml line #-1 (sorry, not yet implemented): Error inflating class fr.castorflex.android.smoothprogressbar.SmoothProgressBar
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.slidingmenu.lib.SlidingMenu.setSecondaryMenu(SlidingMenu.java:402)
**
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
**
Caused by: java.lang.RuntimeException: huh? ResName{com.example:string/spb_default_speed}
at org.robolectric.shadows.Converter.convertAndFill(Converter.java:98)
at org.robolectric.shadows.Converter.convertAndFill(Converter.java:50)
at org.robolectric.shadows.ShadowResources.createTypedArray(ShadowResources.java:236)
at org.robolectric.shadows.ShadowResources.attrsToTypedArray(ShadowResources.java:211)
at org.robolectric.shadows.ShadowResources.access$000(ShadowResources.java:55)
at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:478)
at android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java)