inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

배달앱 클론코딩 [with React Native]

프로젝트 시작하기

안드로이드빌드 에러

4769

marvelOppa

작성한 질문수 16

0

깃허브의 setting 파일을 내려받아서 다시 시작 하는 중입니다.

ios 는 시뮬레이터 제대로 동작하는

안드로이드가 빌드 에러 발생하여 문의 드립니다.

 

 

npm run android

 

> fooddeliveryapp@0.0.1 android

> react-native run-android

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.

Jetifier found 949 file(s) to forward-jetify. Using 16 workers...

info JS server already running.

info Installing the app...

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'FoodDeliveryApp'.

> Could not resolve all artifacts for configuration ':classpath'.

> Could not find com.facebook.react:react-native-gradle-plugin:.

Required by:

project :

* 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 2s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'FoodDeliveryApp'.

> Could not resolve all artifacts for configuration ':classpath'.

> Could not find com.facebook.react:react-native-gradle-plugin:.

Required by:

project :

* 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 2s

at makeError (/Users/charmbbong/Desktop/study/deliverymaptest/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:174:9)

at /Users/charmbbong/Desktop/study/deliverymaptest/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:278:16

at processTicksAndRejections (node:internal/process/task_queues:96:5)

at async runOnAllDevices (/Users/charmbbong/Desktop/study/deliverymaptest/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)

at async Command.handleAction (/Users/charmbbong/Desktop/study/deliverymaptest/node_modules/@react-native-community/cli/build/index.js:192:9)

info Run CLI with --verbose flag for more details.

 

react-native

답변 2

0

paragraph

저도 같은 문제가 발생해서요ㅠ
강사님이 보내주신 티스토리를 참고해서 해봤는데도
아래와 같은 에러가 뜹니다. 혹시 제가 경로를 '/Users/mm/food-delivery~'로 하지 않은 문제도 있을까요? ㅠ


Included build '/Users/mm/Desktop/study/food-delivery-app/setting/node_modules/react-native-gradle-plugin' does not exist.

* 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 2s

at makeError (/Users/mm/Desktop/study/food-delivery-app/setting/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:174:9)

at /Users/mm/Desktop/study/food-delivery-app/setting/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:278:16

at processTicksAndRejections (node:internal/process/task_queues:96:5)

at async runOnAllDevices (/Users/mm/Desktop/study/food-delivery-app/setting/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)

at async Command.handleAction (/Users/mm/Desktop/study/food-delivery-app/setting/node_modules/@react-native-community/cli/build/index.js:192:9)

0

제로초(조현영)

경로문제는 아닐텐데 진짜 /Users/mm/Desktop/study/food-delivery-app/setting/node_modules/react-native-gradle-plugin 가 없나 확인해보세요.

0

제로초(조현영)

https://rutel.tistory.com/398

여기 따라서 gradle 수정해보세요.

앱실행시 네이버맵 [401] 에러

0

983

2

스타일링 라이브러리

0

147

2

expo, cli 선택 중에 고민이 있습니다.

0

167

2

JDK 버전이 달라도 괜찮나요?

0

223

2

dimenstion usewindowdeminstion

0

121

3

[맥 전용]환경 설정하기 1편 & [맥 전용]환경 설정하기 2편의 영상이 안나옵니다.

0

210

1

jdk11 버전과 gradle 버전의 호환성 관련 질문드립니다.

0

399

2

강의 외 질문입니다!

0

157

2

react native랑 맞는 ui 라이브러리 어떤게 좋을까요?

0

1498

2

react native와 spring boot 연결

0

355

1

java가 아닌 .kt에서 code push 에러가 발생합니다.

0

214

2

flipper 239 에러가 발생합니다.

0

165

2

package.json에 /lib/panino.js 문제입니다.

0

470

2

window - mac 협업 과정 질문합니다

0

215

1

ios 빌드 중 RCTBridgeDelegate.h import 오류

0

289

2

ios 앱 빌드 중 hermesEnabled 관련 오류발생

0

239

2

Socket 연결시 질문 드립니다.!

0

152

2

wifi 환경에서 axios 통신이 로컬서버에서 안됩니다.

0

426

2

iOS render error 질문드립니다.

0

410

2

iOS 가상머신 오류

0

165

2

npc react init 명령어 실행시 발생되는 오류

0

220

1

nom start 시 오류

0

116

1

NextJS 기반으로 만들어서 웹뷰 React Native로 배포 가능한가요?

0

1001

2

안드로이드 rn75 버전에 맞게 설정 중에 android13 다운로드에 대해서 막혔습니다!

0

184

2