Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK source code for this API level cannot be found

I've got an error while debugging:

  • The Android SDK of the device under debug has API level 30.
  • Android SDK source code for this API level cannot be found. enter image description here

I have created a new Socket on the line: socket = new Socket("ip", port);

I've checked Android SDK Platforms: enter image description here

SDK Tools: enter image description here

Android Studio version: Android Studio Jellyfish | 2023.3.1 Canary 11 Build #AI-233.14475.28.2331.11483111, built on February 22, 2024 Runtime version: 17.0.10+0--11446219 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows Server 2022 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Registry: ide.experimental.ui=true

like image 278
Eltar Avatar asked Mar 02 '26 05:03

Eltar


1 Answers

I found the problem. Don't check the Java Exception breakpoints and Exception breakpoints in the breakpoints window: enter image description here

like image 185
Ronen Festinger Avatar answered Mar 04 '26 18:03

Ronen Festinger