티스토리 뷰
샘플 application을 받아 안드로이드 studio에서 build 후 실행하려 했더니 아래와 같은 에러가 발생해서 설치가 되지 않는다.
오전 11:07:56 UnsupportedMethodException
Unsupported method: AndroidProject.getPluginGeneration().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
AndroidProject.getPluginGeneration()이 미지원 method라고 하는데...
설정에서 Instant run을 disable하고 문제를 해결을 할 수 있었다.
참조: http://stackoverflow.com/questions/39675848/unsupportedmethodexception-android-studio-2-2
추가로, Android Studio에서 샘플 application의 프로젝트를 open할때 아래와 같은 팝업이 발생한다. 이때 Update 버튼을 누르면 classpath가 적절한 버전으로 변경되고, 위의 에러가 발생하지 않는다.
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
'프로그래밍 > 안드로이드' 카테고리의 다른 글
Eclipse에서 사인된 Keystore 사용하기 (0) | 2016.02.04 |
---|
- Total
- Today
- Yesterday
- 월지급식
- vim
- 삽입정렬
- 에센스
- insertionsort
- 하이일드
- 블랙록
- 카라이프
- 호이안
- 미국달러하이일드
- 월세혁명
- 티카라이프
- 메타세콰이어길
- 담양
- 조영환
- 전국은행연합회
- 먹통
- 메타세쿼이어길
- T카라이프
- Linux
- 게릿
- 외화송금수수료
- 외화수취수수료
- Gerrit
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |