Unable to execute dex: Multiple dex files define Lcom/google/api/client/googleapis/extensions/android/accounts/GoogleAccountManager;
I took me hours to figure out what the problem was.
The problem was my app had already added these google jars for my existing coding and developement
C:\WorkSpace\myapp\libs\google-api-client-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-api-client-android-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-android-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-gson-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-jackson-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-jackson2-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-oauth-client-1.15.0-rc.jar
C:\WorkSpace\myapp\libs\google-api-client-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-api-client-android-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-android-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-gson-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-jackson2-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-http-client-jdo-1.18.0-rc.jar
C:\WorkSpace\myapp\libs\google-oauth-client-1.18.0-rc.jar
I removed conflicting jars by deleting those jars in version 1.15. Mission accomplished.
No comments:
Post a Comment