[File Plugin] Error build for android
Question
Forge component by OutSystems R&D
Application Type
Mobile

Please see the attached image for reference. Thank you in advance :)

Hi Jan,

Seems its nothing to do with file plugin, By looking into the log seems plugin "Cordova-plugin-compat"  version is not compatible with Android Cordova. Please check below plugin version.


Please read the plugin details using below url.

https://www.npmjs.com/package/cordova-plugin-compat


Hi Jan,


you could try to make use of the latest version of the cordova-file-plugin available on Github, namely version 6.0.2. In order to do it, open the FilePlugin module in Service Studio and change the Extensibility Configuration of the module to the following:

{

    "plugin": {

        "url": "https://github.com/apache/cordova-plugin-file.git#6.0.2"

    }


}

Generate again the Android distribution of the application. You should not find any problem.


Best regards, 

pedro

That answer helped me, solved my problem.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.