Android Studio preview error


My problem is that after installing and updating Android Studio, I see an error in the design tab that does not let me see the appearance of the app or the changes I made to it.

PC specifications:

  • Intel i3 2328m
  • 4 gb Ram
  • Window 10 Home 64 Bits

    Those are the errors that the design tab shows me

    This comes to me when trying to download what the Android Studio asks for

    asked by Anibal Velasquez 23.06.2018 в 02:00

    1 answer


    What you can do is change within /res/values/styles.xml


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

    for this

    <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">

    The problem is in the buildTools and support library appCompat versions that you use

    You can also try on the gradle to change your appCompat for this

    implementation '' 

    and use the buildToolsVersion

    buildToolsVersion '26.0.0' 

    With these changes you should solve your problem, try the first one and if the second does not work

    answered by 23.06.2018 / 19:17