Cordova - Multiple dex files define (annotation)

后端 未结 5 1063
别那么骄傲
别那么骄傲 2020-12-11 18:59

I\'m working on a project with ionic. After I installed the Facebook Plugin I\'m not able to build the project for android anymore!

The command

ionic         


        
5条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 19:35

    We had the same problem with Google Analytics plugin with One Signal plugin and finally it was resolved by installing the plugins in different order;

    1. first install Google Analytics
    2. and then One Signal plugin, if you install in reverse order you will get that error.

    This was our config:

    • Cordova CLI: 7.0.1
    • Ionic Framework Version: 3.3.0
    • Ionic CLI Version: 2.2.1
    • Ionic App Lib Version: 2.2.0

    Cheers!

提交回复
热议问题