안드로이드 프로젝트 빌드 중 Execution failed for task ':app:validateSigningDebug'에러가 발생하였다.
이유는 프로젝트 내에 debug.keystore가 존재하지 않아서 발생하였다.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:validateSigningDebug'.
> Keystore file '/Users/Documents/gitlab/app-frontend/android/app/debug.keystore' not found for signing config 'debug'.
* 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
BUILD FAILED in 13s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
debug.keystore는 /Users/.android/debug.keystore 에 존재하며, 로컬에 존재하는 debug.keystore를 해당경로로 옮겨주니 정상적으로 빌드가 되었다.
'Android' 카테고리의 다른 글
[안드로이드]EncryptedSharedPreferences 사용 방법 (0) | 2022.12.08 |
---|---|
[안드로이드] TextClock 사용법 (0) | 2022.12.02 |
[안드로이드] React-Native Error: error:0308010C:digital envelope routines::unsupported (0) | 2022.11.29 |
[Android] 생체인증 (0) | 2021.04.13 |
[Android] ADT 14버전에서 Switch case문 오류 문제(isLibrary프로젝트의 경우) (0) | 2017.11.01 |