일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- 안드로이드 스튜디오
- AWS
- Kotlin
- 개발환경설정
- 설정
- Invalid credentials
- not working
- 뒤로가기 안됨
- Git
- aPK
- react-native
- react
- gradle
- 데이터바인딩
- sourcetree
- git인증
- 리액트 네이티브
- 인증문제해결
- 안됨
- WPF
- 예제
- 리액트
- VisualStudio
- flutter
- 안드로이드
- Android
- EC2
- 빌드 오류
- 디버깅
- bitbucket
- Today
- Total
물에 살고싶은 개발자
[React-Native] 권한문제로 빌드가 안될때 본문
cmd에서 실행을 하든 파워셀에서 하든 vsc에서 하든 빌드가 갑자기 안되면서 아래의 에러를 만나는 경우가 있다.
info JS server already running.
info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
> Task :app:packageDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageDebug'.
> 1 exception was raised by workers:
java.io.UncheckedIOException: java.io.FileNotFoundException: D:경로\프로젝트명\android\app\build\intermediates\signing_config\debug\out\signing-config.json (액세스가 거부되었습니다)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
79 actionable tasks: 1 executed, 78 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
권한문제라고 하는데
해결방법은 심플하다
java.io.UncheckedIOException: java.io.FileNotFoundException: D:경로\프로젝트명\android\app\build\intermediates\signing_config\debug\out\signing-config.json (액세스가 거부되었습니다)
이 경로에 가면 있는 signing-config.json 파일을 삭제 후 다시 빌드하면 된다