Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

161
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda