java - Error after importing module Volley -
when i`ve installed module volley in android studio receive error:
error:a problem occurred configuring project ':volley'. failed find target hash string 'android-22' in: c:\users\ egen\appdata\local\android\sdk open android sdk manager
i've installed android support repository wrong here?
edit
now receive error:
error:(10, 1) problem occurred evaluating root project 'fysio5'.
could not find method compile() arguments [directory 'libs'] on org.gradle.api.internal.artifacts.dsl.dependencies.defaultdependencyhandler_decorated@79554741.
this build.gradle:
// top-level build file can add configuration options common sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.0' compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1' compile project(":volley") } } allprojects { repositories { jcenter() } }
seems, don't have android 5.1.1 (api 22) sdk installed. open android sdk manager check , install if necessary.
Comments
Post a Comment