I build a project in react-native and it works fine on my computer, but after change its location the problem starts to happen. I installed the package using "yarn add @react-native-community/async-storage"
I tried to npm install, re-install the component with yarm, and others.
"dependencies": {
"@react-native-community/async-storage": "^1.4.2",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-vector-icons": "^6.5.0",
"react-redux": "^7.1.0",
"redux": "^4.0.1"
},
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':@react-native-community_async-storage'.
SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/matheus/Desktop/TicTaeToe/android/local.properties'.