You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like onAttach is not understanding the homeScreen default construction. Any hint?
--------- beginning of main
--------- beginning of system
11-18 04:48:1 open fragment: #<HomeScreen:0x4d>
11-18 04:48:14.756 5599 5599 E com/your_company/myapp: Exception raised: NoMethodError: undefined method `onAttach' for #<HomeScreen:0xbfcac00c>
11-18 04:48:14.756 5599 5599 E com/your_company/myapp: from pm_screen.rb:10 in `onAttach'
11-18 04:48:14.758 5599 5599 E com/your_company/myapp: Exception raised: NoMethodError: undefined method `onAttach' for #<HomeScreen:0xbfcac00c>
11-18 04:48:14.758 5599 5599 E com/your_company/myapp: from pm_screen.rb:10 in `onAttach'
--------- beginning of crash
11-18 04:48:14.759 5599 5599 E AndroidRuntime: FATAL EXCEPTION: main
11-18 04:48:14.759 5599 5599 E AndroidRuntime: Process: com.your_company.myapp, PID: 5599
11-18 04:48:14.759 5599 5599 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.your_company.myapp/com.your_company.myapp.PMHomeActivity}: com.rubymotion.NoMethodError: undefined method `onAttach' for #<HomeScreen:0xbfcac00c>
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: Caused by: com.rubymotion.NoMethodError: undefined method `onAttach' for #<HomeScreen:0xbfcac00c>
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at com.your_company.myapp.PMScreen.onAttach(Native Method)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.Fragment.onAttach(Fragment.java:1380)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at com.your_company.myapp.PMScreen.onAttach(Native Method)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:932)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.BackStackRecord.run(BackStackRecord.java:793)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.FragmentController.execPendingActions(FragmentController.java:325)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.Activity.performStart(Activity.java:6252)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
11-18 04:48:14.759 5599 5599 E AndroidRuntime: ... 9 more
The text was updated successfully, but these errors were encountered:
It looks like onAttach is not understanding the homeScreen default construction. Any hint?
The text was updated successfully, but these errors were encountered: