Render problem in android studio, does not show components

0

I just created the project and it does not show my action bar, nor the textview that I just put, it sends me that message of render problem, I hope you can help me, it's the first time this happens to me, and maybe it has to do with which is the first project that I believe in this new pc

    
asked by Carlos Alfonso Barron Rivera 25.06.2018 в 20:16
source

2 answers

0

I solved it (put it). In the folder app> res> values> styles.xml Changing this:

style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"

by:

style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"

What you do is that you do not see the action bar. But you do not finish it. But you can keep working. The other is to enter by Gradle Scripts> build.gradle (Module: app): The line

implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'

you change the 3 to a 1 and synchronize it

implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
    
answered by 29.07.2018 / 04:37
source
0

Search the directory and change the line of code as it appears in the image Do not forget to click on Sync Now, this should solve your problem.

    
answered by 15.08.2018 в 22:37