Open ofarrellkevin0 opened 3 years ago
Was there any fix for this issue, Looks like we are having the same issue with our app.
StackTrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.vixapp/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onCreate failed Error: java.lang.NoSuchMethodError: no non-static method "Lcom/telerik/android/primitives/widget/sidedrawer/RadSideDrawer;.setMainContent(Ljava/lang/String;)[B" at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3654) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3806) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8167) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100) Caused by: com.tns.NativeScriptException: Calling js method onCreate failed Error: java.lang.NoSuchMethodError: no non-static method "Lcom/telerik/android/primitives/widget/sidedrawer/RadSideDrawer;.setMainContent(Ljava/lang/String;)[B" at com.tns.Runtime.callJSMethodNative(Native Method) at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286) at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173) at com.tns.Runtime.callJSMethod(Runtime.java:1160) at com.tns.Runtime.callJSMethod(Runtime.java:1138) at com.tns.Runtime.callJSMethod(Runtime.java:1134) at com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:19) at android.app.Activity.performCreate(Activity.java:7963) at android.app.Activity.performCreate(Activity.java:7952) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3629) ... 11 more Caused by: java.lang.NoSuchMethodError: no non-static method "Lcom/telerik/android/primitives/widget/sidedrawer/RadSideDrawer;.setMainContent(Ljava/lang/String;)[B" ... 22 more
Nativescript version: 7.2.1 Angular CLI: 10.2.3 Platform: Android (specifically Android 11 for the most part looks like the issue)
Been developing an app with the specific versions up above and the specific platform for android mentioned seems to have an issue. The app builds and runs perfectly fine for the most part but every now and again once you open it the app try's to open but breaks and force closes.
This issue has no real pattern for reproducing and only sporadically happens but it is causing issues for people. I'm posting here to see can I get any feedback on this problem and is there potentially a fix for this? I've also attached my dependencies and dev dependencies from the package.json below this along with the firebase logs for the error. In case it is of any use I also will include the command I use to run the app.
ns debug android --bundle --no-hmr