{"action":"created","issue":{"url":"https://api.github.com/repos/pubnative/pubnative-android-library/issues/1","labels_url":"https://api.github.com/repos/pubnative/pubnative-android-library/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pubnative/pubnative-android-library/issues/1/comments","events_url":"https://api.github.com/repos/pubnative/pubnative-android-library/issues/1/events","html_url":"https://github.com/pubnative/pubnative-android-library/issues/1","id":53992018,"number":1,"title":"Gradle Build Manual","user":{"login":"asimaruk","id":7113705,"avatar_url":"https://avatars.githubusercontent.com/u/7113705?v=3","gravatar_id":"","url":"https://api.github.com/users/asimaruk","html_url":"https://github.com/asimaruk","followers_url":"https://api.github.com/users/asimaruk/followers","following_url":"https://api.github.com/users/asimaruk/following{/other_user}","gists_url":"https://api.github.com/users/asimaruk/gists{/gist_id}","starred_url":"https://api.github.com/users/asimaruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimaruk/subscriptions","organizations_url":"https://api.github.com/users/asimaruk/orgs","repos_url":"https://api.github.com/users/asimaruk/repos","events_url":"https://api.github.com/users/asimaruk/events{/privacy}","received_events_url":"https://api.github.com/users/asimaruk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-11T13:39:30Z","updated_at":"2015-01-12T12:48:37Z","closed_at":null,"body":"I'm trying to include pubnative-library using gradle. When I try to build my project it throws error\r\n\r\n/home/saharuk/workspace/topface-android/libs/pubnative-android-library/pubnative-library/src/net/pubnative/library/vast/VastAd.java\r\nError:(70, 39) error: cannot find symbol class Model\r\nError:(68, 19) error: type argument Creative is not within bounds of type-variable E\r\nwhere E is a type-variable:\r\nE extends Object declared in class ArrayList\r\n\r\nhere is my gradle.build for pubnative-library\r\n\r\nbuildscript {\r\n    repositories {\r\n        mavenCentral()\r\n    }\r\n\r\n    dependencies {\r\n        classpath 'com.android.tools.build:gradle:1.0.0'\r\n    }\r\n}\r\n\r\napply plugin: 'com.android.library'\r\n\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: '*.jar')\r\n}\r\n\r\nandroid {\r\n    compileSdkVersion 17\r\n    buildToolsVersion \"21.1.1\"\r\n\r\n    defaultConfig {\r\n        minSdkVersion 10\r\n        targetSdkVersion 16\r\n    }\r\n\r\n    compileOptions {\r\n        sourceCompatibility JavaVersion.VERSION_1_7\r\n        targetCompatibility JavaVersion.VERSION_1_7\r\n    }\r\n\r\n    sourceSets {\r\n        main {\r\n            manifest.srcFile 'AndroidManifest.xml'\r\n            java.srcDirs = ['src']\r\n            res.srcDirs = ['res']\r\n        }\r\n    }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/pubnative/pubnative-android-library/issues/comments/69564949","html_url":"https://github.com/pubnative/pubnative-android-library/issues/1#issuecomment-69564949","issue_url":"https://api.github.com/repos/pubnative/pubnative-android-library/issues/1","id":69564949,"user":{"login":"yanchenko","id":783598,"avatar_url":"https://avatars.githubusercontent.com/u/783598?v=3","gravatar_id":"","url":"https://api.github.com/users/yanchenko","html_url":"https://github.com/yanchenko","followers_url":"https://api.github.com/users/yanchenko/followers","following_url":"https://api.github.com/users/yanchenko/following{/other_user}","gists_url":"https://api.github.com/users/yanchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/yanchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanchenko/subscriptions","organizations_url":"https://api.github.com/users/yanchenko/orgs","repos_url":"https://api.github.com/users/yanchenko/repos","events_url":"https://api.github.com/users/yanchenko/events{/privacy}","received_events_url":"https://api.github.com/users/yanchenko/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T12:48:37Z","updated_at":"2015-01-12T12:48:37Z","body":"Agreed. Could you please also try changing     minSdkVersion 10 to     minSdkVersion 14 and see if it helps?\r\nIf it doesn't, could you please also paste the relevant sections of you main app's build.gradle so I could reproduce the issue?\r\nThanks!"}}