lyft / lyft/lyft-android-sdk

Lyft Android SDK integration issue

Open
#8 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
72
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I am integrating Lyft android SDK in my android app, using instruction given in below page

https://github.com/lyft/lyft-android-sdk

But I am getting below error while running app on mobile device:-

FAILURE: Build failed with an exception.

•What went wrong: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDevDebug'.

com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

•Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

•Get more help at https://help.gradle.org

BUILD FAILED in 3m 33s

I added multiDexEnabled true in default config of app gradle to resolve this issue but it doesn't work.

I am using Android Studio 3.0.1 and gradle 4.1 version.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Android SDK integration instructions at the repository URL and the app module's Gradle defaultConfig, where multiDexEnabled was added. Reproduce the build on the reported Android Studio 3.0.1 and Gradle 4.1 versions, then run with --stacktrace to determine the cause of the dex merge failure. Done means identifying a reproducible SDK integration fix or documenting the missing configuration needed to build successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.