profusion / android-sdk-addon-example

Apache License 2.0
23 stars 6 forks source link

Error while adding javadoc #4

Open nitheshbafna opened 2 years ago

nitheshbafna commented 2 years ago

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))

oliveirarleo commented 2 years ago

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

nitheshbafna commented 2 years ago

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

oliveirarleo commented 2 years ago

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

nitheshbafna commented 2 years ago

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