the jar of this class file belongs to container 'android 2.0' which does not allow modifications to source attachments on tis entires这个错误 在用http请求时 也出现了是什么意思呀?能解决的我开了三个100分得贴 都可以给您呀!!!!!!!!!!!
log 信息 04-11 04:42:01.180: ERROR/dalvikvm(3511): Could not find class 'com.google.gdata.client.docs.DocsService', referenced from method com.ytu.android.listview.MyFileManager.Login04-11 04:35:33.390: ERROR/AndroidRuntime(3381): Uncaught handler: thread main exiting due to uncaught exception 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): java.lang.NoClassDefFoundError: com.google.gdata.client.docs.DocsService 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.ytu.android.listview.MyFileManager.Login(MyFileManager.java:378) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.ytu.android.listview.MyFileManager.onCreate(MyFileManager.java:77) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.access$2200(ActivityThread.java:119) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.os.Handler.dispatchMessage(Handler.java:99) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.os.Looper.loop(Looper.java:123) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.main(ActivityThread.java:4310) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at java.lang.reflect.Method.invokeNative(Native Method) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at java.lang.reflect.Method.invoke(Method.java:521) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at dalvik.system.NativeStart.main(Native Method)
04-11 04:42:01.180: ERROR/dalvikvm(3511): Could not find class 'com.google.gdata.client.docs.DocsService', referenced from method com.ytu.android.listview.MyFileManager.Login上面是log的错误信息我到程序里找到这个代码 import com.google.gdata.client.docs.DocsService; 把鼠标放上去 提示下面的内容:This element neither has attached source nor attached Javadoc and hence no Javadoc could be found不知道是什么意思? 怎么解决?
04-11 04:42:01.180: ERROR/dalvikvm(3511): Could not find class 'com.google.gdata.client.docs.DocsService', referenced from method com.ytu.android.listview.MyFileManager.Login04-11 04:35:33.390: ERROR/AndroidRuntime(3381): Uncaught handler: thread main exiting due to uncaught exception
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): java.lang.NoClassDefFoundError: com.google.gdata.client.docs.DocsService
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.ytu.android.listview.MyFileManager.Login(MyFileManager.java:378)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.ytu.android.listview.MyFileManager.onCreate(MyFileManager.java:77)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.os.Handler.dispatchMessage(Handler.java:99)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.os.Looper.loop(Looper.java:123)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at android.app.ActivityThread.main(ActivityThread.java:4310)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at java.lang.reflect.Method.invokeNative(Native Method)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at java.lang.reflect.Method.invoke(Method.java:521)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-11 04:35:33.561: ERROR/AndroidRuntime(3381): at dalvik.system.NativeStart.main(Native Method)
http://code.google.com/intl/zh-CN/apis/gdata/articles/eclipse.html
import com.google.gdata.client.docs.DocsService;
把鼠标放上去 提示下面的内容:This element neither has attached source nor attached Javadoc and hence no Javadoc could be found不知道是什么意思? 怎么解决?
2 看了android中的源代码,android\frameworks\base\core\java\com\google\android\ 定义了部分的google的api,如果要使用google的api可能需要将代码放入framework里面编译。这点我没有验证。
放入framework里面编译? 这个如何实现?