Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Unable to generate DOCS using javadoc in android studio #744

Open
aamir-unl opened this issue Dec 14, 2022 · 1 comment
Open

Unable to generate DOCS using javadoc in android studio #744

aamir-unl opened this issue Dec 14, 2022 · 1 comment

Comments

@aamir-unl
Copy link

Unable to generate DOCS using javadoc in android studio.

`"C:\Users\Aamir Bashir.jdks\corretto-11.0.14.1\bin\javadoc.exe" -public -splitindex -version -d "C:\Users\Aamir Bashir\Downloads\test" @C:\Users\AAMIRB~1\AppData\Local\Temp\javadoc_args
Loading source file C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java...
Constructing Javadoc information...
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:3: error: package android.content does not exist
import android.content.Context;
^
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:4: error: package android.text does not exist
import android.text.Html;
^
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:5: error: package android.text does not exist
import android.text.SpannableStringBuilder;
^
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:6: error: package android.text does not exist
import android.text.Spanned;
^
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:7: error: package android.text.style does not exist
import android.text.style.URLSpan;
^
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:24: error: cannot find symbol
private final WeakReference context;
^
symbol: class Context
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:31: error: cannot find symbol
AttributionParser(WeakReference context, String attributionData, boolean withImproveMap,
^
symbol: class Context
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:104: error: cannot find symbol
private void parseUrlSpan(@nonnull SpannableStringBuilder htmlBuilder, @nonnull URLSpan urlSpan) {
^
symbol: class SpannableStringBuilder
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:104: error: cannot find symbol
private void parseUrlSpan(@nonnull SpannableStringBuilder htmlBuilder, @nonnull URLSpan urlSpan) {
^
symbol: class URLSpan
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:150: error: cannot find symbol
private String parseAnchorValue(SpannableStringBuilder htmlBuilder, URLSpan urlSpan) {
^
symbol: class SpannableStringBuilder
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:150: error: cannot find symbol
private String parseAnchorValue(SpannableStringBuilder htmlBuilder, URLSpan urlSpan) {
^
symbol: class URLSpan
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:179: error: cannot find symbol
private static Spanned fromHtml(String html) {
^
symbol: class Spanned
location: class AttributionParser
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:198: error: cannot find symbol
private final WeakReference context;
^
symbol: class Context
location: class Options
C:\Users\Aamir Bashir\AndroidStudioProjects\maplibre-gl-native\platform\android\MapboxGLAndroidSDK\src\main\java\com\mapbox\mapboxsdk\attribution\AttributionParser.java:204: error: cannot find symbol
public Options(@nonnull Context context) {
^
symbol: class Context
location: class Options
14 errors

"javadoc" finished with exit code 1`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@aamir-unl and others