Multiple dex files define Lorg/apache/cordova/BuildHelper

前端 未结 17 1605
梦如初夏
梦如初夏 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:19

    There may be mismatch of the plugins in the android builds. So better run 2 commands for successful build

    cordova platform rm android
    cordova platform add android
    

    After wasted 2 days this seems to be only working solutions for me.

提交回复
热议问题