question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AndroidPlatform.kt exception string is confusing

See original GitHub issue

Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30

Can we apply this diff instead?

-            Build.VERSION.SDK_INT >= 21) { "Expected Android API level 21+ but was ${Build.VERSION.SDK_INT}" }
+            Build.VERSION.SDK_INT >= 21) { "Expected Android API level 21-29 but was ${Build.VERSION.SDK_INT}" }

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
lorenc-tomaszcommented, Oct 2, 2020

I have force implementation(“com.squareup.okhttp3:okhttp:4.9.0”) and it looks like working solution on RN project

1reaction
chander-stripecommented, Jul 30, 2020

Yeah I got this in real use weirdly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashing when first time try OkHttp as a client - Stack Overflow
The error is caused due to execution of network request on main thread (a.k.a. UI thread). In general, thread blocking operations (like file ......
Read more >
com.android.tools.r8.errors.Unreachable: com ... - Issue Tracker
Using AGP 3.5.0-beta02 org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesAndResourcesWithR8ForSitAutomation'.
Read more >
Result - Kotlin Programming Language
Returns the encapsulated Throwable exception if this instance represents failure or null if it is success. fun exceptionOrNull(): Throwable?
Read more >
Android environment setup - Unity - Manual
To install an Android platform SDK and the associated tools: Download the Android Software command line tool. Unzip the tools folder to a...
Read more >
Kotlin (programming language) - Wikipedia
JetBrains lead Dmitry Jemerov said that most languages did not have the features they were looking for, with the exception of Scala. However,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found