Skip to content
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

issue related to react-native-screen #2114

Closed
muhammadusmansabir opened this issue Apr 27, 2024 · 10 comments
Closed

issue related to react-native-screen #2114

muhammadusmansabir opened this issue Apr 27, 2024 · 10 comments
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@muhammadusmansabir
Copy link

Description

A problem occurred configuring project ':react-native-screens'.

[CXX1101] NDK at C:\Users\Coding Expert\AppData\Local\Android\Sdk\ndk\26.1.10909125 did not have a source.properties file

Steps to reproduce

when i add the library giving the error mentioned in description.

Snack or a link to a repository

nill

Screens version

3.31.1

React Native version

0.74

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

A20 Samsungh

Acknowledgements

Yes

@github-actions github-actions bot added the Platform: Android This issue is specific to Android label Apr 27, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Apr 27, 2024
@kkafar
Copy link
Member

kkafar commented Apr 27, 2024

Hey @iCode-Stack, this looks rather like issue with your development environment configuration. Have you tried actually removing / installing NDK again (silly but sometimes effective) 😅

If you're new to development you can easily google resources with instructions on how to install Android NDK via Android Studio.

I'll close the ticket as I do not consider it to be a react-native-screens issue, will reopen if that changes.

@kkafar kkafar closed this as completed Apr 27, 2024
@metacop
Copy link

metacop commented May 1, 2024

image

I have exactly the same problem. with react native 0.74. any solution?

@metacop
Copy link

metacop commented May 1, 2024

Description

A problem occurred configuring project ':react-native-screens'.

[CXX1101] NDK at C:\Users\Coding Expert\AppData\Local\Android\Sdk\ndk\26.1.10909125 did not have a source.properties file

Steps to reproduce

when i add the library giving the error mentioned in description.

Snack or a link to a repository

nill

Screens version

3.31.1

React Native version

0.74

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

A20 Samsungh

Acknowledgements

Yes

image
I found the solution. was what the friend above said. now works with react native 0.74

@0xpranv
Copy link

0xpranv commented Jul 10, 2024

Description

A problem occurred configuring project ':react-native-screens'.

[CXX1101] NDK at C:\Users\Coding Expert\AppData\Local\Android\Sdk\ndk\26.1.10909125 did not have a source.properties file

Steps to reproduce

when i add the library giving the error mentioned in description.

Snack or a link to a repository

nill

Screens version

3.31.1

React Native version

0.74

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

A20 Samsungh

Acknowledgements

Yes

image I found the solution. was what the friend above said. now works with react native 0.74

Hey, thank you so much. This fixed the issue i was trying to resolve

@jorgedelrio-bax
Copy link

It seems that in my environment the folder "/home/user/Android/Sdk/ndk/26.1.10909125" exists, but it was empty. The way to reproduce the error is to create an empty directory with the same version specified in the build.gradle (ndkVersion = "26.1.10909125") for the NDK and try to build the app. I believe that some other tool created the directory but didn't install the NDK, fooling the other tools into thinking that the NDK was installed when, in reality, it was not.

@hamzadevlpr
Copy link

finally, I found the error solved

@KirtirajM
Copy link

KirtirajM commented Oct 14, 2024

I solved this same error by changing ndkVersion in build.gradle file
from ndkVersion = "26.1.10909125" to---> ndkVersion = "25.1.8937393"

@czheisenberg
Copy link

I solved this same error by changing ndkVersion in build.gradle file from ndkVersion = "26.1.10909125" to---> ndkVersion = "25.1.8937393"

Thank you!!!

@zubyrbutt
Copy link

this solution worked for me. software-mansion/react-native-reanimated#4712 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

9 participants