class not found Relative Layout error in React native app

1.6k Views Asked by At

is there anyone who can please tell about this error is started after I set splash screen to my react native app.

my app was working before I added splash screen, I think there is something wrong in launch_screen.xml file in layout folder. open error SS

1

There are 1 best solutions below

0
Abdulkadir Ugas On

as long as you didn't show your code but said your app was working before you added the splash screen.

I think you can try one of these; both of them worked for me.

  1. I was pointing theXML (lunch_screen) in my style, but when I commented or changed it to @drawable/rn_edit_text_material it works fine

    @drawable/rn_edit_text_material

<item name="android:editTextBackground">@drawable/rn_edit_text_material</item

2.as mentioned in the guide add these to your style.xml

<item name="android:windowIsTranslucent">true</item>