B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Show") '<==Line 49
If MapFragment1.IsGooglePlayServicesAvailable = False Then
ToastMessageShow("Please go to Android Market and install Google Play Services.", True)
End If
This code worked yesterday but not today
All files appear to be in the right places
Error occurred on line: 49 (Show)
java.lang.RuntimeException: java.lang.NoSuchMethodException: _initialize [class anywheresoftware.b4a.BA, class java.lang.Object, class java.lang.String]
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:166)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:342)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at com.ideas.qviz.show.afterFirstLayout(show.java:102)
at com.ideas.qviz.show.access$000(show.java:17)
at com.ideas.qviz.show$WaitForLayout.run(show.java:80)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5747)