This problem happen after android studio suddenly close itself. I feel relieve when i see the interface output can show it's text but, it annoy me when i try to codes the interface and there is no text shown there. How can i solve this problem and what make this problem occur?
Asked
Active
Viewed 73 times
0
-
Try invalidate cache and restart. Might work. – KalanaChinthaka Aug 28 '20 at 05:15
-
@KalanaChinthaka still not work. – XiaoProgrammer Aug 28 '20 at 05:19
-
Are you using android sdk 28? – KalanaChinthaka Aug 28 '20 at 05:34
-
yes, i using sdk 28. – XiaoProgrammer Aug 28 '20 at 05:37
-
is it because of the API preview is 30 that the text didnt come out? – XiaoProgrammer Aug 28 '20 at 05:39
-
I had the same issue once. It is a bug in the SDK 28 I guess. Change the compile sdk version and the target sdk versions of your gradles builds to 27 if it is OK with you. – KalanaChinthaka Aug 28 '20 at 05:39
-
Thanks for suggestion, but still not working. I just realize that it happen on this page only. Then i open another copy of this program. Only that page did.nt show text. Maybe i' should start from scratch. – XiaoProgrammer Aug 28 '20 at 05:58
-
Change your appcompat dependencies to implementation 'com.android.support:appcompat-v7:27.1.1' as well. I found a sample problem here also. https://stackoverflow.com/q/51591251/13685592 – KalanaChinthaka Aug 28 '20 at 06:08
1 Answers
0
I already solve this problem by use the new render layout. I kind a hesitate to use it at first because i have face this problem before and it is also render problem. No matter how many time i change my codes according to suggestion and change the render layout. Still nothing works. I need start from scratch because i can't find the solution. But this time it's work.

XiaoProgrammer
- 13
- 5