0
<activity
            android:name="launchscreen.LaunchActivity"
            android:exported="true"
            android:screenOrientation="nosensor"
            android:theme="@style/AppTheme.SplashScreen">

<style name="AppTheme.SplashScreen" parent="AppTheme">
        <item name="android:statusBarColor">@color/w</item>
        <item name="android:windowBackground">@drawable/launch_screen</item>
    </style>

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item>
        <bitmap
            android:gravity="fill"
            android:src="@drawable/launch_bg_375" />
    </item>
    <item android:top="169dp">
        <bitmap
            android:gravity="top"
            android:src="@drawable/invos_logo_colorful_125_px" />
    </item>
    <item android:top="313dp">
        <bitmap
            android:gravity="top"
            android:src="@drawable/launch_words_white_260_px" />
    </item>
</layer-list>

The above code will result in a Resources$NotFoundException error. This error does not occur consistently and is not specific to any particular Android version or device brand, but has been reported on devices such as Vivo, Google Pixel 3 XL, Pixel 3, Motorola, and Asus. Please provide guidance on how to resolve this issue? Thank you.

Robert Longson
  • 118,664
  • 26
  • 252
  • 242
Justin
  • 1
  • 3

0 Answers0