{"action":"opened","issue":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks-android/issues/854","repository_url":"https://api.github.com/repos/shadowsocks/shadowsocks-android","labels_url":"https://api.github.com/repos/shadowsocks/shadowsocks-android/issues/854/labels{/name}","comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks-android/issues/854/comments","events_url":"https://api.github.com/repos/shadowsocks/shadowsocks-android/issues/854/events","html_url":"https://github.com/shadowsocks/shadowsocks-android/issues/854","id":174910314,"number":854,"title":"Help:: Build problem","user":{"login":"zhouzhou3516","id":3890536,"avatar_url":"https://avatars.githubusercontent.com/u/3890536?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouzhou3516","html_url":"https://github.com/zhouzhou3516","followers_url":"https://api.github.com/users/zhouzhou3516/followers","following_url":"https://api.github.com/users/zhouzhou3516/following{/other_user}","gists_url":"https://api.github.com/users/zhouzhou3516/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouzhou3516/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouzhou3516/subscriptions","organizations_url":"https://api.github.com/users/zhouzhou3516/orgs","repos_url":"https://api.github.com/users/zhouzhou3516/repos","events_url":"https://api.github.com/users/zhouzhou3516/events{/privacy}","received_events_url":"https://api.github.com/users/zhouzhou3516/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-03T18:17:52Z","updated_at":"2016-09-03T18:17:52Z","closed_at":null,"body":"Got errors: Call requires API level 21 (current min is 19): \r\n\r\nI am using openjdk version 1.8\r\n$ java -version\r\nopenjdk version \"1.8.0_91\"\r\nOpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)\r\nOpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)\r\n\r\nwhat need to be upgraded?\r\n====error log===================================================\r\n[info] Compiling 40 Scala sources and 14 Java sources to /home/****/mypro/shadowsocks-android/target/android/intermediates/classes...\r\n[warn] there was one deprecation warning; re-run with -deprecation for details\r\n[warn] there was one feature warning; re-run with -feature for details\r\n[warn] two warnings found\r\n[error] [NewApi] target/android/intermediates/classes/com/github/shadowsocks/ShadowsocksVpnService$$anonfun$startVpn$2.class**:Call requires API level 21 (current min is 19):** android.net.VpnService.Builder#addAllowedApplication\r\n[error] [NewApi] target/android/intermediates/classes/com/github/shadowsocks/ShadowsocksVpnService$$anonfun$startVpn$2.class:Call requires API level 21 (current min is 19): android.net.VpnService.Builder#addDisallowedApplication\r\n[error] [NewApi] src/main/res/drawable/ic_arrow_drop_down.xml:1:<vector> requires API level 21 (current min is 19) or building with Android Gradle plugin 1.4 or higher\r\n[error] <vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n[error] ^\r\n[error]\r\n....\r\n[error] lint found 15 errors, 6 warnings\r\n[info] Packaging resources: resources-release.ap_\r\n[info] Packaging /home/*****/mypro/shadowsocks-android/target/android/intermediates/classes.jar ...\r\n[info] Done packaging.\r\n**[error] Unable to locate SDK proguard config: /home/****/mypro/android/android-sdk/tools/proguard/proguard-android.txt**\r\n[error] (android:proguardConfig) Unable to locate SDK proguard config: /home/*****/mypro/android/android-sdk/tools/proguard/proguard-android.txt\r\n[error] Total time: 91 s, completed 2016-9-4 2:03:43"}}
{"actor":{"display_login":"zhouzhou3516"}}