How to navigate to a new page

Hi,
I have write a android app using Xamarin.Forms, and I want to navigate a new page, the following is my code:
public class ListViewPage:ContentPage
{
public ListViewPage ()
{
var listView = new ListView {
RowHeight = 40
};
/listView.ItemsSource = new string[] {
"Buy pears",
"Buy oranges",
"Buy mangos",
"Buy apples",
"Buy bananas"
};
/
listView.ItemsSource = new TodoItem[] {
new TodoItem{Name = "Buy pears"},
new TodoItem{Name = "Buy oranges",Done = true},
new TodoItem{Name = "Buy mangos"},
new TodoItem{Name = "Buy apples",Done=true},
new TodoItem{Name = "Buy bananas",Done=true}
};
listView.ItemTemplate = new DataTemplate (typeof(TextCell));
listView.ItemTemplate.SetBinding(TextCell.TextProperty,"Name");
listView.ItemSelected += async (sender,e)=> {
var todoItem = (TodoItem)e.SelectedItem;
//await DisplayAlert("Tapped!",todoItem.Name+" was tapped.","OK","");
var todoPage = new TodoItemPage(todoItem);
await Navigation.PushAsync(todoPage);
};
Content = new StackLayout {
VerticalOptions = LayoutOptions.FillAndExpand,
Children = {listView}
};
}
}
public class TodoItem{
public string Name{get;set;}
public bool Done{get;set;}
}
But I got an exception, when the code runs to "await Navigation.PushAsync(todoPage);". Then exception details is:
Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
at --- End of managed exception stack trace ---
at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at at dalvik.system.NativeStart.main(Native Method)
at Caused by: java.lang.reflect.InvocationTargetException
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:515)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at ... 2 more
at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.InvalidOperationException: PushAsync is not supported globally on Android, please use a NavigationPage.
at at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
at at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (object)
at Android.App.SyncContext/c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d23da369/source/monodroid/src/Mono.Android/src/Android.App/SyncContext.cs:18
at Java.Lang.Thread/RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d23da369/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:36
at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00009] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d23da369/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Java.Lang.IRunnable.cs:71
at at (wrapper dynamic-method) object.fb707252-050e-45f5-8ec9-c19074c7f457 (intptr,intptr)
at at mono.java.lang.RunnableImplementor.n_run(Native Method)
at at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
at at android.os.Handler.handleCallback(Handler.java:733)
at at android.os.Handler.dispatchMessage(Handler.java:95)
at at android.os.Looper.loop(Looper.java:136)
at at android.app.ActivityThread.main(ActivityThread.java:5017)
at ... 5 more
Please help me fix it...
Terry Guo

