不知道什么时候 debug的时候控制台总是会打印出这么两行提示
'PerformanceLogger: Attempting to end a timespan that has already ended ', 'renderApplication_React_render'
'PerformanceLogger: Attempting to start a timespan that already exists ', 'renderApplication_React_render'
不知道是什么意思 今天得闲就专门google了一下
google上说出现这个的原因是因为我们忘记了在AndroidManifest.xml文件中添加android:launchMode="singleTask"
如下图:
将其添加上之后,果然不再出现。小本本记下了