-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After splash screen appears the following error comes, why? #630
Comments
I'm also running into a similar error (Class not found RelativeLayout in launch_screen.xml). It seems to only occur when I try and load the sheet component from tamagui //res/layout/launch_screen.xml
Edit: This seems like a duplicate of #624 |
Has anyone found a solution? I've just hit the same error but when I try to navigate from the splash screen to another one... |
I switched to https://github.com/zoontek/react-native-bootsplash |
I did the same, works like a charm. |
Remove the following line in styles.xml:
This line is mentioned in some old documentation and blogposts, but is not necessary (anymore). Just adding launch_screen.xml in the layout directory, works fine. |
This one work for me I just comment the same line mentioned by the @fikkatra |
Gracias sirvió de mucho 👍👏 |
Remove this line from styles.xml |
If you are using TextInput in your component just remove. It work's for me |
@fikkatra thanks for providing solution it working |
@fikkatra Thank you. It work's for me |
This worked for me, Thankyou! |
This problem usually occurs in React Native >=0.73.
|
This works for me. However running in windows does not require to remove that line while in mac if line persist it throws the error. |
Drawable com.fettanmb:layout/launch_screen with resource ID #0x7f0b002f File res/layout/launch_ screen.xml from drawable resource ID #0x7fOb002f Class not found RelativeLayout Didn't find class "RelativeLayout" on path: DexXPathList[[zip file "/data/app/ w~2X6pV5uSDu8iSperw7JtzQ==/ com.fettanmb-6BQm1jQ08RJslOEJKZnulg==/ base.apk"l,nativeLibraryDirectories-(/datal app/~~2X6pV5uSDu8iSperw7 JtzQ==/ com.fettanmb-6BQm1jQ08RJslOEJKZnulg==/ lib/arm64, /data/app/ w2X6pV5uSDu8iSperw7 JtzQ==/ com.fettanmb-6BQm1jQ08RJslOEJKZnulg==/ base.apk!/lib/arm64-v8a, /system/lib64, / system/system _ext/lib64]
//res/layout/launch_screen.xml
//res/values/styles.com
Originally posted by @Bisiedigital in #432 (comment)
The text was updated successfully, but these errors were encountered: