volleyでJSONの処理したい時に、以下のような記述で動作していたアプリがAndroidStudioでタイトルのようなエラーを出すようになりました。 String api_url = "http://test.com"; JsonObjectRequest jsonRequest = new JsonObjectRequest(Request.Method.GET,api_url,null, new Response.Listener<JSONObject>() { @Override public void onResponse(JSONObject jsonObject) { // 処理 } }, new Response.ErrorListener(){ @Override public void onErrorResponse(VolleyError error){ // }
![エラー: JsonObjectRequestの参照はあいまいです。 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/83277060cc6bfb013df192d9aa4b12d22200c38f/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZoPTMzNiZ0eHQ9JUUzJTgyJUE4JUUzJTgzJUE5JUUzJTgzJUJDJTNBJTIwSnNvbk9iamVjdFJlcXVlc3QlRTMlODElQUUlRTUlOEYlODIlRTclODUlQTclRTMlODElQUYlRTMlODElODIlRTMlODElODQlRTMlODElQkUlRTMlODElODQlRTMlODElQTclRTMlODElOTklRTMlODAlODImdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT01NiZ0eHQtY2xpcD1lbGxpcHNpcyZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPWE5NjM4ZmYxZGU0YTIxMzg3OWE2OWQ5MDk5YjczN2Yx%26mark-x%3D142%26mark-y%3D112%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQwTWFzYW5vcmlZT05PJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz1hM2M2Yzg2MTFlNTQ1ODg1OTEzMDU1N2U4MmI5NjhiOA%26blend-x%3D142%26blend-y%3D491%26blend-mode%3Dnormal%26s%3Dc5f67d85be894662e8403199d9da2263)