I am new in react native
and I use it in Ubuntu. I would like to run a project on my PC. I use yarn and android emulator. Here is my installed application versions:
yarn: 1.2.0
nmp: 3.10.10
I got the following error while use:
$ react-native run-android
Here is the error:
* What went wrong:
Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
I have tested many solutions that exist in stackoverflow
but, non of them did't work for me. such as:
Adding google services - Execution failed for task ':app:processDebugResources'
Error:Execution failed for task ':app:transformClassesWithDexForDebug' in android studio
I also use Google play service
and I have installed Firebase
plugin.
Do you have idea that what should I do?