android-sdk-addon-example icon indicating copy to clipboard operation
android-sdk-addon-example copied to clipboard

Error while adding javadoc

Open nitheshbafna opened this issue 3 years ago • 4 comments

Hi, i am getting below error while adding javadoc.

build/make/core/main.mk:1311: warning: : Module 'adb_keys' in PRODUCT_PACKAGES_DEBUG has nothing to install! Stubbing addon jar using device/profusion/profusion_sdk_addon/sdk_addon_stub_defs.txt FAILED: ninja: 'out/target/common/docs/helloworld-doc-timestamp', needed by 'out/host/linux-x86/sdk_addon/profusion_sdk_addon-eng.niba270259-linux -x86.zip', missing and no known rule to make it 08:49:26 ninja failed with: exit status 1

failed to build some targets (01:52 (mm:ss))

nitheshbafna avatar Feb 17 '22 07:02 nitheshbafna

We need to have more details on how you reached this error, so I have a few questions:

  • How did you run?
  • Are you running the helloworld example as is or have you edited this code?
  • Have you followed exact instructions on the readme?
  • Have you done a clean install of android?
  • What version of the android are you using?

oliveirarleo avatar Feb 17 '22 14:02 oliveirarleo

Hi, i just uncommented (#PRODUCT_SDK_ADDON_DOC_MODULES := \

helloworld) from profusion_sdk_addon.mk and built it. if i keep it un comment as it is it works perfectly fine.

How did you run? --m sdk_addon Are you running the helloworld example as is or have you edited this code? - i din't edited any code Have you followed exact instructions on the readme? - Yes i have Have you done a clean install of android? - Yes What version of the android are you using? - Android 11

Note - this code works perfectly fine. i am getting this error only while trying to build java_doc

nitheshbafna avatar Feb 17 '22 16:02 nitheshbafna

Okay, now I was able to reproduce the error here. We will look into it.

oliveirarleo avatar Feb 18 '22 12:02 oliveirarleo

Okay, thank you :) will be waiting for a positive response.

nitheshbafna avatar Feb 18 '22 13:02 nitheshbafna