[android-developers] Re: NoClassDefFoundError for gson after updating the ADT and SDK Tools

2012-03-31 Thread seran...@gmail.com
Just mark all your JARs and Eclipse User Libraries as exported in the "Build Path / Order and Export" configuration. It didn't work for me until I also put "Android Dependencies" before my libraries in the forementioned tab. Still don't know what the order is supposed to do. :D On Mar 22, 1:06 pm,

Re: [android-developers] Re: NoClassDefFoundError for gson after updating the ADT and SDK Tools

2012-03-22 Thread Kostya Vasilyev
Just updated to tools 17 and got this in most projects: Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor And The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object.Fix the build pa

[android-developers] Re: NoClassDefFoundError for gson after updating the ADT and SDK Tools

2012-03-22 Thread Yasin YILDIRIM
It worked! Thanks :) On Mar 22, 1:03 pm, Mark Murphy wrote: > You can try: > > http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-... > > On Thu, Mar 22, 2012 at 6:39 AM, Yasin YILDIRIM > > > > > > > > > > wrote: > > Today I updated my ADT and SDK Tools to v17 and my projects u

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread TreKing
On Tue, Nov 22, 2011 at 9:14 PM, Zsolt Vasvari wrote: > He's an SAP CONSULTANT, didn't you hear that? --- he's allowed to hijack > threads. > Touché. - TreKing

[android-developers] Re: NoClassDefFoundError

2011-11-22 Thread Zsolt Vasvari
He's an SAP CONSULTANT, didn't you hear that? --- he's allowed to hijack threads. On Nov 23, 10:59 am, TreKing wrote: > On Tue, Nov 22, 2011 at 6:53 AM, Rajendra Prasad wrote: > > > I am quite new to android and very much interested in developing Android > > Applications, > > Could you let me kno

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread TreKing
On Tue, Nov 22, 2011 at 6:53 AM, Rajendra Prasad wrote: > I am quite new to android and very much interested in developing Android > Applications, > Could you let me know how can start developing Android Apps. > If you have any documents related to Android Apps, please send it to me . A - Please

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread Rajendra Prasad
Hi Guys, I am SAP consultant, My company is integrating SAP with Android Mobile applications. I am quite new to android and very much interested in developing Android Applications, Could you let me know how can start developing Android Apps. If you have any documents related to Android Apps, pleas

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread Ratheesh Valamchuzhy
ok. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Re: NoClassDefFoundError

2011-11-22 Thread rachana govilkar
Hey problem is solved i was returning null from a function thnk u for attention btw. :) On Nov 22, 2:30 pm, Ratheesh Valamchuzhy wrote: > paste the code... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread Ratheesh Valamchuzhy
paste the code... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: NoClassDefFoundError

2011-11-21 Thread rachana govilkar
yes it is declared in Manifest.. On Nov 22, 5:01 am, TreKing wrote: > On Mon, Nov 21, 2011 at 6:47 AM, rachana govilkar < > > rachana.govil...@gmail.com> wrote: > > I am getting this error frequently when i execute my > > app..RegionStandardMapActivity class does existbut am not

[android-developers] Re: noclassdeffounderror

2011-05-05 Thread DanH
The most common reason for NoClassDefFoundError is a exception in the static initializer for the class. On May 5, 6:57 am, ragupathi ragupathi wrote: > hi im developing google application it focus some problem like > noclassdeffounderror exception. Any one knows post the solutions. when > this pr

[android-developers] Re: NoClassDefFoundError in Google Maps

2011-04-12 Thread JP
On Apr 12, 5:53 am, TreKing wrote: > Or use reflection to determine if this class exists and is available for > use. Or a wrapper class. Here's a blog post that helped me figure it out a bit quicker: http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html -- You

[android-developers] Re: NoClassDefFoundError when starting an AIDL service

2011-01-10 Thread Kumar Bibek
Just a doubt. Is your second project (which is used by the first) a library project? In that case, it should work. On Jan 9, 10:08 pm, Lazarus 101 wrote: > I have two projects, the first one has the aidl files and other > classes that will be shared with the client aps, and the second one > has t

[android-developers] Re: NoClassDefFoundError when running the app

2010-10-18 Thread DanH
Well, remember that the jar file CONTAINS class files. In a normal JDK environment the jar doesn't need to be "compiled", since it already is. But in Android the contents of the jar does need to get included into the dex file(s) which end up in the apk. On Oct 18, 1:38 pm, ping wrote: > I figur

[android-developers] Re: NoClassDefFoundError when running the app

2010-10-18 Thread ping
hey guys, i've found the solution. i suggested that eclipse takes care of the *.jar files within the referenced java project. But i have to set a dependency to the *.jar file from out of the android project too. thank you for your help, greets On Oct 18, 8:38 pm, ping wrote: > I figured out tha

[android-developers] Re: NoClassDefFoundError when running the app

