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

Android project configuration fails on new projects #17510

Closed
AxanIqbal opened this issue May 14, 2022 · 2 comments
Closed

Android project configuration fails on new projects #17510

AxanIqbal opened this issue May 14, 2022 · 2 comments
Labels
CLI Versioned Expo CLI -- `npx expo start` needs validation Issue needs to be validated

Comments

@AxanIqbal
Copy link

AxanIqbal commented May 14, 2022

Summary

having android path? Errors on new init project but working smoothly on old project with same sdk (was upgraded from 44 sdk)
React Native CLI failed to determine Android project configuration. This is likely due to misconfiguration.

npx @react-native-community/cli doctor
Common
 ✓ Node.js
 ✓ yarn

Android
 ✓ JDK
 ✓ Android Studio - Required for building and installing your app on Android
 ✖ Android SDK - Required for building and installing your app on Android
   - Versions found: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 32.0.0
   - Version supported: .b31.0.0
 ✓ ANDROID_HOME

Errors:   1
Warnings: 0
react-native config
{
...
"android": null
  }
}

What platform(s) does this occur on?

Android

SDK Version

45.0.4

Environment

expo-env-info 1.0.3 environment info:
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
Yarn: 3.1.1 - C:\Program Files\nodejs\yarn.CMD
npm: 8.5.1 - C:\Program Files\nodejs\npm.CMD
SDKs:
Android SDK:
API Levels: 27, 28, 29, 30, 31, 32
Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 32.0.0
System Images: android-28 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-31 | Google Play Intel x86 Atom_64
Android NDK: 22.1.7171670
IDEs:
Android Studio: AI-212.5712.43.2112.8512546
npmPackages:
expo: ~45.0.4 => 45.0.4
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-web: 0.17.7 => 0.17.7
Expo Workflow: bare

Reproducible demo

  • expo init newProject
  • cd newProject
  • yarn android
@AxanIqbal AxanIqbal added CLI Versioned Expo CLI -- `npx expo start` needs validation Issue needs to be validated labels May 14, 2022
@AxanIqbal
Copy link
Author

here is the quick fix that i have found hope that helps

@Umar-Farooq-Shafi
Copy link

Umar-Farooq-Shafi commented Mar 8, 2024

I am getting the same error. Could anyone tell me what the .b13.0 version name is?

Screenshot from 2024-03-08 14-11-41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Versioned Expo CLI -- `npx expo start` needs validation Issue needs to be validated
Projects
None yet
Development

No branches or pull requests

2 participants