问题描述
于是,我跟着这个的创建一个的ListView
使用图像排球
,但我有这个问题与 com.android.volley.xxxx
在 LruBitmapCache.java
, AppController.java ,
CustomListAdapter.java
和 MainActivity.java
。它显示为未使用的import语句
及其延伸是红色的说法无法解析符号XXXX
。 Volley.jar
已交锋以程序 - >库
部分。
So, I followed this tutorial to create a ListView
with images using Volley
but I am having this issue with the com.android.volley.xxxx
import statements in LruBitmapCache.java
, AppController.java
, CustomListAdapter.java
, and MainActivity.java
. It shows as Unused import statements
and its extension are in red saying Cannot resolve symbol xxxx
. Volley.jar
is already aded to app -> libs
section.
请问AP preciate任何帮助。
Would appreciate any help.
推荐答案
我会仔细检查,以确保您的build.gradle包括:
I'd double check to make sure your build.gradle includes:
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
...
}
,并且确保你已经跑了同步。
And also make sure you've ran a sync.
这篇关于Android的工作室:进口com.android.volley.xxxx无法解析符号“XXXX”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!