Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running react native bare project results in error A problem occurred configuring project ':react-native-reanimated'

I have installed react native through the expo kit and now when I run yarn run android I received that error. I haven't changed anything on the template. I don't know what is happening.? If there are further about feel free to ask. I have also checked the build.gradle of react native reanimated but ,unfortunately , no success has shown up.

FAILURE: Build failed with an exception. 

* Where:
Build file 'C:\Users\David\Desktop\TheGuruApp\node_modules\react-native-reanimated\android\build.gradle' line: 89

* What went wrong:
A problem occurred configuring project ':react-native-reanimated'.
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.      

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

BUILD FAILED in 28s

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\David\Desktop\TheGuruApp\node_modules\react-native-reanimated\android\build.gradle' line: 89

* What went wrong:
A problem occurred configuring project ':react-native-reanimated'.
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.      

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

BUILD FAILED in 28s
like image 636
Deyvid Popov Avatar asked Apr 18 '20 08:04

Deyvid Popov


1 Answers

You have install Android API level 29 and reopen the project... then it will fix itself.

Just go to sdk manager from android studio and install android 10.0(Q) level 29 , show package details google apis intelx86 Atom system image

and restart android studio and open the project it will work... image

like image 147
Rahul Shakya Avatar answered Sep 20 '22 06:09

Rahul Shakya