When we using 3rd party library, sometimes we got this error while running our app, eg:
1 | Dex Loader Unable to execute dex : Multiple dex files define Lcom/google/gson/JsonSerializer; |
This happen when in our app, we have libs folder with gson jar (eg: gson-2.2.4.jar).
In sametime, our Google Play Service library already have Gson as well.
The solution is uncheck the same libraries in our App.