Wednesday, 20 April 2016

android - How do I have to fix merging dex build error?

I imported those libraries for getting gmail gender.



....
// google auth
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation group: 'com.google.apis', name: 'google-api-services-people', version: 'v1-rev194-1.23.0'

....


I added only one library 'implementation group: 'com.google.apis', name: 'google-api-services-people', version: 'v1-rev194-1.23.0' but I failed to build.



    Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'com.android.builder.d
exing.DexArchiveMergerException: Error while merging dex archives:

S:\Work\team\Lovejam\src\app\Android\LoveJam\app\build\intermediates\transforms\
dexBuilder\debug\319.jar,

S:\Work\team\Lovejam\src\app\Android\LoveJam\app\build\intermediates\transforms\
dexBuilder\debug\339.jar,
...


I've already apply MultiDex library.
How can I resolve it?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...