capacitor-community / contacts

Contacts Plugin for Capacitor

Home Page:https://capacitor-community.github.io/contacts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ionic capacitor 3 project getting cannot resolve ch in mainactivity

fitprotracker opened this issue · comments

Walking through the example and getting the error in the mainactivity.java file.

image

any thoughts?

Same issue here, on a completely vanilla project

I upgraded my gradle inside android studio from 4.x to 7.x and now all is well

commented

This is a common error, that is caused by forgetting to run npx cap sync and/or forgetting to run Gradle sync. I am happy you were able to resolve the issue in the end. I have added it to the documentation as well: https://capacitor-community.github.io/contacts/#/guide-troubleshooting