The Following Classes Could Not Be Found: Android.Support.V7.Internal.App.Windowdecoractionbar

android.support.v7.internal.app.WindowsDecorActionBar Rendering Problems

ActionBar is deprecated in the latest android api... If you need to use it make sure your theme read as follow:

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

you can find this in:

res > values > styles.xml

How to fix 'The following classes could not be found: - android.support.v7.widget.Toolbar' error in Java

Try to use the toolbar from the androidx dependencies

 <androidx.appcompat.widget.Toolbar
android:id="@+id/toolBarTop"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/colorPrimary"/>
// YOUR INNER CONTENT

</androidx.appcompat.widget.Toolbar>

WindowDecorActionBar error in latest Android Studio

in style.xml change

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

to

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

The following classes could not be found: android.support.constraint.RelativeLayout

RelativeLayout is not inside that package, you should use :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp" >

Or if you are importing inside your class:

import android.widget.RelativeLayout;


Related Topics



Leave a reply



Submit