새소식

mobile/🤖 Cordova

Cannot add task 'wrapper' as a task with that name already exists 해결방법

  • -
728x90

 

안녕하세요. 팀드모네입니다.

Cordova 프로젝트를 진행 중 경험하였던 오류가 있어 내용 공유드립니다.

 

[오류명]

Cannot add task 'wrapper' as a task with that name already exists

 

[해결방법]

build.gradle 파일에 들어가셔서 아래의 코드를 아래와 같이 변경하시면 됩니다.

 

task wrapper(type: Wrapper) {
    gradleVersion = '2.14.1'
}

 

추가로 궁금한 점이 있다면 댓글 남겨주세요.

감사합니다 ^  ^

 

reference : 

https://smilehugo.tistory.com/entry/react-native-build-error-cant-add-task-wrapper-solution

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.