Android Zone

Android Studio常见问题解决方案

2018-04-11  本文已影响8人  翻译不了的声响

刚从ES转到AS开发的朋友们,在使用过程中可能会遇到很多问题,时常抱怨觉得不好用,太麻烦繁琐,编译都要很久,动不动还卡死,折腾半天也不知所措。那么下面我们就来一起看看AS使用过程中的一些问题和解决方法。

错误日志图
1. AS首次安装运行时一直卡在更新下载
2. AS创建或导入新项目卡住长时间不动
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
3. 打开AS时常提示更新

方法一:
1)点击 File —— Settings...打开设置面板
2)找到左侧菜单 Apperance & Behavior —— System Settings —— Updates
3)取消勾选 Atuomatically check updates for
4)点击 ApplyOK
方法二:
1)点击 Help —— Check for Update...
2)点击弹出框中 Updates
3)取消勾选 Atuomatically check updates for
4)点击 ApplyOK

4. 混淆报错

Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

compileSdkVersion 25  
buildToolsVersion "25.0.3"
...
-ignorewarnings
-dontwarn org.androidannotations.**
-keep class org.androidannotations.** {*;}
...
5. AS 3.0配置问题

请移驾 Android Studio 3.0正式版填坑之路

6. AS常用配置问题

请移驾 Android Studio的一些实用配置

上一篇 下一篇

猜你喜欢

热点阅读