Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

TypeError: android.support.v7.widget.CardView is not a constructor #84

Closed
ghost opened this issue Apr 15, 2018 · 2 comments
Closed

TypeError: android.support.v7.widget.CardView is not a constructor #84

ghost opened this issue Apr 15, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 15, 2018

I have tried the steps in the post mentioned in README.md, but i still get this error:

An uncaught Exception occurred on "main" thread.
com.tns.NativeScriptException: 
Calling js method onCreateView failed 

TypeError: android.support.v7.widget.CardView is not a constructor
@bradmartin
Copy link
Collaborator

Error indicates the support lib with the CardView class is not present in your application executable, so a build issue is present. If you're on NS 4x, it's possible this plugin needs a minor change. Haven't looked into this personally, will try this next week.

@bradmartin
Copy link
Collaborator

just published 3.0.0 to npm which should fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant