小编Ish*_*dun的帖子

无法从Android-Studio构建react-native项目

我可以运行我的本机项目。工作正常。我已经通过使用react-native运行进行了测试。但是,当我尝试在Android Studio中运行它时,出现以下错误。

*FAILURE: Build failed with an exception.
* Where:
Script 'D:\EmployeeApp\EmployeeMobileAppGit\employeemobile-app\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 195
* What went wrong:
A problem occurred evaluating settings 'employeeMobile'.
> Unable to determine the current character, it is not a string, number, array, or object

  The current character read is 'E' with an int value of 69
  Unable to determine the current character, it is not a string, number, array, or object
  line number 1
  index number 0
  Error: EPERM: operation not permitted, scandir 'D:/EmployeeApp/EmployeeMobileAppGit/employeemobile-app/android/app/build/intermediates/signing_config/debug/out/signing-config.json' …
Run Code Online (Sandbox Code Playgroud)

android gradle android-studio react-native react-native-android

6
推荐指数
2
解决办法
2630
查看次数