D
D
Dima Sokolov2018-09-15 16:51:46
Android
Dima Sokolov, 2018-09-15 16:51:46

Android Studio - designer doesn't see components?

There is an error in the designer and the elements are not displayed:
Render problem
Failed to load AppCompat ActionBar with unknown error.

compileSdkVersion 28
minSdkVersion 14
targetSdkVersion 28

appcompat:
'com.android.support:appcompat-v7:28.0.0-rc02'
If you replace
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

on the
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
then there is no error, but they write on SO that problems are possible in this case.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Varakosov, 2018-09-16
@dimka11

This is a known issue. Downgrade com.android.support:appcompat-v7to stable.

R
Rostislav, 2018-09-15
Makkall @viogull

Try switching SDK or theme here.
5b9d0ffd6d522964829501.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question