Multiple dex files define Lorg/apache/cordova/BuildHelper

前端 未结 17 1594
梦如初夏
梦如初夏 2020-11-29 01:57

I\'m in trouble since yesterday. In my internship I faced the following build error, but I couldn\'t understand why :

$ cordova build android

[...]

FAILURE         


        
17条回答
  •  清歌不尽
    2020-11-29 02:21

    With my Ionic 3 project it was enough to run:

    ionic cordova plugin rm cordova-plugin-compat --force
    ionic cordova plugin add cordova-plugin-compat@1.2
    

    And then run a build again. No need to remove and add the platform.

提交回复
热议问题