admin管理员组文章数量:1345301
*** What went wrong: Could not determine the dependencies of task ':app:mergeDebugAssets'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find .facebook.fresco:stetho:2.2.0. Searched in the following locations: - file:/D:/React/Projects/node_modules/react-native/android//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom - file:/D:/React/Projects/node_modules/jsc-android/dist//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom - .2.0/stetho-2.2.0.pom - .2.0/stetho-2.2.0.pom - .2.0/stetho-2.2.0.pom Required by: project :app > .facebook.flipper:flipper-fresco-plugin:0.75.1**
npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.22000
CPU: (16) x64 Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
Memory: 3.47 GB / 15.78 GB
Binaries:
Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 18.0.1.1 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
npmPackages:
@react-native-munity/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-windows: Not Found
npmGlobalPackages:
*react-native*: Not Found
*** What went wrong: Could not determine the dependencies of task ':app:mergeDebugAssets'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find .facebook.fresco:stetho:2.2.0. Searched in the following locations: - file:/D:/React/Projects/node_modules/react-native/android//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom - file:/D:/React/Projects/node_modules/jsc-android/dist//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom - https://repo.maven.apache/maven2//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom - https://dl.google./dl/android/maven2//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom - https://www.jitpack.io//facebook/fresco/stetho/2.2.0/stetho-2.2.0.pom Required by: project :app > .facebook.flipper:flipper-fresco-plugin:0.75.1**
npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.22000
CPU: (16) x64 Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
Memory: 3.47 GB / 15.78 GB
Binaries:
Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 18.0.1.1 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
npmPackages:
@react-native-munity/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-windows: Not Found
npmGlobalPackages:
*react-native*: Not Found
Share
Improve this question
edited Jun 8, 2022 at 11:19
Jey Prakash
asked Jun 8, 2022 at 11:18
Jey PrakashJey Prakash
131 silver badge7 bronze badges
1
- hi, did you manage to solve this issue?.. i am getting same error, any ideas? – Boris Commented Nov 2, 2022 at 3:36
2 Answers
Reset to default 12Updating FLIPPER_VERSION inside android/gradle.properties fixed this problem for me:
# Version of flipper SDK to use with
React Native FLIPPER_VERSION=0.99.0
Credit to: https://github./facebook/flipper/issues/2683#issuement-944085698
Downgrading facebookSdkVersion from "12.3.0" to "11.1.0" in android/build.gradle file and cleaning gradlew with ./gradlew clean in android folder helped.
本文标签:
版权声明:本文标题:javascript - Could not find com.facebook.fresco:stetho:2.2.0 getting this error while running a newly created app. I'm t 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743804544a2541932.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论