Jump to content

im using android studio, latest version and just loaded the basic activity and get

 

render problem

Failed to find style 'coordinatorLayoutStyle' in current theme

 

i am using the android sdk 28 

 

anybody know what the problem is, i have looked online but none of those solutions have worked just given way more errors

 

 

thanks

Link to comment
https://linustechtips.com/topic/967006-android-studio-render-problem/
Share on other sites

Link to post
Share on other sites

It is an issue of android API 28.(Android 9) You can either downgrade the sdk version to 27(Android 8.1 Oreo) in the app build.gradle or get around it by adding this in your resource folder. 

Spoiler

<style name="AppTheme.NoActionBar"> <item name="coordinatorLayoutStyle">@style/Widget.Design.CoordinatorLayout</item> </style>

 

Sudo make me a sandwich 

Link to post
Share on other sites

On 9/4/2018 at 6:54 AM, wasab said:

It is an issue of android API 28.(Android 9) You can either downgrade the sdk version to 27(Android 8.1 Oreo) in the app build.gradle or get around it by adding this in your resource folder. 

  Hide contents

<style name="AppTheme.NoActionBar"> <item name="coordinatorLayoutStyle">@style/Widget.Design.CoordinatorLayout</item> </style>

 

 

thanks

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×