質問編集履歴

1

質問内容の変更

2018/02/19 06:40

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -16,11 +16,23 @@
16
16
 
17
17
  [参考サイト](http://yusuke-hata.hatenablog.com/entry/2015/07/03/181639)
18
18
 
19
- 上記サイトを参考に、プログラムを書き進めていたのですが、ファイルを用意しているはずなのに
19
+ 上記サイトを参考に、プログラムを書き進めていたのですが、
20
20
 
21
- "WeatherApi"や"WeatherData"について、cannot resolve symbolと出てしまっています。
21
+ WeatherApi api = adapter.create(WeatherApi.interface);
22
22
 
23
+ という1文において、"identifierがありません"と";"がありません。というエラーが出ています。
24
+
25
+
26
+
27
+ また
28
+
29
+ Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
30
+
31
+ > Compilation failed; see the compiler error output for details.
32
+
33
+ というエラーも出ています。
34
+
23
- 解決法を教えていたきたです
35
+ どなたか解決法を教えて
24
36
 
25
37
 
26
38
 
@@ -78,7 +90,7 @@
78
90
 
79
91
  .build();
80
92
 
81
- WeatherApi api = adapter.create(WeatherApi.class);
93
+ WeatherApi api = adapter.create(WeatherApi.interface);
82
94
 
83
95
  api.getWeather(LAT, LON, new Callback<WeatherData>() {
84
96