Rendering error in Android 1.5 studio?

I am new to Android and have recently installed Android Studio 1.5. However, I am having some problems with rendering. Rendering problem in Android Studio 1.5 enter image description here

I tried installing packages, and these SDK Tools enter image description here

I searched the forum for help and found the answers. Then I selected a lower version of the Android API (Android 5.0 instead of Android 6.0). I also tried changing the theme (Tried Theme.AppCompat, Holo.Light, Material.Light). Then I also edited the styles.xml file this way

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

instead

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

I tried every method that I found on the Internet, but nothing helped. The main problem is that I can’t see the design interface (or the user interface, or just the phone screen), and even if I see it by changing some settings, I can’t add widgets to it and edit the layout. For example, I cannot select Hello World in a blank action by default and delete it.

Friends I am new to Android development and very new

+6
source share
2 answers

I changed the version of android to use to automatically select the best match. It is surrounded by blue ink and with the image "x". This solved the problem for me.

enter image description here

+1
source

the first answer works for me on android studio 1.5 ERROR: problems with rendering The following classes were not found. android.support.v7.internal.widget.ActionBarOverlayLayout

  • open styles.xml (app β†’ res β†’ values ​​-> styles.xml)
  • remove existing code in the <style>
  • insert only this code <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"/>
0
source

All Articles