{"action":"created","issue":{"url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/3","labels_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/3/comments","events_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/3/events","html_url":"https://github.com/DrMoriarty/cordova-social-vk/issues/3","id":63925789,"number":3,"title":"Error when opening vk share dialog","user":{"login":"stranger82","id":2835312,"avatar_url":"https://avatars.githubusercontent.com/u/2835312?v=3","gravatar_id":"","url":"https://api.github.com/users/stranger82","html_url":"https://github.com/stranger82","followers_url":"https://api.github.com/users/stranger82/followers","following_url":"https://api.github.com/users/stranger82/following{/other_user}","gists_url":"https://api.github.com/users/stranger82/gists{/gist_id}","starred_url":"https://api.github.com/users/stranger82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stranger82/subscriptions","organizations_url":"https://api.github.com/users/stranger82/orgs","repos_url":"https://api.github.com/users/stranger82/repos","events_url":"https://api.github.com/users/stranger82/events{/privacy}","received_events_url":"https://api.github.com/users/stranger82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T07:45:57Z","updated_at":"2015-03-24T17:50:44Z","closed_at":null,"body":"Hi,\r\n I try to use your plugin in ionic project\r\n\r\n 1. i installed it with cordova plugin add ...\r\n 2. added dependency to project.properties android.library.reference.2=vksdk_library\r\n 3. But when I try to open vk share dialog I get error NoClassDefFoundError com.vk.sdk.R$Layout in native code\r\n\r\n  After looking into apk I found that resources for vksdk_library were in my package and with my  namespace, but not in vk library package. So probably the issue is in how vksdk_library is included. I spent some time trying to fix this issue, but I am not experienced in Android native development. No luck yet.\r\n\r\nI would appreciate any clues how to fix this issue.\r\n\r\nThanks!\r\n\r\n\r\n\r\n \r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/comments/85619000","html_url":"https://github.com/DrMoriarty/cordova-social-vk/issues/3#issuecomment-85619000","issue_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/3","id":85619000,"user":{"login":"stranger82","id":2835312,"avatar_url":"https://avatars.githubusercontent.com/u/2835312?v=3","gravatar_id":"","url":"https://api.github.com/users/stranger82","html_url":"https://github.com/stranger82","followers_url":"https://api.github.com/users/stranger82/followers","following_url":"https://api.github.com/users/stranger82/following{/other_user}","gists_url":"https://api.github.com/users/stranger82/gists{/gist_id}","starred_url":"https://api.github.com/users/stranger82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stranger82/subscriptions","organizations_url":"https://api.github.com/users/stranger82/orgs","repos_url":"https://api.github.com/users/stranger82/repos","events_url":"https://api.github.com/users/stranger82/events{/privacy}","received_events_url":"https://api.github.com/users/stranger82/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T17:50:44Z","updated_at":"2015-03-24T17:50:44Z","body":"It seems issue happens only with Ant. I didn't find easy ways to fix it, so I copied generated R.java file from vksdk_library/ant-gen to android project src directory. Then it started to work properly."}}