Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
No executable code found at line inside Observer - Android Studio gradle breakpoint

I am trying to debug inside of a LiveData Observer but the debugger says that there is

No executable code found at line ...

The following screenshot shows what it looks like after I have removed and replaced the breakpoints at the offending lines.

Android Studio breakpoints

I have already tried the following:

  • The answers on this question: Android studio gradle breakpoint No executable code found at line
  • removing .gradle, .iml, app/build and .idea and restarting
  • invalidating caches and restarting
  • adb kill-server and adb start-server
  • cleaning project and resyncing gradle
  • attaching the debugger to the running process again
  • uninstalling the app from the device and reinstalling

I am using Android Studio 3.2.1

Any other ideas?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

In my case, I was using the observer inside the fragment onActivityCreated Method. After moving code to onCreate method activity, it is started working.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!