BobbyESP / Spowlo

A Spotify songs downloader for Android made with Jetpack Compose, Material You and the spotDL Python library
https://t.me/spowlo_chatroom
GNU General Public License v3.0
1.03k stars 23 forks source link

[App crash] #271

Open bharathvsnair opened 2 weeks ago

bharathvsnair commented 2 weeks ago

Checklist

Describe the bug

No response

To Reproduce

  1. Enter the spotify link of the required song
  2. Click Download
  3. Keep the setting as is
  4. Song metadata shows up
  5. Click download

Error reports

java.lang.RuntimeException: Only one Looper may be created per thread at android.os.Looper.prepare(Looper.java:123) at android.os.Looper.prepare(Looper.java:118) at com.bobbyesp.spowlo.ui.pages.InitialEntryKt$InitialEntry$4$1.invokeSuspend(InitialEntry.kt:515) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@630994d, androidx.compose.runtime.BroadcastFrameClock@ff4ec02, StandaloneCoroutine{Cancelling}@6bd4913, AndroidUiDispatcher@28e1750] java.net.UnknownHostException: Unable to resolve host "api.github.com": No address associated with hostname at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:156) at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:103) at java.net.InetAddress.getAllByName(InetAddress.java:1152) at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49) at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:169) at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:132) at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:74) at okhttp3.internal.connection.RealRoutePlanner.planConnect(RealRoutePlanner.kt:147) at okhttp3.internal.connection.RealRoutePlanner.plan(RealRoutePlanner.kt:67) at okhttp...

Screenshots & Screen Records

No response

Device info

App version: 1.5.1 (1050100) Device information: Android 14 (API 34) Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi] spotDL version: v4.2.8

Additional context

No response