随笔分类 -  android studio

摘要:新建工程集成, 一、工具集成(2017-4-27) 首先第一步集成retrofit retrofit 的 git 网站: https://github.com/square/retrofit 在git网站上可以看到 Gradle上即成使用 compile 'com.squareup.retrofit 阅读全文
posted @ 2017-04-27 14:39 化身程序猿 阅读(2766) 评论(0) 推荐(0)
摘要:1、在<工程根目录>\build\generated文件夹中 存在 xxx.jar 这个文件是用来做单元测试用的,但该功能目前还处于实验阶段,不想用可以关了。 去掉勾后,clean一下工程,工程大小减少了20M。以后新建的工程就没这个文件了,之前的工程clean一下也会删除该文件。每个工程减少20M 阅读全文
posted @ 2016-09-12 09:21 化身程序猿 阅读(520) 评论(0) 推荐(0)
摘要:第一次研究时间:2016/7/30,以下研究主要存在于当前最新版本的android studio上。eclipse请参考 一、头部标题取消 当前版本新建工程在 application中默认主题为 android:theme="@style/AppTheme" ,存在于res/values/style 阅读全文
posted @ 2016-07-30 17:49 化身程序猿 阅读(15902) 评论(0) 推荐(1)
摘要:本人使用的是helloChart这个开源项目,其主要用于图表,来自git 地址为:https://github.com/lecho/hellocharts-android 下载命令为 git clone https://github.com/lecho/hellocharts-android.git 阅读全文
posted @ 2016-07-19 10:59 化身程序猿 阅读(7914) 评论(0) 推荐(0)
摘要:一.错误类型: com.android.tools.fd.runtime.BootstrapApplication cannot be cast to 成功修改方式 File --> Settings--> Build,Execution,Deployment -->Instant Run > 去掉 阅读全文
posted @ 2016-07-14 10:25 化身程序猿 阅读(721) 评论(0) 推荐(0)
摘要:一:导入如百度地图等的外部类。 步骤:1.首先 将androidstudio项目显示切换到 project 状态显示项目 2.然后添加.jar文件,将所有的.jar文件放入libs文件夹内(libs文件夹就在项目文件夹下),然后在引入的.jar文件上右键然后点击 Add As Library... 阅读全文
posted @ 2016-05-23 11:55 化身程序猿 阅读(36085) 评论(0) 推荐(0)