質問するログイン新規登録

質問編集履歴

2

a

2018/09/07 05:20

投稿

pecchan
pecchan

スコア592

title CHANGED
File without changes
body CHANGED
@@ -144,4 +144,36 @@
144
144
  androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
145
145
  }
146
146
 
147
+ ```
148
+
149
+ //build.gradle(Project)
150
+ ```java
151
+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
152
+
153
+ buildscript {
154
+ ext.kotlin_version = '1.2.30'
155
+ repositories {
156
+ google()
157
+ jcenter()
158
+ }
159
+ dependencies {
160
+ classpath 'com.android.tools.build:gradle:3.1.3'
161
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
162
+
163
+ // NOTE: Do not place your application dependencies here; they belong
164
+ // in the individual module build.gradle files
165
+ }
166
+ }
167
+
168
+ allprojects {
169
+ repositories {
170
+ google()
171
+ jcenter()
172
+ }
173
+ }
174
+
175
+ task clean(type: Delete) {
176
+ delete rootProject.buildDir
177
+ }
178
+
147
179
  ```

1

2018/09/07 05:20

投稿

pecchan
pecchan

スコア592

title CHANGED
File without changes
body CHANGED
@@ -8,7 +8,7 @@
8
8
  FloatingActionButton.setImageResource()の箇所で
9
9
  「unresolved reference」となります。
10
10
 
11
- どうしても原因分かりません。
11
+ どうしても原因分かりません。
12
12
 
13
13
  分かる方教えて下さい。
14
14