Cordova File plugin never becomes ready in Android

前端 未结 3 1843
花落未央
花落未央 2021-01-06 01:05

I have a dead simple Cordova app with a single plugin: org.apache.cordova.file.

When I emulate the app in an android emulator, the deviceready event is

3条回答
  •  萌比男神i
    2021-01-06 01:18

    Try installing the 1.1.0 version of the file plugin. Updating to 1.2.0 was a bad idea.

    cordova plugin add org.apache.cordova.file@1.1.0
    

    This made the job for me on Android (and on iOS I stopped having other exotic problems).

提交回复
热议问题