25
Views
2
Comments
[File Plugin] Error build for android
Question
Forge component by OutSystems R&D
8
Published on 03 Feb 2021
Application Type
Mobile

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

Rank: #686

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


Rank: #284

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