Reputation: 11
When compiling my Nativescript project this error occurs.
Nativescript: 5.4.2
Exception in thread "main" java.lang.RuntimeException: Class not found android.support.v7.widget.Toolbar.OnMenuItemClickListener
How to solve it, any help is appreciated. Thanks in advance.
Upvotes: 0
Views: 1864
Reputation: 1
I updated the Nativescript version from 5.4.2 to 6.1.2 and it fixed so many problems. I hope this may help you too.
Upvotes: 0
Reputation: 82
You need to migrate your application to AndroidX : Support for AndroidX in NativeScript
This tool makes the migration "painless" : AndroidX Migration tool
Upvotes: 1