TypeError: expected dynamic type 'string', but had type int64 in react-native Example for Android -


i met problem after load js, idea ? many thanks.

typeerror: expected dynamic type 'string', had type 'int64'.

the error caused react-native using gradle package on repository pre-built. if version of react-native github run incompatible binaries.

solution change file in projectname/android/app/build.gradle

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

to

compile project(':reactandroid')

that way depend on local library (and ofcourse need move reactandroid folder correct position & need android-ndk )

i recommend wait sometime.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -