{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacpp/issues/52","repository_url":"https://api.github.com/repos/bytedeco/javacpp","labels_url":"https://api.github.com/repos/bytedeco/javacpp/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacpp/issues/52/comments","events_url":"https://api.github.com/repos/bytedeco/javacpp/issues/52/events","html_url":"https://github.com/bytedeco/javacpp/issues/52","id":120720337,"number":52,"title":"Can any one tell me how to use javacpp in android studio?","user":{"login":"shekmun","id":10654727,"avatar_url":"https://avatars0.githubusercontent.com/u/10654727?v=4","gravatar_id":"","url":"https://api.github.com/users/shekmun","html_url":"https://github.com/shekmun","followers_url":"https://api.github.com/users/shekmun/followers","following_url":"https://api.github.com/users/shekmun/following{/other_user}","gists_url":"https://api.github.com/users/shekmun/gists{/gist_id}","starred_url":"https://api.github.com/users/shekmun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekmun/subscriptions","organizations_url":"https://api.github.com/users/shekmun/orgs","repos_url":"https://api.github.com/users/shekmun/repos","events_url":"https://api.github.com/users/shekmun/events{/privacy}","received_events_url":"https://api.github.com/users/shekmun/received_events","type":"User","site_admin":false},"labels":[{"id":93987297,"url":"https://api.github.com/repos/bytedeco/javacpp/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2015-12-07T08:06:38Z","updated_at":"2017-09-07T20:16:34Z","closed_at":"2015-12-15T14:42:37Z","author_association":"NONE","body":"I have spend some time on this, but I just cannot make it work.\n\nI can't find enough reference material on google. And finally I do it as this:\nhttps://www.snip2code.com/Snippet/271596/gradle-build-file-for-JavaCPP\n\nAnd I changed it to something like this:\n\n``` groovy\nandroid.applicationVariants.all { variant ->\n    variant.javaCompile.doLast {\n        println 'Hello world!'\n        javaexec {\n            main \"org.bytedeco.javacpp.tools.Builder\"\n            classpath files('path/to/javacpp.jar')\n            args '-cp', \"variant.javaCompile.destinationDir\",\n                    '-properties', 'android-arm',\n                    '-Dplatform.root', 'path/to/ndk',\n                    '-Dplatform.compiler', 'path/to/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++',\n                    '-d', 'libs/armeabi'\n        }\n    }\n}\n```\n\nBut the gradle build failed. The error says that 'org.bytedeco.javacpp.tools.builder' not found. And the 'command '/path/to/java'' return nono zero (return 1).\n\nCan any one helps me. Appreciate!\n"},"comment":{"url":"https://api.github.com/repos/bytedeco/javacpp/issues/comments/327915670","html_url":"https://github.com/bytedeco/javacpp/issues/52#issuecomment-327915670","issue_url":"https://api.github.com/repos/bytedeco/javacpp/issues/52","id":327915670,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars1.githubusercontent.com/u/3328023?v=4","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2017-09-07T20:16:34Z","updated_at":"2017-09-07T20:16:34Z","author_association":"OWNER","body":"No it's not:\r\n```groovy\r\n compile 'org.bytedeco:javacpp:1.1'\r\n```"}}
{"actor":{"display_login":"saudet"}}