6

I am new to Android and recently installed Android Studio 1.5. However I'm getting Some problems in Rendering Rendering problem in Android Studio 1.5 enter image description here

I've tried installing packages and here are those SDK Tools enter image description here

I searched forums for help and found some answers. I then selected a lower version of 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 my styles.xml file in this way

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

instead of

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

I tried every method I found on the Internet, but nothing helped. The main problem is that I cant See the design interface (or UI, or simply the phone screen) and even if I see it by changing some Settings, I cant add widgets to it and edit the Layout. For example, I cant select the Hello World in default blank activity and delete it.

Friends I am new to Android Development and a very beginner

Angel Koh
  • 12,479
  • 7
  • 64
  • 91
Andrew Bond
  • 67
  • 1
  • 5
  • What error message do you get? Can you post a screen what you see in the UI editor window? – Marcin Kunert Nov 22 '15 at 08:29
  • most probably it is due to the fact that sdk tools are not downloaded correctly – Ravi Nov 22 '15 at 08:44
  • I have Put the error message screenshot in a link in Questions. The Link is named Rendering problem in Android Studio 1.5 The error message reads Rendering problems since the following class could not be instantiated - android.support.design.widget.AppBarLayout and android.support.design.widget.CoordinatorLayout – Andrew Bond Nov 22 '15 at 09:54
  • Also when i change api, i get another error as android.support.v7.internal.App.WindowDecorActionBar – Andrew Bond Nov 22 '15 at 10:04

2 Answers2

1

I changed the android version to use to automatically pick best fit. It is circled a with blue ink and marked "x" in the image. This resolved the issue for me.

enter image description here

hTony
  • 11
  • 2
0

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

  • open styles.xml ( app --> res --> values --> styles.xml )
  • remove existing code in <style> tag
  • insert only this code <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"/>
Community
  • 1
  • 1
fifala
  • 13
  • 5