-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Issue Description
Using nativescript/core alpha, team members are reporting the following errors on Android 12 and 13 devices. Both are a Samsung Galaxy, A90 and A13. ->
Error: java.lang.NoSuchMethodError: no non-static method "Lcom/telerik/android/primitives/widget/sidedrawer/RadSideDrawer;.setMainContent(Ljava/lang/String;)Ljava/io/File;"
Error: ClassNotFoundException when unmarshalling: androidx.core.widget.NestedScrollView$SavedState
Error: Unable to start activity ComponentInfo{com.$$.$$/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onCreate failed
Error: java.lang.NoSuchMethodError: no non-static method "Landroidx/appcompat/app/AppCompatActivity;.setContentView(Ljava/lang/String;)Ljava/io/File;
The onCreate failed occurs on an Android 9 moto g6 phone too.
Curiously, on a Realme GT Neo2, it has yet to crash at all when running on alpha
Reproduction
NoSuchMethodError occurs when freshly install the app, delete the old version if it exists and open the app. Twice when attempting to start the app will crash. On the 3rd time opening it runs fine.
To trigger the other errors, start the app, let everything load and then force close. Repeat these steps until the app crashes. Another time the error occurs is when it is left idle and then restarted. At times it crashes and attempts to restart, but gets stuck on the loading screen.
Relevant log output (if applicable)
Error: java.lang.NoSuchMethodError: no non-static method "Lcom/telerik/android/primitives/widget/sidedrawer/RadSideDrawer;.setMainContent(Ljava/lang/String;)Ljava/io/File;"
Error: ClassNotFoundException when unmarshalling: androidx.core.widget.NestedScrollView$SavedState
Error: Unable to start activity ComponentInfo{com.$$.$$/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onCreate failed
Error: java.lang.NoSuchMethodError: no non-static method "Landroidx/appcompat/app/AppCompatActivity;.setContentView(Ljava/lang/String;)Ljava/io/File;Environment
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct