Recent

Author Topic: RelativeLayout$LayoutParams cannot be cast to ActionMenuView$LayoutParams  (Read 1146 times)

Robert Gilland

  • Full Member
  • ***
  • Posts: 159
Okay,
   I nearly have all my Android Forms up and working again,
until I hit the below exception. I have no idea.
I was so happy my app was showing signs of Life.

It could have something to do with this :
(W/ResourceType(22647): No package identifier when getting name for resource number 0x0000000f)


Android 4.2.2 Jelly Bean.
Latest Laz$Android
Latest LAMW
android-ndk-r20b

Any Help would be useful




E/AndroidRuntime(22444): FATAL EXCEPTION: main

E/AndroidRuntime(22444): java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to com.android.internal.view.menu.ActionMenuView$LayoutParams

E/AndroidRuntime(22444):    at com.android.internal.view.menu.ActionMenuView.onMeasure(ActionMenuView.java:138)

E/AndroidRuntime(22444):    at android.view.View.measure(View.java:15635)

E/AndroidRuntime(22444):    at com.android.internal.widget.AbsActionBarView.measureChildView(AbsActionBarView.java:216)

E/AndroidRuntime(22444):    at com.android.internal.widget.ActionBarView.onMeasure(ActionBarView.java:979)

E/AndroidRuntime(22444):    at android.view.View.measure(View.java:15635)

E/AndroidRuntime(22444):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4919)

E/AndroidRuntime(22444):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)

E/AndroidRuntime(22444):    at com.android.internal.widget.ActionBarContainer.onMeasure(ActionBarContainer.java:260)

E/AndroidRuntime(22444):    at android.view.View.measure(View.java:15635)

E/AndroidRuntime(22444):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4919)

E/AndroidRuntime(22444):    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1411)

E/AndroidRuntime(22444):    at android.widget.LinearLayout.measureVertical(LinearLayout.java:698)

E/AndroidRuntime(22444):    at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)

E/AndroidRuntime(22444):    at android.view.View.measure(View.java:15635)

E/AndroidRuntime(22444):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4919)

E/AndroidRuntime(22444):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)

E/AndroidRuntime(22444):    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2200)

E/AndroidRuntime(22444):    at android.view.View.measure(View.java:15635)

E/AndroidRuntime(22444):    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2165)

E/AndroidRuntime(22444):    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1249)

E/AndroidRuntime(22444):    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1443)

E/AndroidRuntime(22444):    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1139)

E/AndroidRuntime(22444):    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4872)

E/AndroidRuntime(22444):    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:776)

E/AndroidRuntime(22444):    at android.view.Choreographer.doCallbacks(Choreographer.java:579)

E/AndroidRuntime(22444):    at android.view.Choreographer.doFrame(Choreographer.java:548)

E/AndroidRuntime(22444):    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762)

E/AndroidRuntime(22444):    at android.os.Handler.handleCallback(Handler.java:800)

E/AndroidRuntime(22444):    at android.os.Handler.dispatchMessage(Handler.java:100)

E/AndroidRuntime(22444):    at android.os.Looper.loop(Looper.java:194)

E/AndroidRuntime(22444):    at android.app.ActivityThread.main(ActivityThread.java:5371)

E/AndroidRuntime(22444):    at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime(22444):    at java.lang.reflect.Method.invoke(Method.java:525)

E/AndroidRuntime(22444):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)

E/AndroidRuntime(22444):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)

E/AndroidRuntime(22444):    at dalvik.system.NativeStart.main(Native Method)

Mongkey

  • Full Member
  • ***
  • Posts: 160
For android <7 ram <=1GB , better using old LAMW + ANT, very fast, but with old school UI.

 

TinyPortal © 2005-2018