The TWA LauncherActivity crashed with Resources$NotFoundException (0xffffffff) because android:value with hex color strings is not supported by androidbrowserhelper — it expects android:resource pointing to color resources. - Created res/values/colors.xml with all app colors - Changed AndroidManifest.xml to use android:resource="@color/..." - Updated styles.xml to reference color resources
10 lines
514 B
XML
10 lines
514 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
|
<item name="android:windowBackground">@color/colorSplashBackground</item>
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
<item name="android:statusBarColor">@color/colorStatusBar</item>
|
|
<item name="android:navigationBarColor">@color/colorNavigationBar</item>
|
|
</style>
|
|
</resources>
|