react-native android build failed...
ios는 잘 되는데 안드로이드는 계속 빌드 안된다고 뜸
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
https://www.mrlatte.net/code/2020/11/04/react-native.html
react-native 프로젝트 생성 후 안드로이드 빌드 오류 - 라떼군 이야기
Problem최근 react-native^0.63를 이용하여 새 프로젝트 생성 하고 안드로이드 환경의 앱을 실행할 때 아래와 같이 NoClassDefFoundError와 관련된 에러를 경험했다.
www.mrlatte.net
왤까.. ?
gradle-6.3-all.zip 으로 바꾼 후 되는 듯 싶었는데 또 위에 에러가 뜸
> Failed to apply plugin [id 'com.android.internal.version-check']
> Minimum supported Gradle version is 6.7.1. Current version is 6.3. If using the gradle wrapper, try editing the distributionUrl in /Users/dust/SampleApp/android/gradle/wrapper/gradle-wrapper.properties to gradle-6.7.1-all.zip
응.. 또 바꿔..
될 것 처럼 설치를 막 하더니 결국 똑같은 에러
다른 건 다 안됐고
android studio에서 프로젝트/android 파일을 열고 난 후에 (에뮬레이터에서) 됐다
파일을 한번 열어줘야하나봄