{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/1945","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/1945/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/1945/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/1945/events","html_url":"https://github.com/bumptech/glide/issues/1945","id":229937591,"number":1945,"title":"cannot resolve symbol 'GlideApp' (GlideApp was not generated)","user":{"login":"sonzerolee","id":26169198,"avatar_url":"https://avatars2.githubusercontent.com/u/26169198?v=4","gravatar_id":"","url":"https://api.github.com/users/sonzerolee","html_url":"https://github.com/sonzerolee","followers_url":"https://api.github.com/users/sonzerolee/followers","following_url":"https://api.github.com/users/sonzerolee/following{/other_user}","gists_url":"https://api.github.com/users/sonzerolee/gists{/gist_id}","starred_url":"https://api.github.com/users/sonzerolee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonzerolee/subscriptions","organizations_url":"https://api.github.com/users/sonzerolee/orgs","repos_url":"https://api.github.com/users/sonzerolee/repos","events_url":"https://api.github.com/users/sonzerolee/events{/privacy}","received_events_url":"https://api.github.com/users/sonzerolee/received_events","type":"User","site_admin":false},"labels":[{"id":46953957,"url":"https://api.github.com/repos/bumptech/glide/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-05-19T10:40:04Z","updated_at":"2017-10-25T11:52:42Z","closed_at":"2017-05-20T00:45:53Z","author_association":"NONE","body":"I'm using 4.0.0-RC0, I added it by Gradle:\r\n\r\n> repositories {\r\n　mavenCentral() // jcenter() works as well because it pulls from Maven Central\r\n}\r\ndependencies {\r\n　compile 'com.android.support:appcompat-v7:25.3.1'\r\n　compile 'com.github.bumptech.glide:glide:4.0.0-RC0'\r\n　compile 'com.android.support:support-v4:25.3.1'\r\n　annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC0'\r\n}\r\n\r\nI followed the here: [https://github.com/bumptech/glide/tree/master/samples/svg/src/main/java/com/bumptech/glide/samples/svg](https://github.com/bumptech/glide/tree/master/samples/svg/src/main/java/com/bumptech/glide/samples/svg)\r\nBut when i try load SVG file to ImageView, i get error message: cannot resolve symbol 'GlideApp'\r\nI think GlideApp class was not generated.\r\nMy source:\r\n\r\n> package com.example.quangson.glidesvg;\r\nimport android.graphics.Color;\r\nimport android.graphics.drawable.Drawable;\r\nimport android.support.v7.app.AppCompatActivity;\r\nimport android.os.Bundle;\r\nimport static com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions.withCrossFade;\r\nimport android.graphics.drawable.PictureDrawable;\r\nimport android.net.Uri;\r\nimport android.util.Log;\r\nimport android.view.View;\r\nimport android.view.ViewGroup;\r\nimport android.widget.ImageView;\r\nimport android.widget.LinearLayout;\r\nimport android.widget.TextView;\r\nimport com.bumptech.glide.RequestBuilder;\r\nimport com.caverock.androidsvg.SVGImageView;\r\nimport com.example.quangson.glidesvg.glide.SvgSoftwareLayerSetter;\r\npublic class MainActivity extends AppCompatActivity {\r\n　private static final String TAG = \"SVGActivity\";\r\n　private ImageView imageViewRes;\r\n　private ImageView imageViewNet;\r\n　private RequestBuilder<PictureDrawable> requestBuilder;\r\n　@Override\r\n　protected void onCreate(Bundle savedInstanceState) {\r\n　　super.onCreate(savedInstanceState);\r\n　　setContentView(R.layout.activity_main);\r\n　　imageViewRes = (ImageView) findViewById(R.id.svg_image_view1);\r\n　　imageViewNet = (ImageView) findViewById(R.id.svg_image_view2);\r\n　　requestBuilder = GlideApp.with(this)\r\n　　　　.as(PictureDrawable.class)\r\n　　　　.placeholder(R.drawable.image_loading)\r\n　　　　.error(R.drawable.image_error)\r\n　　　　.transition(withCrossFade())\r\n　　　　.listener(new SvgSoftwareLayerSetter());\r\n　　Uri uri = Uri.parse(\"http://www.clker.com/cliparts/u/Z/2/b/a/6/android-toy-h.svg\");\r\n　　requestBuilder.load(uri).into(imageViewNet);\r\n　}\r\n}\r\n\r\nHow to generate GlideApp class?\r\nPlease help\r\n"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/339305045","html_url":"https://github.com/bumptech/glide/issues/1945#issuecomment-339305045","issue_url":"https://api.github.com/repos/bumptech/glide/issues/1945","id":339305045,"user":{"login":"lbx2015","id":16284638,"avatar_url":"https://avatars2.githubusercontent.com/u/16284638?v=4","gravatar_id":"","url":"https://api.github.com/users/lbx2015","html_url":"https://github.com/lbx2015","followers_url":"https://api.github.com/users/lbx2015/followers","following_url":"https://api.github.com/users/lbx2015/following{/other_user}","gists_url":"https://api.github.com/users/lbx2015/gists{/gist_id}","starred_url":"https://api.github.com/users/lbx2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbx2015/subscriptions","organizations_url":"https://api.github.com/users/lbx2015/orgs","repos_url":"https://api.github.com/users/lbx2015/repos","events_url":"https://api.github.com/users/lbx2015/events{/privacy}","received_events_url":"https://api.github.com/users/lbx2015/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T11:52:42Z","updated_at":"2017-10-25T11:52:42Z","author_association":"NONE","body":"I solved by click Build->ReBuild Project. I don't know what to say this issue follow me several days. \r\nCould you add these step in the document please, for we all use android studio 2.3.3 for the moment. It worth to do this step description."}}
{"actor":{"display_login":"lbx2015"}}