Latest version does not work on Android
See original GitHub issueBug Report
Description
App crashes when I am trying to get data.
To Reproduce
package com.example.app
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.github.kittinunf.fuel.httpGet
import com.github.kittinunf.result.Result
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
"https://jsonplaceholder.typicode.com/todos/".httpGet().responseString { request, response, result ->
when (result) {
is Result.Success -> {
println("Result: ${result.get()}")
}
is Result.Failure -> {
println("Failure")
}
}
}
}
}
Environment
Development Machine
Complete the following information if applicable
- OS: [Windows 10]
- IDE: [Android Studio]
- Fuel version: [1.16.0]
- Kotlin version: [1.2.71]
Smartphone or Emulator
Emulator
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Fix an installed Android app that isn't working - Google Help
Step 1: Restart & update · Open the Google Play Store app Google Play . · At the top right, tap the profile...
Read more >Why Won't My Android Update? How to Fix Updating Issues
Android mobile devices usually update automatically, but updates can be delayed or prevented for various reasons.
Read more >How to fix an Android phone that doesn't work right after ...
If your Android device seems to experience problems after upgrading its software then one of the best solutions to the problem is to...
Read more >How to fix an Android Phone that doesn't work ... - AndroidSRC
How do I know that the OS upgrade was installed correctly on your phone? · Step 1: On your phone, tap Settings ·...
Read more >Top 5 Ways to Fix 'Your Device Isn't Compatible with This ...
1. Update Android OS ... It's the first thing you should do when you face the 'your device isn't compatible with this version'...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CoolMind I know; I’m not thát harsch 😉 I understand why he does so. Running OSS is exhausting and issues like these are more common than well detailed ones. That said, I’ll always give people the chance to amend their question. If @HarryWindsor doesn’t reply within the month, I’ll close it as
wontfix
until there is more information.I guess let’s close this as it looks stale at the moment.