[Android] Project with path ':@react-native-community_async-storage' could not be found in project ':app'.
See original GitHub issueHi, I was trying to upgrade to RN 0.60 but receive below error when compile the build and gradlew clean
. Is there any step that I missed? FYI, I already unlinked the library.
Script '/Users/xxx/dev/xxx/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 107
* What went wrong:
A problem occurred evaluating project ':app'.
> Project with path ':@react-native-community_async-storage' could not be found in project ':app'.
native_modules.gradle
void addReactNativeModuleDependencies() {
reactNativeModules.forEach { reactNativeModule ->
def nameCleansed = reactNativeModule["nameCleansed"]
project.dependencies {
// TODO(salakar): are other dependency scope methods such as `api` required?
implementation project(path: ":${nameCleansed}") // line 107
}
}
}
“@react-native-community/async-storage”: “^1.6.2” “react-native”: “0.60.0”
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:9 (3 by maintainers)
Top Results From Across the Web
A problem occurred evaluating project ':@react-native ...
Problem. It seems you have a missing android plugin which is causing the issue for you. Solution. Instruct Gradle to download Android plugin ......
Read more >react-native-community/async-storage - npm
An asynchronous, unencrypted, persistent, key-value storage system for React Native. Supported platforms. iOS; Android; Web · MacOS · Windows ...
Read more >Fix Android Project ,My Project not found in root ... - YouTube
Fixed Android : Project 'MyProject' not found in root project 'MyProject', Project ' app ' not found in root project project Name 2022, ......
Read more >Build failed (deprecated Gradle features?) - AppGyver forums
Project Name ($package.name): @appgyver/orchestra-app-standalone │ ... You are missing backgroundColor in your renative config. will use ...
Read more >react-native-safe-area-context could not be found within the ...
error: Error: Unable to resolve module react-navigation from C:\Users\sh\NewProject\App.js: react-navigation could not be found within the project or in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@anniewey I had the same issue, and I fixed it by adding this line into
android/setting.gradle
.Found the issue is actually caused by this line in
build.gradle
. Removing it fixes the issue.