Posted on Leave a comment

Android Studio steps into wrong sdk source

https://stackoverflow.com/questions/28640513/android-studio-steps-into-wrong-sdk-source

The following workaround worked for me:

  1. Compile the application without any changes.
  2. Launch the application in Debug mode (and optionally break on breakpoint).
  3. Go to File > Project Structure, find your app module (or/and optionally, any other modules) and change the Compile Sdk Version to one that matches the device you’re debugging on (i.e. 19).
  4. Step into the framework code – it should step into SDK 19 sources.