'ionic error: cannot find symbol import org.apache.cordova.CordovaPluginPathHandler

While running the build for android, the following is what I am getting.

Task :capacitor-cordova-android-plugins:compileDebugJavaWithJavac FAILED
PROJECT_PATH/android/capacitor-cordova-android-plugins/src/main/java/org/apache/cordova/file/FileUtils.java:39: error: cannot find symbol

import org.apache.cordova.CordovaPluginPathHandler;

FYI: iOS is running perfectly fine.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source