質問編集履歴
2
誤字
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
KotlinでHTTPのAPIをコールしたい
|
1
|
+
【Android Studio】KotlinでHTTPのAPIをコールしたい
|
test
CHANGED
@@ -14,9 +14,9 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
09-08 11:43:11.899 17864-17889/com.example.
|
17
|
+
09-08 11:43:11.899 17864-17889/com.example.newsour.sportable E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
|
18
|
-
|
18
|
+
|
19
|
-
Process: com.example.
|
19
|
+
Process: com.example.newsour.sportable, PID: 17864
|
20
20
|
|
21
21
|
java.lang.RuntimeException: An error occurred while executing doInBackground()
|
22
22
|
|
@@ -72,11 +72,11 @@
|
|
72
72
|
|
73
73
|
at okhttp3.RealCall.execute(RealCall.java:77)
|
74
74
|
|
75
|
-
at com.example.
|
75
|
+
at com.example.newsour.sportable.NewsFragment$MyAsyncTask.getHtml(NewsFragment.kt:46)
|
76
|
-
|
76
|
+
|
77
|
-
at com.example.
|
77
|
+
at com.example.newsour.sportable.NewsFragment$MyAsyncTask.doInBackground(NewsFragment.kt:35)
|
78
|
-
|
78
|
+
|
79
|
-
at com.example.
|
79
|
+
at com.example.newsour.sportable.NewsFragment$MyAsyncTask.doInBackground(NewsFragment.kt:32)
|
80
80
|
|
81
81
|
at android.os.AsyncTask$2.call(AsyncTask.java:333)
|
82
82
|
|
@@ -100,7 +100,7 @@
|
|
100
100
|
|
101
101
|
```kotlin
|
102
102
|
|
103
|
-
package com.example.
|
103
|
+
package com.example.newsour.sportable
|
104
104
|
|
105
105
|
|
106
106
|
|
1
タイトルの修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
HTTPのAPIをコールしたい
|
1
|
+
KotlinでHTTPのAPIをコールしたい
|
test
CHANGED
File without changes
|