![]() Implementation ':constraint-layout:1.1.0'ĪndroidTestImplementation ':runner:1.0.2'ĪndroidTestImplementation '.espresso:espresso-core:3.0. Implementation fileTree(dir: 'libs', include: ) ProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' TestInstrumentationRunner ".AndroidJUnitRunner" in the individual module adle filesĪpp level adle apply plugin: '' We have to follow three main classes in retrofit, Model class which is used as a JSON model Interfaces that define the HTTP operations Retrofit Client class We need to add the following dependencies in our adle file, compile 2:retrofit:2.3.0 compile 2:converter-gson. NOTE: Do not place your application dependencies here they belong Project adle // Top-level build file where you can add configuration options common to all sub-projects/modules.Ĭlasspath ':gradle:3.1.2' I read the whole article about Gradle plugin 3 migration. Unable to resolve dependency for not resolve 2:retrofit:2.4.0. ![]() Unable to resolve dependency Could not resolveĬom.squareup.retrofit2:retrofit:2.4.0. Added retrofit2 dependency to app's adle.Start a new Android project on Android Studio 3.1.2. ![]() I'm an Android Developer returning back to development after a 6 months break and as usual everything has changed apparently.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |