Prokash Sarker
Prokash Sarker

Reputation: 1

Configure Project : react-native-reanimated

Configure project :react-native-reanimated

Native libs debug enabled: true

Android gradle plugin: 7.0.4

Gradle: 7.3.3

building Reanimated2

Upvotes: 0

Views: 6185

Answers (4)

Prokash Sarker
Prokash Sarker

Reputation: 1

Android cd android echo "RUN ./gradlew --stop" ./gradlew --stop echo "RUN ./gradlew cleanBuildCache" ./gradlew cleanBuildCache echo "RUN rm -rf ~/.gradle/caches/" rm -rf ~/.gradle/caches/ echo "RUN rm -rf .idea" rm -rf .idea && cd .. echo "RUN npm cache clean --force" npm cache clean --force echo "RUN npm install --legacy-peer-deps" npm install --legacy-peer-deps echo "RUN npx react-native run-android" npx react-native run-android

IOS

npm cache clean --force npm install --legacy-peer-deps npx pod-install ios

Upvotes: -1

Sahil Shaikh
Sahil Shaikh

Reputation: 1

i solved it by simply changing my compileSdkVersion & targetSdkVersion from 31 to 34.

Upvotes: 0

Iasonas Christoulakis
Iasonas Christoulakis

Reputation: 37

Configure project :react-native-reanimated Native libs debug enabled: false Android gradle plugin: 7.0.4 Gradle: 7.3.3 building Reanimated2 [CXX1101] NDK at /Users/iasonasxrist/Library/Android/sdk/ndk/21.4.7075529 did not have a source.properties file This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.

Upvotes: 0

Louay Sleman
Louay Sleman

Reputation: 2106

Upgrade your react-native-reanimated to v2.9.1 to fix the problem.

Then

cd android 
./gradlew clean

You can check more details and answers from here

Upvotes: 1

Related Questions