[Android Studio] About the matter that the design view is not displayed when using TextClock

Overview

The other day, I installed the latest version (3.6.2) of Android Studio, but the design view of the app I created in the previous environment disappeared. When I check the error, it says "Render problem".

After a lot of research, it seems that the cause is the use of TextClock. Information on stackOverflow, but this seems to be a bug in Android Studio.

I didn't bother to write it because there is an English source, but I took the time to do so, so let me share it. Also, since this is the first post, if you have any questions, please give us your guidance. "TextClock render problem in layout preview" https://stackoverflow.com/questions/60565227/textclock-render-problem-in-layout-preview

solution

This is not a fundamental solution, but a workaround. As you can see in stackOverflow Answers,

I think the least stressful method is to "replace the TextClock in the xml tag with a TextView and replace it with a TextClock at build time".

Of course, downgrading to an earlier version is one workaround. It will take some time.

At the end

By the way, in the latest version of Android Studio (3.6.2), Text Clock is gone from Palette. It's strange because I couldn't find any information about it being deprecated or deprecated.

Recommended Posts

[Android Studio] About the matter that the design view is not displayed when using TextClock
About the problem that the image is not displayed after AWS deployment
[Rails] About the error that the image is not displayed in the production environment
When the project is not displayed in eclipse
About the solution to the problem that the log of logback is not output when the web application is stopped
The story that the build error did not stop when using Eclipse 2020
When UITextView is not displayed (Swift, Xcode)
About the matter that was confused by "param is missing or the value is empty:".
Impressions and doubts about using java for the first time in Android Studio
The list of installed apps is not displayed in getPackageManager (Android11 ​​/ API level 30)
[Rails] About the problem that the video thumbnail automatically created by FFmpeg is not displayed [AWS S3 + EC2 + CarrierWave + Fog]
The devise error message is not displayed properly.
I want to solve the problem that JS is not displayed properly unless reloaded when transitioning with Turbolinks: link_to
GoogleMap is not displayed until the browser is reloaded
[Ruby on rails] When executing the heroku command, bash: heroku: command not found is displayed. [Rails tutorial]
Processing when an ID that does not exist in the database is entered in the URL
How to fix the problem that the upper half is cut off when using UITabBar
About the matter that hidden_field can be used insanely
[Error] The app is not displayed in the production environment
Rails: When the image is no longer displayed using refile (the story was just fill → size)
Fixed the phenomenon that vuetify built in Rails is not loaded when page transition is done
A memo when the incoming number acquisition using Broadcast Receiver does not work on Android 9/10
When changing user information using devise Settings on the edit screen when the password is not saved
[Rails] What to do when the view collapses when a message is displayed with the errors method