New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android project improvements #133
Comments
From yan...@google.com on July 26, 2012 07:42:27 Owner: yan...@google.com |
From yan...@google.com on August 01, 2012 13:16:35 A couple of things I figured out:
The support library contains references to newer platform versions.Don't warn about those in case this app is linking against an olderplatform version. We know about them, and they are safe.-dontwarn android.support.**
|
From yan...@google.com on August 01, 2012 13:55:21 One more thought:
|
From yan...@google.com on August 02, 2012 14:01:48 http://codereview.appspot.com/6447084/ Status: Started |
From yan...@google.com on August 17, 2012 16:03:47 Status: Fixed |
From yan...@google.com on June 22, 2012 05:31:58
Currently we are splitting up the Android support into multiple "-android2" and "-android3" projects. The problem is that this is a poor user experience for Android developers because:
Now, apparently the (new) proper way to determine if your Android project works with a specific minimum API level is to use the new Android Lint tool. See: http://tools.android.com/tips/lint http://www.simpligility.com/2012/01/android-lint-available-in-the-central-repository/ https://code.google.com/p/maven-android-plugin/issues/detail?id=224 http://android-developers.blogspot.com/2012/03/updated-sdk-tools-and-adt-revision-17.html So my proposal: just have a single "-android" project. Use the new @TargetApi annotation from the annotations.jar from Android to specify the target Android API level for the Linter tool to check against. Use JavaDoc to clear indicate the target API level for every method/class the same way we use @SInCE for library version (exact format for specifying this to be determined).
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=133
The text was updated successfully, but these errors were encountered: