{"action":"created","issue":{"url":"https://api.github.com/repos/3pillarlabs/socialauth-android/issues/67","repository_url":"https://api.github.com/repos/3pillarlabs/socialauth-android","labels_url":"https://api.github.com/repos/3pillarlabs/socialauth-android/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/3pillarlabs/socialauth-android/issues/67/comments","events_url":"https://api.github.com/repos/3pillarlabs/socialauth-android/issues/67/events","html_url":"https://github.com/3pillarlabs/socialauth-android/issues/67","id":107891269,"number":67,"title":"Application Crash : No package identifier when getting value for resource number 0x00000000","user":{"login":"joginder89","id":4475971,"avatar_url":"https://avatars.githubusercontent.com/u/4475971?v=3","gravatar_id":"","url":"https://api.github.com/users/joginder89","html_url":"https://github.com/joginder89","followers_url":"https://api.github.com/users/joginder89/followers","following_url":"https://api.github.com/users/joginder89/following{/other_user}","gists_url":"https://api.github.com/users/joginder89/gists{/gist_id}","starred_url":"https://api.github.com/users/joginder89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joginder89/subscriptions","organizations_url":"https://api.github.com/users/joginder89/orgs","repos_url":"https://api.github.com/users/joginder89/repos","events_url":"https://api.github.com/users/joginder89/events{/privacy}","received_events_url":"https://api.github.com/users/joginder89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Diwakar1988","id":4619792,"avatar_url":"https://avatars.githubusercontent.com/u/4619792?v=3","gravatar_id":"","url":"https://api.github.com/users/Diwakar1988","html_url":"https://github.com/Diwakar1988","followers_url":"https://api.github.com/users/Diwakar1988/followers","following_url":"https://api.github.com/users/Diwakar1988/following{/other_user}","gists_url":"https://api.github.com/users/Diwakar1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Diwakar1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diwakar1988/subscriptions","organizations_url":"https://api.github.com/users/Diwakar1988/orgs","repos_url":"https://api.github.com/users/Diwakar1988/repos","events_url":"https://api.github.com/users/Diwakar1988/events{/privacy}","received_events_url":"https://api.github.com/users/Diwakar1988/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-23T10:29:32Z","updated_at":"2016-03-31T07:40:18Z","closed_at":null,"body":"When I call adapter.authorize(SocialSharing.this, SocialAuthAdapter.Provider.TWITTER); or adapter.authorize(SocialSharing.this, SocialAuthAdapter.Provider.LINKEDIN); my application crash with error given No package identifier when getting value for resource number 0x00000000 .\r\n\r\nFull Error code is \r\n\r\nSelected provider is linkedin\r\nLoading keys and secrets from configuration\r\nLoading application configuration\r\nStarting webview for authentication\r\nLoading plugins\r\nLoading plugin :: org.brickred.socialauth.plugin.linkedin.FeedPluginImpl\r\nLoading plugin :: org.brickred.socialauth.plugin.linkedin.CareerPluginImpl\r\nDetermining URL for redirection\r\nRedirection to following URL should happen : https://api.linkedin.com/uas/oauth/authenticate?oauth_token=75--3fee83bb-2821-4a6a-a8d1-69f64c170da8&oauth_callback=http%3A%2F%2Fsocialauth.in%2Fsocialauthdemo%2FsocialAuthSuccessAction.do\r\nLoading URL : https://api.linkedin.com/uas/oauth/authenticate?oauth_token=75--3fee83bb-2821-4a6a-a8d1-69f64c170da8&oauth_callback=http%3A%2F%2Fsocialauth.in%2Fsocialauthdemo%2FsocialAuthSuccessAction.do&type=user_agent&display=touch\r\nCallback URI : http://socialauth.in/socialauthdemo/socialAuthSuccessAction.do\r\nResolution X﹕ 1200\r\nResolution Y﹕ 1824\r\nscreeninch﹕ 7\r\ndapi﹕ 320\r\nResourceType﹕ No package identifier when getting value for resource number 0x00000000\r\n\r\n\r\n\r\n\r\n\r\nandroid.content.res.Resources$NotFoundException: Resource ID #0x0\r\n            at android.content.res.Resources.getValue(Resources.java:1266)\r\n            at android.content.res.Resources.getDrawable(Resources.java:785)\r\n            at android.content.res.Resources.getDrawable(Resources.java:752)\r\n            at org.brickred.socialauth.android.SocialAuthDialog.setUpTitle(SocialAuthDialog.java:191)\r\n            at org.brickred.socialauth.android.SocialAuthDialog.onCreate(SocialAuthDialog.java:146)\r\n            at android.app.Dialog.dispatchOnCreate(Dialog.java:373)\r\n            at android.app.Dialog.show(Dialog.java:274)\r\n            at org.brickred.socialauth.android.SocialAuthAdapter$4$1.run(SocialAuthAdapter.java:649)\r\n            at android.os.Handler.handleCallback(Handler.java:739)\r\n            at android.os.Handler.dispatchMessage(Handler.java:95)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5254)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)\r\n\r\nThere is an method setUpTitle() in SocialAuthDialog class and line \r\nthis.icon = this.getContext().getResources().getDrawable(res); \r\nhave problem."},"comment":{"url":"https://api.github.com/repos/3pillarlabs/socialauth-android/issues/comments/203800943","html_url":"https://github.com/3pillarlabs/socialauth-android/issues/67#issuecomment-203800943","issue_url":"https://api.github.com/repos/3pillarlabs/socialauth-android/issues/67","id":203800943,"user":{"login":"Diwakar1988","id":4619792,"avatar_url":"https://avatars.githubusercontent.com/u/4619792?v=3","gravatar_id":"","url":"https://api.github.com/users/Diwakar1988","html_url":"https://github.com/Diwakar1988","followers_url":"https://api.github.com/users/Diwakar1988/followers","following_url":"https://api.github.com/users/Diwakar1988/following{/other_user}","gists_url":"https://api.github.com/users/Diwakar1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Diwakar1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diwakar1988/subscriptions","organizations_url":"https://api.github.com/users/Diwakar1988/orgs","repos_url":"https://api.github.com/users/Diwakar1988/repos","events_url":"https://api.github.com/users/Diwakar1988/events{/privacy}","received_events_url":"https://api.github.com/users/Diwakar1988/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T07:40:18Z","updated_at":"2016-03-31T07:40:18Z","body":"Looks like you are not having provider name icon in drawable folder, in this case you are using twitter/linkedin provider and system didn't find any twitter/linkedin drawable while trying to create SocialAuthDialog.\r\nPlease refer to any sample project for more understanding. Each sample is having all provider icons they are going to use."}}