Answers

  • MichieldeRondMichieldeRond NLMember

    Hi Terry,

    Is your MainPage (in App.cs) of type NavigationPage? In your case you need to wrap your ListViewPage in a NavigationPage:

        public App()
        {
            MainPage = new NavigationPage(new ListViewPage());
        }
    

    Cheers,

    Michiel

  • AnthonyCarlsonAnthonyCarlson USMember ✭✭

    I've got a very similar error but wrapping in NavigationPage didn't change anything. any thoughts?

    Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at --- End of managed exception stack trace ---
    at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
    at at dalvik.system.NativeStart.main(Native Method)
    at Caused by: java.lang.reflect.InvocationTargetException
    at at java.lang.reflect.Method.invokeNative(Native Method)
    at at java.lang.reflect.Method.invoke(Method.java:511)
    at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
    at ... 2 more
    at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.InvalidOperationException: The BindableProperty "Height" is readonly.
    at at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object,bool,bool)
    at at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object)
    at at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.SetPropertyValue (object,Xamarin.Forms.Xaml.XmlName,object,Xamarin.Forms.BindableObject,Xamarin.Forms.Xaml.INode,Xamarin.Forms.Xaml.HydratationContext,System.Xml.IXmlLineInfo)
    at at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.Visit (Xamarin.Forms.Xaml.ValueNode,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ValueNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,string)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,System.Type)
    at at Xamarin.Forms.Xaml.Extensions.LoadFromXaml<EverywhereApp.Pages.Login> (EverywhereApp.Pages.Login,System.Type) <0x0004f>
    at EverywhereApp.Pages.Login.InitializeComponent () [0x00001] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp\obj\Debug\Login.xaml.g.cs:30
    at EverywhereApp.Pages.Login..ctor () [0x00008] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp\Pages\Login.xaml.cs:15
    at EverywhereApp.App..ctor () [0x00008] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp\App.cs:15
    at EverywhereApp.Droid.MainActivity.OnCreate (Android.OS.Bundle) [0x00023] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp.Droid\MainActivity.cs:31
    at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d23da369/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707
    at at (wrapper dynamic-method) object.5e125892-d59c-4a8b-b93e-cf4c6c934a38 (intptr,intptr,intptr)
    at at md54efdcaff03d063db4df79c6c6b255bb4.MainActivity.n_onCreate(Native Method)
    at at md54efdcaff03d063db4df79c6c6b255bb4.MainActivity.onCreate(MainActivity.java:28)
    at at android.app.Activity.performCreate(Activity.java:5240)
    at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)
    at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2037)
    at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2098)
    at at android.app.ActivityThread.access$600(ActivityThread.java:138)
    at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1204)
    at at android.os.Handler.dispatchMessage(Handler.java:99)
    at at android.os.Looper.loop(Looper.java:137)
    at at android.app.ActivityThread.main(ActivityThread.java:4905)
    at ... 5 more

  • AnthonyCarlsonAnthonyCarlson USMember ✭✭

    I've got a very similar error but wrapping in NavigationPage didn't change anything. any thoughts?

    Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at --- End of managed exception stack trace ---
    at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
    at at dalvik.system.NativeStart.main(Native Method)
    at Caused by: java.lang.reflect.InvocationTargetException
    at at java.lang.reflect.Method.invokeNative(Native Method)
    at at java.lang.reflect.Method.invoke(Method.java:511)
    at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
    at ... 2 more
    at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.InvalidOperationException: The BindableProperty "Height" is readonly.
    at at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object,bool,bool)
    at at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object)
    at at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.SetPropertyValue (object,Xamarin.Forms.Xaml.XmlName,object,Xamarin.Forms.BindableObject,Xamarin.Forms.Xaml.INode,Xamarin.Forms.Xaml.HydratationContext,System.Xml.IXmlLineInfo)
    at at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.Visit (Xamarin.Forms.Xaml.ValueNode,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ValueNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,string)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,System.Type)
    at at Xamarin.Forms.Xaml.Extensions.LoadFromXaml<EverywhereApp.Pages.Login> (EverywhereApp.Pages.Login,System.Type) <0x0004f>
    at EverywhereApp.Pages.Login.InitializeComponent () [0x00001] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp\obj\Debug\Login.xaml.g.cs:30
    at EverywhereApp.Pages.Login..ctor () [0x00008] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp\Pages\Login.xaml.cs:15
    at EverywhereApp.App..ctor () [0x00008] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp\App.cs:15
    at EverywhereApp.Droid.MainActivity.OnCreate (Android.OS.Bundle) [0x00023] in c:\Projects\EverywhereApp\EverywhereApp\EverywhereApp.Droid\MainActivity.cs:31
    at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d23da369/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707
    at at (wrapper dynamic-method) object.5e125892-d59c-4a8b-b93e-cf4c6c934a38 (intptr,intptr,intptr)
    at at md54efdcaff03d063db4df79c6c6b255bb4.MainActivity.n_onCreate(Native Method)
    at at md54efdcaff03d063db4df79c6c6b255bb4.MainActivity.onCreate(MainActivity.java:28)
    at at android.app.Activity.performCreate(Activity.java:5240)
    at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)
    at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2037)
    at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2098)
    at at android.app.ActivityThread.access$600(ActivityThread.java:138)
    at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1204)
    at at android.os.Handler.dispatchMessage(Handler.java:99)
    at at android.os.Looper.loop(Looper.java:137)
    at at android.app.ActivityThread.main(ActivityThread.java:4905)
    at ... 5 more

  • NenadBojkovskiNenadBojkovski DEMember

    I'm getting the same error when I try to navigate to new page, regardless is it wrapped in Navigation Page or not. As I could have seen InitializeComponent(); ist throwing the error.
    It is really sad that Xamarin guys don't care about it. I'm completly blocked.

  • ThomasMielkeThomasMielke DEMember ✭✭
    edited July 2015

    Same here. I'm really stuck.

    Screenshot

    I tried building a Xamarin.Forms app for Android about a year ago, which didn't work. I had hoped it got more stable now, but obviously this is not the case.

    I now ordered a Mac Mini, maybe Xamarin.Forms works better on iOS...

    [Update: I noticed a XAML parse error in an Editor control earlier in the application output: ForegroudColor="Black". It seems this option is not available on the Android platform -- but it is on Windows Phone. After removing the property, InitializeComponent() didn't throw an exception. In the initial post, I'd check TodoItemPage for such inconsistencies.

    Lesson learned: Even when in the shared project, one can never count on control properties working the same way with different platforms.]

  • MuraliRajuMuraliRaju USMember

    for me correcting XAML syntax error caused it . xamarin studio cannot be trusted for this

  • same error
    Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at --- End of managed exception stack trace ---
    at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    at at dalvik.system.NativeStart.main(Native Method)
    at Caused by: java.lang.reflect.InvocationTargetException
    at at java.lang.reflect.Method.invokeNative(Native Method)
    at at java.lang.reflect.Method.invoke(Method.java:515)
    at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    at ... 2 more
    at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.Exception: Expression must end with '}'
    at at Xamarin.Forms.Xaml.ExpandMarkupsVisitor.ParseExpression (string&,System.Xml.IXmlNamespaceResolver,System.Xml.IXmlLineInfo,Xamarin.Forms.Xaml.INode,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ExpandMarkupsVisitor.Visit (Xamarin.Forms.Xaml.MarkupNode,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.MarkupNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,string)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,System.Type)
    at at Xamarin.Forms.Xaml.Extensions.LoadFromXaml<Lists.MainPage> (Lists.MainPage,System.Type) <0x0002f>
    at Lists.MainPage.InitializeComponent () [0x00001] in c:\Users\Pablo\Documents\Projects\Lists\Lists\obj\Debug\Lists.View.MainPage.xaml.g.cs:24
    at Lists.MainPage..ctor () [0x00020] in c:\Users\Pablo\Documents\Projects\Lists\Lists\View\MainPage.xaml.cs:15
    at Lists.App..ctor () [0x00008] in c:\Users\Pablo\Documents\Projects\Lists\Lists\Lists.cs:11
    at Lists.Droid.MainActivity.OnCreate (Android.OS.Bundle) [0x00011] in c:\Users\Pablo\Documents\Projects\Lists\Droid\MainActivity.cs:21
    at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707
    at at (wrapper dynamic-method) object.e46c1420-ba18-43ab-9681-44e13a9b7fa2 (intptr,intptr,intptr)
    at at md5047117fe9bc26f9d5590b1edc3c74450.MainActivity.n_onCreate(Native Method)
    at at md5047117fe9bc26f9d5590b1edc3c74450.MainActivity.onCreate(MainActivity.java:28)
    at at android.app.Activity.performCreate(Activity.java:5231)
    at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
    at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    at at android.app.ActivityThread.access$800(ActivityThread.java:135)
    at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    at at android.os.Handler.dispatchMessage(Handler.java:102)
    at at android.os.Looper.loop(Looper.java:136)
    at at android.app.ActivityThread.main(ActivityThread.java:5017)
    at ... 5 more

  • same error
    Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at --- End of managed exception stack trace ---
    at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    at at dalvik.system.NativeStart.main(Native Method)
    at Caused by: java.lang.reflect.InvocationTargetException
    at at java.lang.reflect.Method.invokeNative(Native Method)
    at at java.lang.reflect.Method.invoke(Method.java:515)
    at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    at ... 2 more
    at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.Exception: Expression must end with '}'
    at at Xamarin.Forms.Xaml.ExpandMarkupsVisitor.ParseExpression (string&,System.Xml.IXmlNamespaceResolver,System.Xml.IXmlLineInfo,Xamarin.Forms.Xaml.INode,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ExpandMarkupsVisitor.Visit (Xamarin.Forms.Xaml.MarkupNode,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.MarkupNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,string)
    at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,System.Type)
    at at Xamarin.Forms.Xaml.Extensions.LoadFromXaml<Lists.MainPage> (Lists.MainPage,System.Type) <0x0002f>
    at Lists.MainPage.InitializeComponent () [0x00001] in c:\Users\Pablo\Documents\Projects\Lists\Lists\obj\Debug\Lists.View.MainPage.xaml.g.cs:24
    at Lists.MainPage..ctor () [0x00020] in c:\Users\Pablo\Documents\Projects\Lists\Lists\View\MainPage.xaml.cs:15
    at Lists.App..ctor () [0x00008] in c:\Users\Pablo\Documents\Projects\Lists\Lists\Lists.cs:11
    at Lists.Droid.MainActivity.OnCreate (Android.OS.Bundle) [0x00011] in c:\Users\Pablo\Documents\Projects\Lists\Droid\MainActivity.cs:21
    at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707
    at at (wrapper dynamic-method) object.e46c1420-ba18-43ab-9681-44e13a9b7fa2 (intptr,intptr,intptr)
    at at md5047117fe9bc26f9d5590b1edc3c74450.MainActivity.n_onCreate(Native Method)
    at at md5047117fe9bc26f9d5590b1edc3c74450.MainActivity.onCreate(MainActivity.java:28)
    at at android.app.Activity.performCreate(Activity.java:5231)
    at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
    at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    at at android.app.ActivityThread.access$800(ActivityThread.java:135)
    at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    at at android.os.Handler.dispatchMessage(Handler.java:102)
    at at android.os.Looper.loop(Looper.java:136)
    at at android.app.ActivityThread.main(ActivityThread.java:5017)
    at ... 5 more

Sign In or Register to comment.