I'm developing a mobile app with Ionic 4, Capacitor and some Cordova plugins and have run into a problem when attempting to run the app on Android. Android Studio refuses to run the project and prints the following error:
ERROR: Unable to find module with Gradle path ':capacitor-cordova-android-plugins' (needed by module 'app'.)
如果在 android 项目文件夹中找不到文件夹capacitor-cordova-android-plugins,则需要运行一个capacitor命令来创建它(并更新插件变量):
npx cap sync
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.