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;
^
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
do not forget to add "-bootclasspath".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.