android json from vaadin 7.2 incompatible with my project

i was using the original JSON libraries from the package org.json.*

since i updated my project to vaadin 7.2, eclipse prefers to use the android JSON libraries from the vaadin project. unfortunately the android JSON library is not compatible to some methods. both libraries use the same package name “org.json.*”. how can i tell my project not using the android json library?

An old post, but this might still be relevant to some.

Vaadin 7.3 switches back to the JSON.org implementation, but for Vaadin 7.2 you should be able to exclude the Android JSON transitive dependency in your Ivy or Maven dependencies and explicitly depend on the JSON.org version.