admin管理员组文章数量:1122832
I am working on a React Native latest project and trying to build and run the app on Android using the command: even i have reinstall new windows but it is still show me this
bash Copy code npm run android However, the build fails with the following error:
vbnet Copy code FAILURE: Build failed with an exception.
Where: Settings file 'D:\ReactNative\AwesomeProject\android\settings.gradle' line: 2
What went wrong: Error resolving plugin [id: 'com.facebook.react.settings']
java.io.UncheckedIOException: Could not move temporary workspace (D:\ReactNative\AwesomeProject\android.gradle\8.10.2\dependencies-accessors\569c8b261a8a714d7731d5f568e0e5c05babae10-8eb3a248-d818-468e-9e2c-2c0038e9041a) to immutable location (D:\ReactNative\AwesomeProject\android.gradle\8.10.2\dependencies-accessors\569c8b261a8a714d7731d5f568e0e5c05babae10) Steps I Have Tried Cleared Gradle Cache: Deleted .gradle folders in both the project and global directories (C:\Users<MyUser>.gradle). Updated gradle-wrapper.properties: Changed the Gradle version to: ruby Copy code distributionUrl=.10.2-all.zip Reinstalled Dependencies: Deleted node_modules and reinstalled them with npm install. Despite these efforts, the error persists.
本文标签:
版权声明:本文标题:android - "Gradle Build Failure: Error Resolving Plugin [id: 'com.facebook.react.settings'] in React Na 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736311038a1934594.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论