android - Gradle project refresh failed compile error -


getting gradle sync error

error:project :app declares dependency configuration 'compile' configuration 'default' not declared in descriptor project :volley.

what mean? guess need add build.gradle file?

try adding following dependencies app's build.gradle :

    compile 'com.android.volley:volley:1.0.0'


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -