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

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -