dulkith / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Class Not Found Error on NetHttpTransport #764

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.5.0-beta)?
1.14.1-beta 

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Java 6, Android 4.2

Describe the problem.
I have a two tabbed application using Fragments on each tab. I access the 
Google Places API on the doInBackground method of AsyncTask class. However, 
Eclipse is giving me errors with NetHttpTransport class that I am using. My 
application crashes with the message "Could not find resource NetHttpTransport" 
although I have included the library in my project as an external jar.

Also I cannot use GoogleHeaders too as Eclipse says its deprecated but I can't 
find any alternative for that on the official documentation.

How would you expect it to be fixed?
I am still not sure what exactly is causing the issue. I saw a few posts online 
where it seems to be fixed for some people by just rearranging the location of 
the library in the project but not for others. I have tried that and it did not 
work for me too. 

I would appreciate any help or guidance if you can provide

Original issue reported on code.google.com by jsh....@gmail.com on 3 Apr 2013 at 1:58