반응형 instrumentTest1 The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin 에러 해결 안드로이드 스튜디오 프로젝트가 AndroidX로 업데이트되기 이전의 프로젝트를 최신 안드로이드 스튜디오에서 빌드할 시 다음과 같은 에러가 발생할 수 있습니다. The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelled something 해당 에러는 build.gradle 파일에 instrumentTest.setRoot('tests') 라고 되어있는 부분이 문제가 되는 것인데 최신버젼으로 업데이트되면서 해당 문구는 사용할 수 없고 instrumentTest를 androidTest로 변경해서 사용해야 합니다. 변경 전 android { compileSdkVersion 31 buildTo.. 2022. 4. 8. 이전 1 다음 반응형