一、
今天react-native 使用realm居然不能调试,一调试就报
this._constructor is not a function
new
H:\working\reactnative\testother\node_modules\realm\lib\browser\index.js:80:22
这个问题,由于我是新作的系统,因此什么react-native 都是最新的,我曾经想使用旧版本1.13.0可是安装失败,后来,看源码,源码里面搜不到_constructor 这个函数,去掉了,能调试了
二、关于在模拟器下看不到/data/data下数据问题
C:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools>adb shell
chomd -R 777 /data/
我没有成功原因是我的android是7.1的,网上说用6即可,我不知道