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.

CompileSdk 31 problem

See original GitHub issue

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [ x] I am running the latest version
  • [x ] I checked the documentation and found no answer
  • [ x] I checked to make sure that this issue has not already been filed
  • [ x] I’m sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow or on our Gitter channel.

Question

I’ve got a problem after changed compileSdk 30 to 31 in build.gradle,when i try to run android din`t compile, if anyone had the same issue and help me i’ll be grateful.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:7
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Irenedancommented, Apr 28, 2022

@LucasDevSystem Hi guy, how’s the compileSdk 30 to 31 upgrade going?

1reaction
driiftkiingcommented, Jan 26, 2022

The current workaround is to use java version 11 instead of 8, but since then you cant use the sdkmanager since its only compatible with java v8. An another problem is also that the bluetooth is not working anymore on Android 12.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - How can I resolve the error "The minCompileSdk (31 ...
I had to bump up the compileSdk from 30 to 31 in build.gradle (app), as mentioned in this answer stackoverflow.com/a/69283902/624814. – SMBiggs.
Read more >
The minCompileSdk (31) specified in a dependency's ... - GitHub
Hello, I am using version shown below. I need to downgrade sdkversion to 29 to run in my mobile phone, because it crashes...
Read more >
[solved] The minCompileSdk (31) specified in a dependency's ...
Today we see the common andorid studio error for java/kotlin and its solution. Error: The minCompileSdk (31) specified in a dependency's AAR metadata...
Read more >
Error "The minCompileSdk (31) specified in a error
Error "The minCompileSdk (31) specified in a error: dependency's AAR metadata ..." in Android apps.
Read more >
Compose Navigation requires minCompileSdk(31) [197539356]
One or more issues found when checking AAR metadata values: The ... plugins { id("com.android.application") id("kotlin-android") } android { compileSdk = 30 ...
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