0

I met this problem after load JS, any idea for this ? many thanks.

TypeError: expected dynamic type 'string', but had type 'int64'.

1
  • Please add tags!, and more explanations Commented Jul 1, 2016 at 7:44

1 Answer 1

2

The error is caused by react-native using the gradle package on the repository which is pre-built. If your version of react-native is from github then you are most likely to run into incompatible binaries.

Solution is to change the file in ProjectName/android/app/build.gradle

compile 'com.facebook.react:react-native:0.11.+'

to

compile project(':ReactAndroid')

That way it will depend on your local library (and ofcourse you need to move the ReactAndroid folder to its correct position & you will need the android-ndk )

I would strongly recommend to wait for sometime.

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.