Could you please guide me (also update docs) about how we can build react-native-mailcore for android using android tools version com.android.tools.build:gradle:3.0.1?
I followed the instructions using both other options but i face following error:
What went wrong:
Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.
com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/reactlibrary/BuildConfig;
- react-native version: 0.56.0
PS: Also tried adding multiDexEnabled true to defaultConfig, without any success->same error message occurs(even if i clean and rerun).