Error when the performance monitor is switched on

#1

Only the original thread that created a view hierarchy can touch its views.
checkThread
ViewRootImpl.java:6891
invalidateChildInParent
ViewRootImpl.java:1083
invalidateChild
ViewGroup.java:5205
invalidateInternal
View.java:13656
invalidate
View.java:13592
invalidateDrawable
View.java:17804
invalidateDrawable
TextView.java:5555
invalidateSelf
Drawable.java:435
setVisible
Drawable.java:819
onVisibilityAggregated
View.java:10409
dispatchDetachedFromWindow
View.java:15555
removeAllViewsInLayout
ViewGroup.java:4910
removeAllViews
ViewGroup.java:4856
setFpsDebugViewVisible
DebugOverlayController.java:115
resetCurrentContext
DevSupportManagerImpl.java:700
onNewReactContextCreated
DevSupportManagerImpl.java:624
setupReactContext
ReactInstanceManager.java:971
access$1300
ReactInstanceManager.java:113
run
ReactInstanceManager.java:941
handleCallback
Handler.java:751
dispatchMessage
Handler.java:95
dispatchMessage
MessageQueueThreadHandler.java:31
loop
Looper.java:154
run
MessageQueueThreadImpl.java:194
run
Thread.java:761

Even in my build logs I can see 2 errors may be this is the error that I see. I can fix that by switching the perf monitor off but I also need performance monitor to test the performance.

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.