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

1.4K
Visualizações
An error in Generate javadoc in Android Studio

I'm working with Android Studio Arctic Fox 11.0.10 on MacOS Big Sur 11.5.2. I'm trying to run Generate javadoc and I get the following errors:

/Users/.../sdk/src/main/java/datos_health/com/sdk/app/fragments/GlucoseWeeklyPagerAdapter.java:3: error: package android.os does not exist import android.os.Bundle; ^

/Users/.../sdk/src/main/java/datos_health/com/sdk/app/fragments/BaseHistoryPagerFragmentAdapter.java:3: error: package android.view does not exist import android.view.ViewGroup; ^

/Users/.../sdk/src/main/java/datos_health/com/sdk/app/fragments/BaseHistoryPagerFragmentAdapter.java:36: error: cannot find symbol public void destroyItem(@NonNull ViewGroup container, int position, @NonNull Object object) { ^

symbol: class ViewGroup location: class BaseHistoryPagerFragmentAdapter

and so on....

I tried many solutions from other questions I saw here but nothing worked. These are things I tried:

  1. Run with InteliJ - got the same errors and no docs were created
  2. Run javadoc in command line - same result
  3. Run on a simpler Android app code - same result
  4. Add -bootclasspath /Users/.../Library/Android/sdk/platforms/android-30/android.jar - got this error: option --boot-class-path not allowed with target 11
  5. Add -sourcepath /Users/.../Library/Android/sdk/platforms/android-30/android.jar - still with the same result
  6. Add -classpath /Users/.../Library/Android/sdk/platforms/android-30/android.jar - got these errors instead:

/Users/.../Library/Android/sdk/sources/android-30/android/content/res/Resources.java:44: error: package android.compat.annotation does not exist import android.compat.annotation.UnsupportedAppUsage; ^

/Users/.../Library/Android/sdk/sources/android-30/android/content/pm/ActivityInfo.java:21: error: package android.compat.annotation does not exist import android.compat.annotation.UnsupportedAppUsage;

and so on... ^

  1. Change JDK to Emebedded JDK - same result

I am at a loss :( Can someone help me?

over 4 years ago · Santiago Trujillo
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