Please help resolving this issue. I was able to build app in android studio after command "ionic capacitor build android". Android works fine until I added the plugin cordova-plugin-advanced-http, the error stated as follows:
D:\temp\myApp4\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\file\FileUtils.java:39: error: cannot find symbol import org.apache.cordova.CordovaPluginPathHandler; ^ symbol: class CordovaPluginPathHandler location: package org.apache.cordova
[capacitor] [info] Found 5 Cordova plugins for android:
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] √ copy android in 4.44s
[capacitor] √ Updating Android plugins in 25.69ms
[capacitor] [info] Found 4 Capacitor plugins for android:
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] [info] Found 5 Cordova plugins for android:
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] [email protected]
[capacitor] [email protected]```
cordova-plugin-advanced-http
plugin? Why do you want to use this plugin? Is this plugin repo updated or outdated at this moment? Thanks! – Splintapp.module.ts
file? And also removed theHttpClientModule
from there? Please, do that and try again. – Splintfile
plugin for capacitor was updated in the last week (npmjs.com/package/cordova-plugin-file) and rolling back to the previous 6.0.2 version from 7.0.0 allowed my application to compile. Could you try version 3.2.2 of thehttp
plugin? npmjs.com/package/cordova-plugin-advanced-http – Charkha