質問編集履歴
3
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
defaultConfig {
|
86
86
|
|
87
|
-
applicationId "
|
87
|
+
applicationId "XXXX"
|
88
88
|
|
89
89
|
multiDexEnabled true
|
90
90
|
|
2
補足情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,6 +44,8 @@
|
|
44
44
|
|
45
45
|
ビルド時に下記のエラーが出るようになりました。
|
46
46
|
|
47
|
+
(エラーはコメントアウトしているfirebaseのimplemantationを使用したときに表示されます)
|
48
|
+
|
47
49
|
本件とは別に地図アプリの機能も使用しているため、そちらのほうで出ているようなんですが
|
48
50
|
|
49
51
|
解決方法がわからず…
|
@@ -60,20 +62,6 @@
|
|
60
62
|
|
61
63
|
```
|
62
64
|
|
63
|
-
Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
|
64
|
-
|
65
|
-
class com.google.android.gms.maps.model.MarkerOptions, unresolved supertypes: com.google.android.gms.internal.zzbgl
|
66
|
-
|
67
|
-
class com.google.android.gms.maps.model.CameraPosition, unresolved supertypes: com.google.android.gms.internal.zzbgl
|
68
|
-
|
69
|
-
```
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
##build.gradle(app)
|
74
|
-
|
75
|
-
```
|
76
|
-
|
77
65
|
apply plugin: 'com.android.application'
|
78
66
|
|
79
67
|
|
@@ -86,13 +74,17 @@
|
|
86
74
|
|
87
75
|
|
88
76
|
|
77
|
+
apply plugin: 'kotlin-kapt'
|
78
|
+
|
79
|
+
|
80
|
+
|
89
81
|
android {
|
90
82
|
|
91
83
|
compileSdkVersion 28
|
92
84
|
|
93
85
|
defaultConfig {
|
94
86
|
|
95
|
-
applicationId "
|
87
|
+
applicationId "jp.todate.gourmetexplorer"
|
96
88
|
|
97
89
|
multiDexEnabled true
|
98
90
|
|
@@ -120,14 +112,6 @@
|
|
120
112
|
|
121
113
|
}
|
122
114
|
|
123
|
-
repositories {
|
124
|
-
|
125
|
-
mavenCentral()
|
126
|
-
|
127
|
-
google()
|
128
|
-
|
129
|
-
}
|
130
|
-
|
131
115
|
}
|
132
116
|
|
133
117
|
|
@@ -146,29 +130,25 @@
|
|
146
130
|
|
147
131
|
implementation 'com.google.android.gms:play-services:12.0.1'
|
148
132
|
|
149
|
-
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
150
|
-
|
151
133
|
testImplementation 'junit:junit:4.12'
|
152
134
|
|
153
135
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
154
136
|
|
155
137
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
156
138
|
|
157
|
-
//
|
139
|
+
//glide
|
158
|
-
|
159
|
-
implementation 'com.google.firebase:firebase-analytics:17.2.1'
|
160
|
-
|
161
|
-
apply plugin: 'com.google.gms.google-services'
|
162
|
-
|
163
|
-
implementation 'com.google.firebase:firebase-storage:19.1.0'
|
164
|
-
|
165
|
-
implementation 'com.firebaseui:firebase-ui-storage:4.1.0'
|
166
140
|
|
167
141
|
implementation 'com.github.bumptech.glide:glide:4.10.0'
|
168
142
|
|
169
|
-
a
|
143
|
+
kapt 'com.github.bumptech.glide:compiler:4.10.0'
|
170
144
|
|
145
|
+
//firebase
|
171
146
|
|
147
|
+
// implementation 'com.google.firebase:firebase-core:17.2.1'
|
148
|
+
|
149
|
+
// implementation 'com.google.firebase:firebase-storage:19.1.0'
|
150
|
+
|
151
|
+
// implementation 'com.firebaseui:firebase-ui-storage:4.1.0'
|
172
152
|
|
173
153
|
}
|
174
154
|
|
@@ -182,6 +162,10 @@
|
|
182
162
|
|
183
163
|
|
184
164
|
|
165
|
+
apply plugin: 'com.google.gms.google-services'
|
166
|
+
|
167
|
+
|
168
|
+
|
185
169
|
```
|
186
170
|
|
187
171
|
|
1
補足情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,4 +34,158 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
+
|
38
|
+
|
39
|
+
# 追加情報
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
ご助言いただいた内容をもとに改修したところ、
|
44
|
+
|
45
|
+
ビルド時に下記のエラーが出るようになりました。
|
46
|
+
|
47
|
+
本件とは別に地図アプリの機能も使用しているため、そちらのほうで出ているようなんですが
|
48
|
+
|
49
|
+
解決方法がわからず…
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
ご存知の方がいらっしゃいましたらご助言いただきたいと思います。
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
##
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
```
|
62
|
+
|
63
|
+
Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
|
64
|
+
|
65
|
+
class com.google.android.gms.maps.model.MarkerOptions, unresolved supertypes: com.google.android.gms.internal.zzbgl
|
66
|
+
|
67
|
+
class com.google.android.gms.maps.model.CameraPosition, unresolved supertypes: com.google.android.gms.internal.zzbgl
|
68
|
+
|
69
|
+
```
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
##build.gradle(app)
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
apply plugin: 'com.android.application'
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
apply plugin: 'kotlin-android'
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
apply plugin: 'kotlin-android-extensions'
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
android {
|
90
|
+
|
91
|
+
compileSdkVersion 28
|
92
|
+
|
93
|
+
defaultConfig {
|
94
|
+
|
95
|
+
applicationId "XXXX"
|
96
|
+
|
97
|
+
multiDexEnabled true
|
98
|
+
|
99
|
+
minSdkVersion 19
|
100
|
+
|
101
|
+
targetSdkVersion 28
|
102
|
+
|
103
|
+
versionCode 1
|
104
|
+
|
105
|
+
versionName "1.0"
|
106
|
+
|
107
|
+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
buildTypes {
|
112
|
+
|
113
|
+
release {
|
114
|
+
|
115
|
+
minifyEnabled false
|
116
|
+
|
117
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
118
|
+
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
repositories {
|
124
|
+
|
125
|
+
mavenCentral()
|
126
|
+
|
127
|
+
google()
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
dependencies {
|
136
|
+
|
137
|
+
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
138
|
+
|
139
|
+
implementation 'androidx.appcompat:appcompat:1.1.0'
|
140
|
+
|
141
|
+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
142
|
+
|
143
|
+
implementation 'androidx.cardview:cardview:1.0.0'
|
144
|
+
|
145
|
+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
146
|
+
|
147
|
+
implementation 'com.google.android.gms:play-services:12.0.1'
|
148
|
+
|
149
|
+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
150
|
+
|
151
|
+
testImplementation 'junit:junit:4.12'
|
152
|
+
|
153
|
+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
154
|
+
|
155
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
156
|
+
|
157
|
+
// firebase strage and glide
|
158
|
+
|
159
|
+
implementation 'com.google.firebase:firebase-analytics:17.2.1'
|
160
|
+
|
161
|
+
apply plugin: 'com.google.gms.google-services'
|
162
|
+
|
163
|
+
implementation 'com.google.firebase:firebase-storage:19.1.0'
|
164
|
+
|
165
|
+
implementation 'com.firebaseui:firebase-ui-storage:4.1.0'
|
166
|
+
|
167
|
+
implementation 'com.github.bumptech.glide:glide:4.10.0'
|
168
|
+
|
169
|
+
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
repositories {
|
178
|
+
|
179
|
+
mavenCentral()
|
180
|
+
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
```
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
37
191
|
以上、よろしくお願いいたします。
|