Multiple dex files error when compiling with ant or Eclipse

前端 未结 8 430
猫巷女王i
猫巷女王i 2021-01-12 06:17

I am unable to build my application I am running the latest build tools downloaded today, this started happening after the update.

-dex:
   [dex] Converting          


        
8条回答
  •  花落未央
    2021-01-12 07:17

    Change implementation fileTree(include: ['.jar'], dir: 'libs') to provided fileTree(include: ['.jar'], dir: 'libs') in your app gradle.build> dependencies.

    Make sure it has changed in your Module Settings> Dependencies {include=[*jar] dir=libs} too. It must have a scope of Provided next to it and not Implementation.

提交回复
热议问题