博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
android studio 2.0 错误记录
阅读量:6974 次
发布时间:2019-06-27

本文共 815 字,大约阅读时间需要 2 分钟。

hot3.png

android studio 2.0 默认使用

classpath 'com.android.tools.build:gradle:2.0.0-alpha3'

无法运行.改为 1.3.0 之后可以运行但是 app 不会出现在 debug 菜单中...蛋疼好几天之后发现修改项目 build.gradle 中的 jcenter 就可以使用 2.0.0 了.

// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript {    repositories {        jcenter {            url "http://jcenter.bintray.com/"        }    }    dependencies {        classpath 'com.android.tools.build:gradle:2.0.0-alpha3'        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }}allprojects {    repositories {        jcenter {            url "http://jcenter.bintray.com/"        }    }}task clean(type: Delete) {    delete rootProject.buildDir}

转载于:https://my.oschina.net/oldfeel/blog/550197

你可能感兴趣的文章
c fopen文件读写
查看>>
(转)UIColor,CGColor,CIColor三者的区别和联系
查看>>
linux基础(5)-用户及权限
查看>>
自己动手写GC
查看>>
hybris 提高订单生成效率
查看>>
通用类整理
查看>>
工作习惯沉淀
查看>>
moment.js
查看>>
安装redis
查看>>
complex query几个原则
查看>>
正则表达式(一),处理数字与数字之间的数
查看>>
JAVA之Exchanger
查看>>
Linux驱动之IIC总线
查看>>
Linux-NoSQL之MongoDB
查看>>
阿里云ECS(Ubuntu)安装Docker
查看>>
Raphael 对热区的控制
查看>>
vue组件导航栏动态添加class
查看>>
HDU(2255),KM算法,最大权匹配
查看>>
Tinkoff Challenge - Final Round (ABC)
查看>>
CentOS环境下通过YUM安装软件,搭建lnmp环境
查看>>