
android studio
SUMMER_L_L
秋水时至,百川灌河。
展开
-
Android Studio advanced configuration
本文主要内容来自 Dmytro Danylyk 在 Medium 的文章Configuring Android Studio。在此感谢!虽然使用Android Studio 有一定的时间了,但文中的某几个设置之前还真不知道,且原文在长城外,因此在翻译原文的基础上作了一些补充,若有新的发现会即时更新。当然,原文中个别技巧也谈不上高级,出于对作者的尊重,仍然全部翻译了过来,希望对大家尤其是刚接触转载 2016-04-26 02:02:20 · 672 阅读 · 0 评论 -
最强 Android Studio 使用小技巧和快捷键
写在前面本文翻译自 Android Studio Tips by Philippe Breault,一共收集了62个 Android Studio 使用小技巧和快捷键。 根据这些小技巧的使用场景,本文将这62个小技巧分为常用技巧(1 – 28)、编码技巧(29 – 49)和调试技巧(50 – 62),分成三个部分。每个小技巧都配有 gif 动图,由于原图在 google pho转载 2016-11-24 14:20:41 · 586 阅读 · 0 评论 -
解决Android Studio卡顿的问题
有时我们操作后,AS要很久才能反映过来。严重影响开发的心情,做完如下操作,会好很多: (1) Android Studio 2.0 以下: 每次升级/安装 AndroidStudio 之后最好都修改一下这个参数:到 Android Studio 安装目录,找到 bin/studio(64?).vmoptions(文件名可能因操作系统而不同,但大同小原创 2016-11-24 14:16:08 · 3645 阅读 · 0 评论 -
解决Android studio 不能使用ArrayMap
关于ArrayMap的优点,参考下面:Android内存优化:ArrayMapAndroid内存优化(使用SparseArray和ArrayMap代替HashMap)我们导入android studio 时找不到Arraymap ,只需要添加:compile 'com.android.support:support-compat:25.0.0'原创 2016-11-24 10:59:27 · 1691 阅读 · 0 评论 -
error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
Error:(33) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'. Error:(4) Error retrieving parent for item: No resource found tha原创 2016-10-31 15:27:47 · 853 阅读 · 0 评论 -
Error:Execution failed for task ':app:clean'. > Unable to delete directory: E:\Work\Testjni\app\buil
解决方法一: 进入File> Settings> Build,Execution,Deployment> Instant Run >取消选择(Enable Instant Run to hot swap code)解决方法二: 打开下面的Terminal 输入gradlew clean: 解决方法三: 关掉 Android studio ,原创 2016-10-20 09:30:54 · 2095 阅读 · 0 评论 -
Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plu
在progect 的gradle.properties文件里面添加android.useDeprecatedNdk=true即可原创 2016-10-20 11:25:04 · 853 阅读 · 0 评论 -
Android studio工具介绍
区域 1 介绍这个区域是运行和调试相关的操作。1、编译2中显示的模块 2、当前项目的模块列表 3、运行2中显示的模块 4、调试2中显示的模块5、测试2中显示的模块代码覆盖率 6、调试安卓运行的进程 7、重新运行2中显示的模块 8转载 2016-12-16 11:35:50 · 1382 阅读 · 0 评论