본문 바로가기

개발 관련 지식/코르도바(Cordova)

[코르도바] 안드로이드 스튜디오 3.0 업데이트 후 에러(declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project :CordovaLib.)

* 안드로이드 스튜디오 3.0 업데이트 후 에러

(declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project :CordovaLib.)

 

안녕하세요 송군함대입니다^-^/

정말 오랜만에 포스팅을 하는데요..

그동안 바쁘게 지내오면서 포스팅에 소홀했었네요..

다시 정리하던 습관을 가져와볼까 합니다~!

오늘은 최근에 시작하게 된 코르도바를 공부하던 중, 발생된 에러에 대해 간단히 정리해보겠습니다.

코르도바에 대한 내용도 추후 업데이트할 예정입니다..

(과연, 지킬 수 있을지는 모르겠지만 노력해보겠습니다~^-^;)

 

- 에러 발생 : 소스 포팅 과정에서 아래와 같은 에러가 발생

=> declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project :CordovaLib.

 

- 해결 방안 :

[Gradle Scripts > build.gradle(Module: android) 파일]

 

debugCompile(project(path: "CordovaLib", configuration: "debug"))
releaseCompile(project(path: "CordovaLib", configuration: "release"))

 

위의 내용을 아래와 같이 변경

 

implementation project(':CordovaLib')