You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.
I'm using ActionBarSherlock in my project and I updated to the latest version. I'm trying to make the app work with Android version 2.3. Here's the xml for one of my menu files:
The error I get is 09-23 15:08:30.143: E/AndroidRuntime(3384): FATAL EXCEPTION: main
09-23 15:08:30.143: E/AndroidRuntime(3384): android.view.InflateException: Binary XML file line #7: Error inflating class
Nevermind this wasn't the issue. I calling invalidateMenuOptions in onCreateOptionsMenu and it was working in 4.x but not 2.3. I changed it to use onPrepareOptionsMenu and it's working fine now.
I'm using ActionBarSherlock in my project and I updated to the latest version. I'm trying to make the app work with Android version 2.3. Here's the xml for one of my menu files:
The error I get is 09-23 15:08:30.143: E/AndroidRuntime(3384): FATAL EXCEPTION: main
09-23 15:08:30.143: E/AndroidRuntime(3384): android.view.InflateException: Binary XML file line #7: Error inflating class
Line #7 is showAsAction.
I tried using a custom namespace 'yourapp' and doing yourapp:showAsAction but then the app wouldn't compile.
The text was updated successfully, but these errors were encountered: