Android Question UnsupportedOperationException

M6SOFT

Member
Licensed User
Longtime User
Hi,
I have this error always after eleven device rotation (portrait/landscape). App is built with AHViewPager, google maps and UltimateListView. If i remove google maps from page then application work fine. Also if remove ultimatelistview application work without issues. But not work with google maps and ultimatelistview together. Any ideas?

 

Raul Cavaca

Member
Licensed User
Longtime User
Hello,
I have this same error when used google maps. The error happens when initialize the MapFragment.
Exist any Solution?
 
Upvote 0

Raul Cavaca

Member
Licensed User
Longtime User
java.lang.UnsupportedOperationException: addView(View) is not supported in AdapterView
at android.widget.AdapterView.addView(AdapterView.java:454)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:914)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1075)
at android.app.BackStackRecord.run(BackStackRecord.java:682)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1455)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:441)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…