앱빌드중 네트우크 ssl에러때문에 모듈이 안불러와집니다!
181
작성한 질문수 2
"dependencies": {
"expo": "^54.0.0",
"expo-font": "~14.0.8",
"expo-router": "~6.0.3",
"expo-secure-store": "~15.0.7",
"react": "18.3.1",
"react-dom": "^18.3.1",
"react-native": "^0.76.9"
},
"devDependencies": {
"@react-native/gradle-plugin": "^0.76.0",
"@types/react": "~18.3.12",
"typescript": "^5.3.3"
}> Could not resolve expo.modules:expo-module-gradle-plugin:1.0.0.
Required by:
root project :
> Could not resolve expo.modules:expo-module-gradle-plugin:1.0.0.
> Could not get resource 'https://repo.expo.dev/maven/expo/modules/expo-module-gradle-plugin/1.0.0/expo-module-gradle-plugin-1.0.0.pom'.
> Could not GET 'https://repo.expo.dev/maven/expo/modules/expo-module-gradle-plugin/1.0.0/expo-module-gradle-plugin-1.0.0.pom'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2). You may need to configure the client to allow other protocols to be used. For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/build_environment.html#sec:gradle_system_properties in the Gradle documentation.
npx expo run 하면 위처럼 에러가나옵니다 찾아보니 최근데 생기는 에러들인것같은데
별로 쌓인데이터도 없고 검색햇을때 나오는것들도 없어서 많이힘드네용
답변 2
0
지금 엑스포 몇버전으로 하고계신 건가요? 패키지들 설치할 때 expo install로 설치하셨나요? npx expo-doctor를 수행하면 문제점은 없나요?
0
{
"dependencies": {
"@expo/vector-icons": "~15.0.2",
"expo": "~54.0.0",
"expo-constants": "~18.0.8",
"expo-doctor": "^1.17.7",
"expo-font": "~14.0.8",
"expo-router": "~6.0.4",
"expo-secure-store": "~15.0.7",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.4",
"react-native-gradle-plugin": "~0.71.19",
"@expo/metro-runtime": "~6.1.2",
"expo-linking": "~8.0.8",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0"
},
"devDependencies": {
"@react-native/gradle-plugin": "~0.76.0",
"@types/react": "~19.1.0",
"typescript": "~5.3.3"
},
"name": "quriz-main",
"version": "1.0.0",
"scripts": {
"android": "expo run:android",
"ios": "expo run:ios"
}
}
//android/settings.gradle
buildscript {
ext {
kotlinVersion = '1.9.0'
gradlePluginVersion = '7.4.2'
reactNativeGradlePluginVersion = '0.71.7'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradlePluginVersion"
classpath "com.facebook.react:react-native-gradle-plugin:$reactNativeGradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}
apply plugin: "expo-root-project"
apply plugin: "com.facebook.react.rootproject"
//android/build.gradle
buildscript {
ext {
kotlinVersion = '1.9.0'
gradlePluginVersion = '7.4.2' // Android Gradle Plugin 안정 권장 버전
reactNativeGradlePluginVersion = '0.71.7' // React Native Gradle Plugin 버전 (예시 최신 호환 버전)
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradlePluginVersion"
classpath "com.facebook.react:react-native-gradle-plugin:$reactNativeGradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}
apply plugin: "expo-root-project"
apply plugin: "com.facebook.react.rootproject"
이렇게 하고있는데 버전에러는 안나오는데 네트워크 에러만 생깁니다
0
안녕하세요, 인프런 AI 인턴입니다. 최경민님.
지금 겪고 계신 문제는 expo-module-gradle-plugin을 불러오는 과정에서 TLS(전송 계층 보안) 문제로 인해 발생하는 것으로 보입니다. 이는 기존 TLS 프로토콜의 호환성 문제일 수 있습니다. 다음은 문제 해결을 위한 몇 가지 방법입니다:
해결 방법
- Gradle TLS 설정 변경: Gradle 설정 파일에서 TLS 허용 버전을 조정해보세요.
gradle.properties파일에서 다음 설정을 추가해 보세요.
systemProp.https.protocols=TLSv1.2,TLSv1.1,TLSv1
Gradle 업그레이드: 사용 중인 Gradle 버전이 최신 버전인지 확인하고, 최신 버전으로 업그레이드 해보세요. 최신 버전으로 업데이트하면 새로운 TLS 지원이 포함될 수 있습니다.
네트워크 설정 확인 및 변경: 회사 또는 개인 네트워크에서 TLS 프로토콜 제약이 있을 수 있습니다. 다른 네트워크를 통해 시도하거나, VPN을 사용해보세요.
대체 저장소 사용: Gradle이 사용 중인 저장소 URL을 익스포에서 사용하는 다른 저장소 URL로 변경해 보세요.
build.gradle파일에 다음을 추가해 설정할 수 있습니다.
allprojects {
repositories {
...
maven {
url "$rootDir/other-repo"
}
}
}
문제가 계속될 경우, Expo 공식 문서를 참고하거나, 최신 Gradle 및 TLS 관련 변경 사항을 확인해보는 것도 좋은 방법입니다.
저는 질문자님의 이해를 돕고자 지식공유자님의 기존 답변을 참고하여 유사한 답변 링크를 추천해드리고 있습니다. 현재 베타 기능으로 답변이 만족스럽지 않을 수 있는 점 양해 부탁드립니다. 🙏 추가적으로 궁금한 점이 있으시면, 이어서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다.
expo-blur 사용하면서 생긴 버그입니다.
0
113
3
router.navigate 동작이 달라졌을까요?
0
64
1
Toast 기능
0
76
2
onEndReached 함수가 바로 호출 되지 않는 이슈
1
63
1
expo push service에 관한 질문
0
79
2
ios에서 개발중이신 분들은
1
85
1
[질문아님] tabBarLabel 대신 tabBarShowLabel
1
58
1
Location.getCurrentPositionAsync({}); 에러
1
125
3
.
0
122
2
EAS preview 빌드 후 Device에서 카카오 로그인 브라우저가 안켜짐
0
120
2
폴더 구조 관련 질문
0
133
2
혹시 리액트네이티브 관련해서 좋은 참고서도 있을까요??
0
105
1
제로초님께서는 Nativewind는 사용안하지는지 궁금합니다.
1
272
2
.
0
89
2
eas build:configure 안되는데, "git"이 반드시 설치되어 있어야 하나요?
0
81
2
.
0
104
2
혹시 해당 강의 보면서 테스트용으로 사용할 맥북을 구매할 예정인데 어느정도 스펙 이상으로 사야 할지 의견 받아볼수있을까요?
0
73
2
.
0
114
1
.
0
120
2
기기에서는 네트워크 에러가 납니다.
0
101
2
빌드 문의드립니다.
0
73
1
.
0
126
2
.
0
83
2
Expo-blur unimplement 오류
0
106
3





