Activity crashes
Closed this issue · 2 comments
dvargas135 commented
I cloned your project but it doesn't seem to be able to run, getting different errors each time. Don't know what it could be.
Also, is there a way to not use an action bar? (the one on top)
check the stack trace here: https://hastebin.com/share/ifagofosiw.php
dvargas135 commented
my styles.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.Prueba" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/black</item>
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
</style>
</resources>
dvargas135 commented
seemed to get fixed by creating a new project... love android