TuyaInc / tuyasmart-home-sdk-react-native

MIT License
29 stars 65 forks source link

React Native Android Folder not found.. #28

Closed THALLIVA closed 4 years ago

THALLIVA commented 5 years ago

I followed this procedure and I am failing to achieve the desired result..

I followed this procedure..

-> cd Example -> sudo npm install -> sudo npm start -> sudo react-native run-android

I am not deleting or doing a manual link to the SDK..

Just wanted to run the React-Native Example App.. I have attached the screenshot of the following problem..

Screenshot 2019-06-14 at 3 00 05 PM

THALLIVA commented 5 years ago

Forgot to mention react-native-cli: 2.0.1 react-native: 0.58.0 npm: : 6.9.0

linqwFmt commented 5 years ago

build.gradle remove wrapper // task wrapper(type: Wrapper) { // gradleVersion = '4.4' // distributionUrl = distributionUrl.replace("bin", "all") // }

THALLIVA commented 5 years ago

I removed the wrapper but still I'm getting this Error.. Screenshot 2019-06-19 at 5 45 44 PM

linqwFmt commented 5 years ago

react-native upgrade

THALLIVA commented 5 years ago

Did that too... But still getting the Error..

downgraded the JDK version to 9 but still getting this error.. Gradle 4.7 supports JDK till 10.. Screenshot 2019-06-19 at 6 15 07 PM

linqwFmt commented 5 years ago

react-native upgrade

THALLIVA commented 5 years ago

Did that friend.. It gave me the above error..