You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Our client we have a case where we need to reverse folders' structure in RN project (client's demand - also a brownfield app to be).
So that RN wouldn't wrap android and ios folder, but react-native would be a folder inside android project's folder.
I've created a boilerplate RN app (no expo) with cli and reversed the structure of file, app stopped running but that was expected, I've run npx react-native doctor and it showed it had problem with gradlew and android SDK. I've fixed gradlew, but right now I'm still facing android SDK problem and app won't boot up.
for npx react-native doctor part it shows:
✖ Android SDK - Required for building and installing your app on Android
- Versions found: N/A
- Version supported: Not Found
for npm run android part it shows:
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
ERROR: autolinkLibrariesFromCommand: process npx @react-native-community/cli config exited with error code: 1 FAILURE: Build failed with an exception. * Where:
Settings file '/Users/adamdominiak/rnpoc/android/settings.gradle' line: 3 * What went wrong:
A problem occurred evaluating settings 'android'.
> ERROR: autolinkLibrariesFromCommand: process npx @react-native-community/cli config exited with error code: 1 * Try:
I've seen same case here: #2490 (comment), but it doesn't solve the issue - probably due to the fact that still there's some path mismatch.
The text was updated successfully, but these errors were encountered:
Ask your Question
Hi!
Our client we have a case where we need to reverse folders' structure in RN project (client's demand - also a brownfield app to be).
So that RN wouldn't wrap android and ios folder, but react-native would be a folder inside android project's folder.
I've created a boilerplate RN app (no expo) with cli and reversed the structure of file, app stopped running but that was expected, I've run
npx react-native doctor
and it showed it had problem withgradlew
andandroid SDK
. I've fixedgradlew
, but right now I'm still facing android SDK problem and app won't boot up.for
npx react-native doctor
part it shows:for
npm run android
part it shows:I've seen same case here: #2490 (comment), but it doesn't solve the issue - probably due to the fact that still there's some path mismatch.
The text was updated successfully, but these errors were encountered: