HwangTaehyun / react-native-lottie-splash-screen

⚡ Lottie splash screen for your react native app!
MIT License
222 stars 62 forks source link

In my case the Lottie splash screen is not integrated it have error. #83

Closed mehranali12 closed 7 months ago

mehranali12 commented 1 year ago

"react-native-lottie-splash-screen": "^1.1.2",

platform (Android)

new error

Join a screenshot or video of the problem on the simulator or device?

this is the _launchscreen.xml file. _**<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/launch_screen"

<com.airbnb.lottie.LottieAnimationView android:id="@+id/lottie" android:layout_width="match_parent" android:layout_height="match_parent" app:lottie_rawRes="@raw/loading" app:lottie_autoPlay="true" app:lottieloop="false" /> **

this is the error message in text. _*** What went wrong: Execution failed for task ':app:mergeDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed (Failed to compile resource file: D:\Apps\ReactNative\HisabKitab\android\app\src\main\res\layout\launchscreen.xml: . Cause: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. at [row,col {unknown-source}]: [31,5]). Check logs for more details.**

HwangTaehyun commented 7 months ago

I don't think the problem lies with this library. You can refer to this https://stackoverflow.com/questions/23359572/android-studio-execution-failed-for-task-appmergedebugresources-if-projec

HwangTaehyun commented 7 months ago

I will close the issue.