简体   繁体   中英

is there any comptability of android studio 1.5.1 and retrofit

I am facing below error while adding retrofit library in android studio 1.5.1.

Error:(8, 0) Gradle DSL method not found: 'implementation()' Possible causes:The project 'RetrofitMy Application' may be using a version of Gradle that does not contain the method.

I googled in order to resolve above issue but did not find yet,any one can help me

You should change your

implementation 'thelibrary:1.0.0'

to

compile 'thelibrary:1.0.0'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM