Closed rohantejeswar closed 3 years ago
Hey,
can you check if you have done these steps:
1) Install the plugin npm i ...
2) npx cap sync android
3) Open Android studio
4) If the Plugin is still not found. Find the Gradle section. Right click on the first entry and "Reimport Gradle Project"
See the Capacitor Android Docs for further information.
Hey!
Thanks a ton for your help. Turns out all I needed to do was npx cap sync android
.
Capacitor version:
Affected Platform(s):
Current Behavior
On trying to register plugin in Android at com.companyname.appname.MainActivity#onCreate, importing the plugin says that the plugin is not found
Expected Behavior
I would expect the plugin to register in MainActivity
Sample Code or Sample Application Repo
Other Information
I do not have any expirence with Android Studio, any help with getting this plugin to work would be appreciated