2010-10-18 Thread ping
I figured out that no *.class files are generated when the project is building. I tried to clean the project but there are no *.class files of the *.jar in the bin folder of eclipse On Oct 18, 8:29 pm, DanH wrote: > Note that NoClassDefFound can also occur because the class was found > but w

[android-developers] Re: NoClassDefFoundError when running the app

2010-10-18 Thread DanH
Note that NoClassDefFound can also occur because the class was found but was incompatible with other classes it links to. On Oct 18, 12:48 pm, ping wrote: > Hi. > I have a problem with a library which i would like to use in my > project. > Here is the situtation: > I have an android project which

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-18 Thread Kumar Bibek
According to me, you should also add the gdata-base and gdata-client. Perhaps, here are the super classes of CalendarService. Try it once and I am sure that this will work. Thanks and Regards, Kumar Bibek On Mar 17, 4:04 am, Bob Kerns wrote: > From your log messages, I would guess that the clas

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-16 Thread Bob Kerns
>From your log messages, I would guess that the class com.google.gdata.client.GoogleService lives in a different .jar, that you haven't included somehow. (At least, googling com.google.gdata.client.calendar.CalendarService suggests that's the superclass in question). Check inside the .dex file to

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-16 Thread DJC
I too am encountering the same issue. I'm using MOTODEV to develop an Android app using the Google Calendar API. I downloaded gdata-src.java-1.40.3 and unzipped it. In Project - > Properties I pull up the Java Build Path tab, Libraries subtab and click "Add External Jars". I navigate down to gd

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-16 Thread DJC
I'm having the same problem :( On Mar 15, 11:52 am, Brion Emde wrote: > Hi Tom, > > I went down the same path as you with the gdata library and I was > going to take a look at this library, which the developer claims does > work on Android: > > http://code.google.com/p/simply-gdata/ > > I'd be in

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-16 Thread DJC
I am having the same problem ... DJC On Mar 15, 11:52 am, Brion Emde wrote: > Hi Tom, > > I went down the same path as you with the gdata library and I was > going to take a look at this library, which the developer claims does > work on Android: > > http://code.google.com/p/simply-gdata/ > > I'

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-15 Thread Brion Emde
Hi Tom, I went down the same path as you with the gdata library and I was going to take a look at this library, which the developer claims does work on Android: http://code.google.com/p/simply-gdata/ I'd be interested in if this works for you, as I haven't gotten around to looking at it and if i

Re: [android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-15 Thread David Williams
They go under resource On Sat, Mar 13, 2010 at 6:21 PM, Tom wrote: > > > On Mar 13, 3:15 pm, Mark Murphy wrote: > > Tom wrote: > > > I'm writing an android 2.1 application that writes an entry to my > > > Google calendar. The relevant part of my application code looks like > > > this: > > > >

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-15 Thread Tom
Thanks everyone for all of your suggestions. I haven't been able to get the com.google.gdata classes to load properly in the emulator or my N1 phone. The stack trace indicates that the DVM cannot load classes in the com.google.gdata.client packages, despite the jars being included in the Eclipse p

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-13 Thread Bob Kerns
Yes. The reason I do copy them (and recommend copying them) to a lib/ directory is twofold: 1) It makes them an explicit part of your project for versioning. If you use Subversion you can make these be a copy from a directory of third-party components. You could copy the third-party directory for

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-13 Thread Kumar Bibek
It doesn't really matter if you create a lib folder and put the jars and link them. It just works if you have added the jars the the build path. Though I am not able to figure out why you are getting this error. > But I *highly* recommend not using Eclipse for your production builds, > but rather

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-13 Thread Bob Kerns
What I do is to create a libs/ directory in Eclipse, and add them to the Eclipse build path. Android Tools/Export Signed Application Properties works fine. But I *highly* recommend not using Eclipse for your production builds, but rather have a build script that handles checkout, version numberin

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-13 Thread Tom
I created the libs directory where you specified and copied the gdata .jar files in there, then from Eclipse ran "Export" project, then installed on the phone - but with the same result - NoClassDefFoundError for CalendarService. It seems that Eclipse is "silently" failing to handle the gdata jar

Re: [android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-13 Thread Mark Murphy
Tom wrote: >>> This code compiles with no errors, using Eclipse on MacOS, using >>> external jar files from the Google gdata project: >>> gdata/java/lib/gdata-calendar-2.0.jar >>> gdata/java/lib/gdata-calendar-meta-2.0.jar >> Did you copy these into your project's libs/ directory? >> > > No, I mer

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-13 Thread Tom
On Mar 13, 3:15 pm, Mark Murphy wrote: > Tom wrote: > > I'm writing an android 2.1 application that writes an entry to my > > Google calendar. The relevant part of my application code looks like > > this: > > >    void addCalendarEntry(String googleUser, String password) > >    throws Exception