Re: [android-developers] Re: Using multiple API versions

2012-01-23 Thread Mark Murphy
On Mon, Jan 23, 2012 at 6:50 PM, Bret Foreman wrote: > I made an exact copy of the project under a new name, did a rebuild, > and the ClassNotFoundException went away. Chalk it up to another weird > artifact of the Android build system. I think the California Raisins were trying to stage a breako

[android-developers] Re: Using multiple API versions

2012-01-23 Thread Bret Foreman
I made an exact copy of the project under a new name, did a rebuild, and the ClassNotFoundException went away. Chalk it up to another weird artifact of the Android build system. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Using multiple API versions

2012-01-23 Thread Bret Foreman
Here's the exception I'm getting: 01-23 15:11:07.436: E/ AndroidRuntime(5677): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sensor2cloud.raisin/ com.sensor2cloud.raisin.RaisinMainActivity}: java.lang.ClassNotFoundException: com.sensor2cloud.raisin.RaisinMainActivity

Re: [android-developers] Re: Using multiple API versions

2012-01-23 Thread Mark Murphy
On Mon, Jan 23, 2012 at 5:38 PM, Bret Foreman wrote: >> > Something in the Activity constructor for API 10 is barfing in Android >> > 2.2.2, which I guess is no real surprise. >> >> It's surprising to me. What class is not being found? > > The MainActivity class is not being found. In other words,

[android-developers] Re: Using multiple API versions

2012-01-23 Thread Bret Foreman
On Jan 23, 2:20 pm, Mark Murphy wrote: > On Mon, Jan 23, 2012 at 5:09 PM, Bret Foreman wrote: > > But if I build with API 10 on run on Android 2.2.2 then my > > MainActivity throws a ClassNotFoundException. > > > Something in the Activity constructor for API 10 is barfing in Android > > 2.2.2,