Well am using eclipse to make an android app which accesses google calendar API am getting a NoClassDefFoundError Exception whenever i tried to execute this method
private void setupCalendarConnection(final String accessToken) throws IOException {
HttpTransport transport = AndroidHttp.newCompatibleTransport();// Here where the exception
GoogleCredential googleCredential = new GoogleCredential().setAccessToken(accessToken);
JacksonFactory jacksonFactory = new JacksonFactory();
i)还试图用中文本取代。
HttpTransport transport = 新的NetHttpTransport()
and i got the same error
05-07 20:08:04.513: E/AndroidRuntime(781): java.lang.NoClassDefFoundError: com.google.api.client.extensions.android2.AndroidHttp
根据我在 Java的知识。 这一例外意味着,Loader ALTHOUGH i检查了附属公司和JAR档案中包含和进口的类别没有界定该类别。
So any clue about how can i solve this problem Thank you in advance..
Eclipse 3.7 Indigo -- 1.8 roid(4.0.3) Api lvl 15