npm run android 실행 후 바로 죽을 때
watchman watch-del-all && npm cache clean && cd android && ./gradlew clean && cd ..
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tasks'.
> Could not create task ':react-native-shared-group-preferences:compileDebugJavaWithJavac'.
> In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
subprojects { subproject ->
afterEvaluate{
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
Uncaught Error : 'app name' has not been registered. This can happen if: ...
위와 같은 에러가 발생한다면 당황하지말고 Metro가 실행되고 있는 터미널을 찾아 종료한 후에 다시 npm run을 해보자
'자기계발 공부' 카테고리의 다른 글
Youtube API 기반 서비스 제작 시 유의할 점 (0) | 2023.10.21 |
---|---|
수익성 앱 출시에 필요한 요소 정리 (0) | 2023.10.19 |
React Native 시작하기 (0) | 2023.06.24 |
AWS EC2 + 가비아 Domain 연결하기 (0) | 2023.04.29 |
접속이 잘 되던 EC2 기반 웹서비스 접속이 안 될 경우 (0) | 2023.04.14 |
댓글