Android 在Volley中找不到符号类newRequestQueue

Android 在Volley中找不到符号类newRequestQueue,android,android-volley,Android,Android Volley,我得到这个错误 Error:(42, 38) error: cannot find symbol class newRequestQueue Error:Execution failed for task ':app:compileDebugJavaWithJavac'. Compilation failed; see the compiler error output for details. 在线: RequestQueue queue=new Volley.newRequestQueue

我得到这个错误

Error:(42, 38) error: cannot find symbol class newRequestQueue
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
在线:

RequestQueue queue=new Volley.newRequestQueue(this);

发现了问题<代码>新建不应出现在最后一行中

RequestQueue queue = Volley.newRequestQueue(this);

发现了问题<代码>新建不应出现在最后一行中

RequestQueue queue = Volley.newRequestQueue(this);

这并不能回答这个问题。若要评论或要求作者澄清,请在其帖子下方留下评论-您可以随时对自己的帖子发表评论,一旦您有足够的评论,您就可以发表评论。-@ArthurKorchagin这怎么不能提供答案?比较答案中的行和问题-需要删除的
新的
。这不是我们应该从评论中删除的内容。这并不能回答这个问题。若要评论或要求作者澄清,请在其帖子下方留下评论-您可以随时对自己的帖子发表评论,一旦您有足够的评论,您就可以发表评论。-@ArthurKorchagin这怎么不能提供答案?比较答案中的行和问题-需要删除的
新的
。这不是我们应该从评论中删除的内容。