Android Studio在生成JavaDoc时无法读取包 [英] Android Studio fails to read packages while generating JavaDoc

查看:208
本文介绍了Android Studio在生成JavaDoc时无法读取包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我已经看到Eclipse Javadoc的问题这个这个但这些特定于Eclipse。但是我想要它用于ANDROID STUDIO。我的项目有子模块和自定义视图。以下是错误:

I've seen questions with Eclipse Javadoc so far this, this and this but these are specific to Eclipse. But I want it for ANDROID STUDIO. My project has submodules and customview. Below is the error:

BootStarp1\Base-App\src\main\java\com\rspllib\android\utils\FileUpload\CustomMultiPartEntity.java:3: error: package android.util does not exist
import android.util.Log;
                   ^
D:\MonkeyTalk\MonkeyStudioWorkspace\BootStarp1\Base-App\src\main\java\com\rspllib\android\utils\FileUpload\CustomMultiPartEntity.java:18: error: cannot access HttpEntity
public class CustomMultiPartEntity extends MultipartEntity
       ^
         class file for org.apache.http.HttpEntity not found
         D:\MonkeyTalk\MonkeyStudioWorkspace\BootStarp1\Base-            App\src\main\java\com\rspllib\android\utils\FileUpload\FileUploading.java:3: error: package android.util does not exist
import android.util.Log;
                   ^


推荐答案

阅读此处我最终可以应用此解决方法。确保你在其他命令行参数字段中给你的android-jar路径,即:

After reading here I could finally apply the workaround. Make sure you give the path till your android-jar in the "Other command line arguments" field viz:

    -bootclasspath D:\android-studio-.3.2\sdk\platforms\android-19\android.jar

不要忘记添加-bootclasspath。

do not forget to add "-bootclasspath".

这篇关于Android Studio在生成JavaDoc时无法读取包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