I started getting ClassNotFoundExceptions for one of the classes in my application last night.
Oddly enough I also got a report from a user that he has a brand new EVO and he can not install my widget. He gets a "home screen full" AFTER he gets the configuration screen on a blank home screen. The Provider for the BroadcastReceiver is the one that gets the CNFE. He sent me a LogCollector but there is no indication of any problem in there. I know I have active users using my widget quite extensively and it has worked on every phone I could test on. A friend of mine downloaded and installed it last night on his EVO (purchased about 2 months ago) and it works fine for him. Is it possible with Android v2.2 that if the user installs the application to the sdcard there is some runtime problem? I don't know if that is the case with this one user. I'm waiting for him to reply to my last email. Anything else anyone can think to check? This is just bizarre. On Dec 27, 3:27 pm, Mark Wyszomierski <[email protected]> wrote: > Anyone word on this from google? > > I am distributing a pretty popular app and this error has popped up a > few hundred times now in the marketplace crash report. I can't really > do anything for these users except ask them to run something like Log > Collector but it's a slim chance they'll do that (no takers yet). > Looks like something related to google maps missing or some such > thing?: > > java.lang.RuntimeException: Unable to instantiate application > com.me.test.ActivityMain: java.lang.ClassNotFoundException: > com.me.test.ActivityMain in loader dalvik.system.PathClassLoader[/ > system/framework/com.google.android.maps.jar:/data/app/ > com.me.test-1.apk] > Caused by: java.lang.ClassNotFoundException: com.me.test.ActivityMain > in loader dalvik.system.PathClassLoader[/system/framework/ > com.google.android.maps.jar:/data/app/com.me.test-1.apk] > > Thanks > > On Nov 27, 10:10 am, Emanuel Moecklin <[email protected]> wrote: > > > > > > > > > Hi Moss > > > The com.package.app is just an "obfuscated" package name (much like > > your "com.package.app"). > > In reality I'm using a unique name or that's what I hope I do ;-). > > > Thanks for your post anyway. > > I really appreciate your support! > > > Cheers > > Emanuel > > > On Nov 24, 2:01 pm, Moss <[email protected]> wrote: > > > > Could it be that the class loader is failing to find the right > > > package? I just saw that you are using 'com.company.app' as your > > > package name. Googling a bit I found that there are many apps that use > > > the same schema. Normally I use my domain to identify my packages in a > > > unique way like 'com.myweb.myapp'. > > > > I just tried to reproduce your error and creating 2 apps that use the > > > same base package name I just get the error when launching them. I > > > think that the class loader will pickup the first listed package and > > > then try to load the class (which is not there :P): > > > - com.package.app.ActivityA > > > - com.package.app.ActivityB > > > > If I load com.package.app.ActivityB I'm getting the same error. > > > > Hope this can help you a bit. > > > > Cheers, > > > Moss -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

