{"action":"created","issue":{"url":"https://api.github.com/repos/wequick/Small/issues/153","repository_url":"https://api.github.com/repos/wequick/Small","labels_url":"https://api.github.com/repos/wequick/Small/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/wequick/Small/issues/153/comments","events_url":"https://api.github.com/repos/wequick/Small/issues/153/events","html_url":"https://github.com/wequick/Small/issues/153","id":155678175,"number":153,"title":"unspecified on project app resolves to an APK archive which is not supported as a compilation dependency","user":{"login":"lihuapinghust","id":2409888,"avatar_url":"https://avatars.githubusercontent.com/u/2409888?v=3","gravatar_id":"","url":"https://api.github.com/users/lihuapinghust","html_url":"https://github.com/lihuapinghust","followers_url":"https://api.github.com/users/lihuapinghust/followers","following_url":"https://api.github.com/users/lihuapinghust/following{/other_user}","gists_url":"https://api.github.com/users/lihuapinghust/gists{/gist_id}","starred_url":"https://api.github.com/users/lihuapinghust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihuapinghust/subscriptions","organizations_url":"https://api.github.com/users/lihuapinghust/orgs","repos_url":"https://api.github.com/users/lihuapinghust/repos","events_url":"https://api.github.com/users/lihuapinghust/events{/privacy}","received_events_url":"https://api.github.com/users/lihuapinghust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-19T08:15:36Z","updated_at":"2016-05-19T09:16:21Z","closed_at":null,"body":"我的工程有三个module\r\napp(宿主) app.main lib.ui \r\n\r\napp依赖于lib.ui，app.main依赖于lib.ui\r\n在执行./gradlew buildLib -q的时候出现了以下错误\r\nbogon:mysmall lihuaping$ ./gradlew buildLib -q --stacktrace\r\n[Small] building library 1 of 2 - app (0x7f)\r\n[Small] building library 2 of 2 - lib.ui (0x31)\r\n        [lib.ui] split aar classes...                                   [  OK  ]\r\nDependency mysmall:lib.ui:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: /Users/lihuaping/Documents/JD/Small/Android/mysmall/app/smallLibs/armeabi/libcom_example_mysmall_lib_ui.so\r\nDependency mysmall:lib.ui:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: /Users/lihuaping/Documents/JD/Small/Android/mysmall/app/smallLibs/armeabi/libcom_example_mysmall_lib_ui.so\r\n\r\n原因是：宿主不能依赖lib module，\r\n去掉app对lib.ui的依赖就行了"},"comment":{"url":"https://api.github.com/repos/wequick/Small/issues/comments/220270661","html_url":"https://github.com/wequick/Small/issues/153#issuecomment-220270661","issue_url":"https://api.github.com/repos/wequick/Small/issues/153","id":220270661,"user":{"login":"galenlin","id":5291591,"avatar_url":"https://avatars.githubusercontent.com/u/5291591?v=3","gravatar_id":"","url":"https://api.github.com/users/galenlin","html_url":"https://github.com/galenlin","followers_url":"https://api.github.com/users/galenlin/followers","following_url":"https://api.github.com/users/galenlin/following{/other_user}","gists_url":"https://api.github.com/users/galenlin/gists{/gist_id}","starred_url":"https://api.github.com/users/galenlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galenlin/subscriptions","organizations_url":"https://api.github.com/users/galenlin/orgs","repos_url":"https://api.github.com/users/galenlin/repos","events_url":"https://api.github.com/users/galenlin/events{/privacy}","received_events_url":"https://api.github.com/users/galenlin/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T09:16:21Z","updated_at":"2016-05-19T09:16:21Z","body":"👍 "}}