I try to download a file in my ionic+vue app, but when I add the Capacitor filesystem plugin:
npm install @capacitor/filesystem
npx cap sync
My package.json:
"@capacitor/android": "4.3.0",
"@capacitor/app": "4.0.1",
"@capacitor/core": "4.3.0",
"@capacitor/filesystem": "^5.2.1",
The error when I build in Android:
node_modules/@capacitor/filesystem/android/src/main/java/com/capacitorjs/plugins/filesystem/Filesystem.java:324: error: HttpURLConnectionBuilder has private access in HttpRequestHandler
HttpRequestHandler.HttpURLConnectionBuilder connectionBuilder = new HttpRequestHandler.HttpURLConnectionBuilder()
The error in Xcode:
Cannot find 'HttpRequestHandler' in scope
I’m lost with this problema, and don’t know what happens with that Filesystem capacitor plugin… Any help will be welcome!