ClassNotFoundException when building android release build with webpack


#1

While building an android release with webpack its trowing below exception

Exception in thread “main” java.lang.ClassNotFoundException: Class: android.support.v7.widget.RecyclerView$Adapter.

debug build works, and runs fine with npm run start-android-build.

Thank you
Vamsi


#2

This issue was resolved after manually adding below line to the dependencies section of build.gradle file manually

compile “com.android.support:recyclerview-v7:$supportVer”

Not sure if this is issue in latest nativescript build?