Does anybody know how to compile Android jars that keep their real implementations (no "Stub!" exceptions) but respect the public API by hiding the @hide annotated entities? Perhaps they are already output by the build and I just need to know where they were?
I needed access to the "real Android jars" with actual implementations for work we are doing on the Robolectric android testing framework (http://robolectric.org). I built android and harvested classes.jar from out/target/common/obj/JAVA_LIBRARIES/framework_intermediates. But, I see that these jars still have many public entities that would normally be hidden because they have the pseudo-annotation of @hide. This makes it hard to use these jars; for example subclasses often are forced to implement abstract methods marked @hide. Ideally we would be able to switch between using SDK jars and real-jars depending on the scenario, but this is hard because they have different public APIs. Thanks in advance! -- 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

