android.view.ViewRootImpl$CalledFromWrongThreadException

Only the original thread that created a view hierarchy can touch its views. 02-23 13:19:44.510: E/AndroidRuntime(11667):


Solutions on the web424

Solution icon of stackoverflow
Only the original thread that created a view hierarchy can touch its views. 02-23 13:19:44.510: E/AndroidRuntime(11667):

Solution icon of coderanch
via Coderanch by sam liya, 7 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by gsauthof
, 3 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by janoliver
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by naoliv
, 10 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by dragochristian
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by tuhin10
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Stack trace

  • android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. 02-23 13:19:44.510: E/AndroidRuntime(11667): at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4039) at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:709) at android.view.View.requestLayout(View.java:12675) at android.view.View.requestLayout(View.java:12675) at android.view.View.requestLayout(View.java:12675) at android.view.View.requestLayout(View.java:12675) at android.view.View.requestLayout(View.java:12675) at android.widget.TextView.checkForRelayout(TextView.java:6773) at android.widget.TextView.setText(TextView.java:3306) at android.widget.TextView.setText(TextView.java:3162) at android.widget.TextView.setText(TextView.java:3137) at com.pixelcrunch.crunchtime.TheCount$1.run(TheCount.java:87) at java.util.Timer$TimerImpl.run(Timer.java:284)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
8 times, 1 year ago
Once, 1 year ago
Once, 1 month ago
28 more bugmates