{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/300","labels_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/300/comments","events_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/300/events","html_url":"https://github.com/chrsmithdemos/google-api-java-client/issues/300","id":59551632,"number":300,"title":"mvn compile of tasks-android-sample fails","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/labels/Type-Sample","name":"Type-Sample","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-02T21:14:27Z","updated_at":"2015-03-02T21:14:28Z","closed_at":"2015-03-02T21:14:27Z","body":"```\n\nVersion of google-api-java-client (e.g. 1.5.0-beta)?\n1.5.0-beta\n\nJava environment (e.g. Java 6, Android 2.3, App Engine)?\nJava 6, Android 2.3\n\nDescribe the problem.\n\nWhen following the checkout instructions here:\nhttp://samples.google-api-java-client.googlecode.com/hg/tasks-android-sample/ins\ntructions.html\n\nmvn compile results in:\n\n[INFO] 2 errors \n[INFO] -------------------------------------------------------------\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD FAILURE\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time: 4.244s\n[INFO] Finished at: Fri Sep 23 14:00:50 PDT 2011\n[INFO] Final Memory: 5M/245M\n[INFO] ------------------------------------------------------------------------\n[ERROR] Failed to execute goal \norg.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) \non project tasks-android-sample: Compilation failure: Compilation failure:\n[ERROR] \n<My_Path>/tasks-android-sample/src/main/java/com/google/api/services/samples/tas\nks/android/TasksSample.java:[221,53] package R does not exist\n[ERROR] \n<My_Path>/tasks-android-sample/src/main/java/com/google/api/services/samples/tas\nks/android/TasksSample.java:[225,20] package R does not exist\n\nThe same problem also happens for the calendar android sample:\nhttp://samples.google-api-java-client.googlecode.com/hg/calendar-android-sample/\ninstructions.html\n\nThis problem has also been reported in stackoverflow:\nhttp://stackoverflow.com/questions/7457521/fixing-dependency-for-google-api-task\n-android-sample\n\n\nHow would you expect it to be fixed?\n\nmvn compile in \nhttp://samples.google-api-java-client.googlecode.com/hg/tasks-android-sample/ins\ntructions.html\nshould work with no compilation errors.\nThis is probably going to require figuring out the maven way of doing android.\n\n```\n\nOriginal issue reported on code.google.com by `rmis...@google.com` on 23 Sep 2011 at 9:12"},"comment":{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/comments/76824884","html_url":"https://github.com/chrsmithdemos/google-api-java-client/issues/300#issuecomment-76824884","issue_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/300","id":76824884,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T21:14:28Z","updated_at":"2015-03-02T21:14:28Z","body":"```\nMaven compile for Android samples is not supported any more.  It was too \ndifficult to maintain and it doesn't work well with Google's Android Eclipse \nplugin.\n```\n\nOriginal comment by `yan...@google.com` on 25 Sep 2012 at 2:12"}}