{"action":"opened","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-BLE-Library/issues/24","repository_url":"https://api.github.com/repos/NordicSemiconductor/Android-BLE-Library","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-BLE-Library/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-BLE-Library/issues/24/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/Android-BLE-Library/issues/24/events","html_url":"https://github.com/NordicSemiconductor/Android-BLE-Library/issues/24","id":354247285,"node_id":"MDU6SXNzdWUzNTQyNDcyODU=","number":24,"title":"Build fail due to Invoke-customs are only supported starting with Android O (--min-api 26) Message{kind=ERROR, text=Invoke-customs are only supported starting with Android O (--min-api 26), sources=[Unknown source file], tool name=Optional.of(D8)}","user":{"login":"rickymohk","id":17548814,"node_id":"MDQ6VXNlcjE3NTQ4ODE0","avatar_url":"https://avatars3.githubusercontent.com/u/17548814?v=4","gravatar_id":"","url":"https://api.github.com/users/rickymohk","html_url":"https://github.com/rickymohk","followers_url":"https://api.github.com/users/rickymohk/followers","following_url":"https://api.github.com/users/rickymohk/following{/other_user}","gists_url":"https://api.github.com/users/rickymohk/gists{/gist_id}","starred_url":"https://api.github.com/users/rickymohk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickymohk/subscriptions","organizations_url":"https://api.github.com/users/rickymohk/orgs","repos_url":"https://api.github.com/users/rickymohk/repos","events_url":"https://api.github.com/users/rickymohk/events{/privacy}","received_events_url":"https://api.github.com/users/rickymohk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T09:30:59Z","updated_at":"2018-08-27T09:30:59Z","closed_at":null,"author_association":"NONE","body":"I got the following build error after using Android-BLE-Library\r\n```Invoke-customs are only supported starting with Android O (--min-api 26)\r\nMessage{kind=ERROR, text=Invoke-customs are only supported starting with Android O (--min-api 26), sources=[Unknown source file], tool name=Optional.of(D8)}```\r\nThen I change the Source Compatibility and Target Compatibility to 1.8 as suggested from the Internet\r\n```    compileOptions {\r\n        sourceCompatibility JavaVersion.VERSION_1_8\r\n        targetCompatibility JavaVersion.VERSION_1_8\r\n    }```\r\nand got the following error\r\n```Process 'command '/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with non-zero exit value 1```\r\nIs Android-BLE-Library requires a certain minSdkVersion? My project has minSdkVersion 19"}}
{"actor":{"display_login":"rickymohk"}}