configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'

It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html


에러 내용은 위와 같다.


compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.1'

app.gradle에 추가할 때, 위와 같은 에러가 발생했는데 무슨 상황인지 그냥 짜증이 났다.

결론은 그냥 compileimplementation으로 바꾸면 해결 되는 문제였다.


implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.1'

본래 Android 개발자 사이트 링크 로 갑자기 이동 시켜서 엄청 많은 영어 글이 나온다.

그냥 에러만 해결하고 싶은데 귀찮게 한다.

그래서 일단 개발자 사이트의 내용들을 읽어보는데 무슨 내용인지 몰라서 그냥 끄고 다시 찾아보았다.

그런 와중에 해당 링크에서 implementation, api 개념을 잡았다.

여기서 개념을 잡고 다시 Android 개발자 사이트의 글을 보니깐 이해가 되었다.

'언어 > Android' 카테고리의 다른 글

Android WSDL parsing (1) - 개요  (0) 2018.10.25

+ Recent posts