I don't know. I could way off base. It seems weird if it's an example in the book (but it's a very new book, it looks like). I've only hit weird errors when the same class is in two places. Maybe sometimes "you" can get lucky and the classloader misses the issue somehow based on other things.
You see that the author modified the twitter jarfile and released a different version Apr 3 of the twitter jar (which is a 3rd party thing to him as well) to fix some other issue? http://examples.oreilly.com/0636920010883/README-JTwitter-Library.txt That one still contains the JSONArray, but you might want to try it out... and I'd contact the author, too. On Wed, May 11, 2011 at 11:13 PM, Spooky <[email protected]> wrote: > > > On May 11, 10:03 pm, B Lyon <[email protected]> wrote: >> well, org.json.JSONArray is apparently in both jtwitter.jar and >> android.jar, which can confuse things, I think. I've yet to mess with >> the twitter stuff. It looks like there's a twitter library that is >> "android-ready" called twitter4j you might want to try if you're just >> wanting to learn stuff, anyway. Or there might be others. Not sure if >> it will help you or cause more problems :) > > Thing is, I'm working on learning Android programming from the > O'Reilly > book, "Learning Android". If I switch to another twitter.jar variant, > it's > going to throw everything off. Btw, personally, I don't give a rat's > backside > about twitter, but it's the project that's built on throughout the > book, so...... > > So, if that might be the problem, how would I test it? Is there a way > a > newbie like me can easily remove one of the above org.json.JSONArray > values? > > Many, MANY thanks for the help with this! > --jim > > -- > 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 -- 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

