Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Tab and PopToRootAsync error #33

Open
cassionandi opened this issue Jul 4, 2018 · 0 comments
Open

Change Tab and PopToRootAsync error #33

cassionandi opened this issue Jul 4, 2018 · 0 comments

Comments

@cassionandi
Copy link

hi guys!

I am getting the stacktrace below when trying to navigate between tabs.

MonoDroid] UNHANDLED EXCEPTION: [MonoDroid] System.InvalidOperationException: PopToRootAsync is not supported globally on Android, please use a NavigationPage. [MonoDroid] at Xamarin.Forms.Platform.Android.AppCompat.Platform.Xamarin.Forms.INavigation.PopToRootAsync (System.Boolean animated) [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.Android\AppCompat\Platform.cs:126 [MonoDroid] at Xamarin.Forms.Internals.NavigationProxy.OnPopToRootAsync (System.Boolean animated) [0x00043] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:181 [MonoDroid] at Xamarin.Forms.Internals.NavigationProxy.PopToRootAsync (System.Boolean animated) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:99 [MonoDroid] at Xamarin.Forms.Internals.NavigationProxy.OnPopToRootAsync (System.Boolean animated) [0x00043] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:181 [MonoDroid] at Xamarin.Forms.Internals.NavigationProxy.PopToRootAsync (System.Boolean animated) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:99 [MonoDroid] at Xamarin.Forms.Internals.NavigationProxy.OnPopToRootAsync (System.Boolean animated) [0x00043] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:181 [MonoDroid] at Xamarin.Forms.Internals.NavigationProxy.PopToRootAsync () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:94 [MonoDroid] at Naxam.Controls.Platform.Droid.Utils.BottomTabbedRendererUtils.SwitchPage (Naxam.Controls.Platform.Droid.BottomTabbedRenderer renderer, Android.Views.IMenuItem item) [0x00085] in <e760b94005374f89bb613a36b42ef3f8>:0 [MonoDroid] at Naxam.Controls.Platform.Droid.BottomTabbedRenderer.OnNavigationItemSelected (Android.Views.IMenuItem item) [0x00000] in <e760b94005374f89bb613a36b42ef3f8>:0 [MonoDroid] at Android.Support.Design.Widget.BottomNavigationView+IOnNavigationItemSelectedListenerInvoker.n_OnNavigationItemSelected_Landroid_view_MenuItem_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_item) [0x0000f] in <7aea3801170b4074a61ce58defd33d09>:0 [MonoDroid] at (wrapper dynamic-method) System.Object.4cbec557-4c41-4a9e-a9c6-c4e767ef5c03(intptr,intptr,intptr) [art] JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant