Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android NoClassDefFoundError:com.google.api.client.http.apache.ApacheHttpTransport();_Android_Apache_Api_Http_Noclassdeffounderror - Fatal编程技术网

Android NoClassDefFoundError:com.google.api.client.http.apache.ApacheHttpTransport();

Android NoClassDefFoundError:com.google.api.client.http.apache.ApacheHttpTransport();,android,apache,api,http,noclassdeffounderror,Android,Apache,Api,Http,Noclassdeffounderror,我正在Eclipse中创建一个Android应用程序,我一直在 NoClassDefFoundError: com.google.api.client.http.apache.ApacheHttpTransport(); 我以前看过所有关于这个问题的答案,但我似乎仍然无法解决它 以下是我所做的事情: *下载的google-http-java-client-1.12.0-beta *将libs文件夹(包含所有JAR和属性文件)添加到我的项目中 *将文件从dependencies文件夹添加到lib

我正在Eclipse中创建一个Android应用程序,我一直在

NoClassDefFoundError: com.google.api.client.http.apache.ApacheHttpTransport();
我以前看过所有关于这个问题的答案,但我似乎仍然无法解决它

以下是我所做的事情:
*下载的
google-http-java-client-1.12.0-beta

*将
libs
文件夹(包含所有JAR和属性文件)添加到我的项目中
*将文件从
dependencies
文件夹添加到
libs
文件夹
*右键单击我的项目>属性>java构建路径>添加jar>添加了
libs

*清洁和建造项目


提前感谢您的帮助

导入库也会影响导入顺序。阅读中的“文章扩展”,了解库的导入顺序