{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/1450","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/1450/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/1450/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/1450/events","html_url":"https://github.com/bumptech/glide/issues/1450","id":175178326,"number":1450,"title":"Qustion) Android Add glideLibrary to my project. Why should I get an error?","user":{"login":"man2845","id":21092303,"avatar_url":"https://avatars.githubusercontent.com/u/21092303?v=3","gravatar_id":"","url":"https://api.github.com/users/man2845","html_url":"https://github.com/man2845","followers_url":"https://api.github.com/users/man2845/followers","following_url":"https://api.github.com/users/man2845/following{/other_user}","gists_url":"https://api.github.com/users/man2845/gists{/gist_id}","starred_url":"https://api.github.com/users/man2845/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/man2845/subscriptions","organizations_url":"https://api.github.com/users/man2845/orgs","repos_url":"https://api.github.com/users/man2845/repos","events_url":"https://api.github.com/users/man2845/events{/privacy}","received_events_url":"https://api.github.com/users/man2845/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T07:29:23Z","updated_at":"2016-09-06T08:05:15Z","closed_at":null,"body":"I want Add glide Library to my project so I added the code. The first project succeeded in applying. but, next project Android has displayed an error text. and not create the support-v4 file. Even though the same version! I tried changing the version to continue. But it was unsuccessful. Why this message is being output? How can I use the glide library?\r\n\r\nps. code apply plugin: 'org.robolectric' is in gif_decoder\\bulid.gradle.\r\n\r\n**Code**\r\n\r\n```gradle\r\napply plugin: 'com.android.application'\r\nandroid {\r\n    compileSdkVersion 24\r\n    buildToolsVersion \"24.0.2\"\r\n\r\n    defaultConfig {\r\n        applicationId \"com.abcd.abcd.abcd\"\r\n        minSdkVersion 10\r\n        targetSdkVersion 24\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n    }\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n    compileOptions.encoding = 'UTF-8'\r\n\r\n    repositories {  //this\r\n        mavenCentral() // jcenter() works as well because it pulls from Maven Central\r\n    }\r\n\r\n    dependencies {  \r\n        compile fileTree(dir: 'libs', include: ['*.jar'])\r\n        testCompile 'junit:junit:4.12'\r\n        compile 'com.github.bumptech.glide:glide:3.7.0'  //this\r\n        compile 'com.android.support:support-v4:24.2.0'  //this\r\n    }\r\n}\r\n```\r\n\r\n**Error text**\r\n```\r\nError:(2, 0) Plugin with id 'org.robolectric' not found.\r\n\r\nError:(2, 1) A problem occurred evaluating project ':third_party:gif_decoder'.\r\n> Plugin with id 'org.robolectric' not found.\r\n```\r\nand\r\n```\r\nError:(5, 0) Could not get unknown property 'SUPPORT_V4_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.\r\n```"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/244878702","html_url":"https://github.com/bumptech/glide/issues/1450#issuecomment-244878702","issue_url":"https://api.github.com/repos/bumptech/glide/issues/1450","id":244878702,"user":{"login":"TWiStErRob","id":2906988,"avatar_url":"https://avatars.githubusercontent.com/u/2906988?v=3","gravatar_id":"","url":"https://api.github.com/users/TWiStErRob","html_url":"https://github.com/TWiStErRob","followers_url":"https://api.github.com/users/TWiStErRob/followers","following_url":"https://api.github.com/users/TWiStErRob/following{/other_user}","gists_url":"https://api.github.com/users/TWiStErRob/gists{/gist_id}","starred_url":"https://api.github.com/users/TWiStErRob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TWiStErRob/subscriptions","organizations_url":"https://api.github.com/users/TWiStErRob/orgs","repos_url":"https://api.github.com/users/TWiStErRob/repos","events_url":"https://api.github.com/users/TWiStErRob/events{/privacy}","received_events_url":"https://api.github.com/users/TWiStErRob/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T08:05:15Z","updated_at":"2016-09-06T08:05:15Z","body":"What's in your `libs` folder? You don't need the sources/custom compiled version to use Glide, just that single `compile ...` line. Even if you're using one of the samples in this repository, copy them to a separate independent folder and remove dependencies on Glide source code.\r\n\r\nTip: Runnig gradle from command line: `gradlew --stacktrace` outputs the exact file location of the error."}}
{"actor":{"display_login":"TWiStErRob"}}