0x5e / react-native-alipay

Alipay SDK for React Native. Support RN >= 0.47.
MIT License
198 stars 86 forks source link

Android - build failure when using multidex #25

Open fadani opened 5 years ago

fadani commented 5 years ago

Hey @0x5e

We are using multidex in our android build, and the after following the documentation we are getting the this error:

* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103)

Do you have any suggestion what might go wrong here?

Thank you