ScrollView 以Release模式打包成APK后,运行时报错。。有人遇到吗?



  • 报错如下图:
    在平时调试时是一点问题都没有,连warning都没有的,
    但是切到android目录下,以 gradlew assembleRelease 打出来的APK包,运行起来就报异常,
    如果不用ScrollView、不用FlatList ,打出来的包能正常运行,
    各大侠有遇到过吗?

    0_1515063991659_Screenshot_2018-01-04-18-00-08-2019425426.png



  • RN版本是0.51



  • react-native0.51 and 0.50, scrollview, flatlis release crash, you can reduce the version to 0.49, I also encountered this problem, has been resolved


Log in to reply