質問編集履歴

1

解決にあたり変更内容について追記

2018/03/14 06:39

投稿

shikasama
shikasama

スコア163

test CHANGED
File without changes
test CHANGED
@@ -119,3 +119,49 @@
119
119
  gradle 3.0.1
120
120
 
121
121
  kotlin 1.2.30
122
+
123
+
124
+
125
+ ### 解決法
126
+
127
+ Appのbuild.gradleを以下のように変更しました。
128
+
129
+
130
+
131
+ ```
132
+
133
+ dependencies {
134
+
135
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
136
+
137
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
138
+
139
+   // glideのimplementationを変更
140
+
141
+ implementation('com.github.bumptech.glide:glide:4.4.0') {
142
+
143
+ exclude group: "com.android.support"
144
+
145
+ }
146
+
147
+   // glideが使用するsupport libraryのバージョンが27のようなので変更
148
+
149
+ implementation 'com.android.support:support-v4:27.1.0'
150
+
151
+ implementation 'com.android.support.constraint:constraint-layout:1.0.2'
152
+
153
+   // glideが使用するsupport libraryのバージョンが27のようなので変更
154
+
155
+ implementation 'com.android.support:design:27.1.0'
156
+
157
+ testImplementation 'junit:junit:4.12'
158
+
159
+ androidTestImplementation 'com.android.support.test:runner:1.0.1'
160
+
161
+ androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
162
+
163
+ kapt 'com.github.bumptech.glide:compiler:4.4.0'
164
+
165
+ }
166
+
167
+ ```