Error when building apk - “Multiple dex files define Lcom/google/ads/Ad”

前端 未结 6 1478
情歌与酒
情歌与酒 2020-12-02 00:57

I\'ve been tearing my hair out over this one, for the past 3 hours I\'ve been trying to fix it but have been unable to. I\'ve created an android app and I\'m ready to put it

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 01:24

    I had the same or a similar problem. My problem was that my application imported a library which used a different version of AdMob SDK.

    Details of my problem:

    • Library used AdMob SDK 6.3.0
    • Application used AdMob SDK 6.1.0

    Fixed it by including the same version.

提交回复
热议问题