array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } 111string(0) "" int(1) int(10) int(70) int(8640000) string(13) "likecs_art_db" array(1) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#33 (0) { } } } array(1) { ["createtime.keyword"]=> array(1) { ["order"]=> string(4) "desc" } } int(10) int(0) int(8640000) array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } ionic A problem occurred configuring root project 'android'. - 爱码网

A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.1.3-2)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.jar'.
         > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.jar'.
            > jcenter.bintray.com

ionic A problem occurred configuring root project 'android'.

ionic A problem occurred configuring root project 'android'.

出现以上报错时因为 包拉取的路径的问题 默认是谷歌的拉取地址,ionic A problem occurred configuring root project 'android'.

但现实中访问谷歌是需要翻墙的,为了不翻墙怎么办呢,

当然是改掉换成阿里云的请求地址 

ionic A problem occurred configuring root project 'android'.

解决办法:

找到项目中的platform文件夹 下的

ionic A problem occurred configuring root project 'android'.

在文件中找到需要修改的地方,改掉就可以了!

相关文章: