0

SyntaxError: Unexpected token < in JSON at position 0 IMAGE

tried this:

android studio> sync with gradle files>clean project

yarn start —- –-reset-cache

run project on android studio

IT WORKED!

1
  • 1
    What is the question? Commented Apr 4, 2022 at 13:25

1 Answer 1

1

check your JSX code, you may have < before/after a JSX tag, which leads to that error

eg:

<<View>
     <Text>Something</Text>
   </View>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.