简体   繁体   中英

Why Multiple Dex files error is thrown

I want to know the reason for the following error: "unable to execute dex: multiple dex files define" .

In my project I have multiple projects having different set of libraries, some projects share same library. What is the reason for this error.

This is because I had two google play services versions pointed in the project. I decoupled the unwanted library and the project compiles.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM