自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 日常病药品(咳嗽)

2018.5.30:今天咳嗽,去药店买了一瓶枇杷膏,150ml,42元,同事说我多花钱了,同时给我推荐两款枇杷膏:一个京都念慈菴蜜炼川贝枇杷膏,这个一个广东同事推荐的,说他们从小就用这个,效果很好。一个是京果法半夏枇杷膏。...

2018-05-30 10:30:23 226

原创 Android Studio: URI is not registered(Settings | Languages & Frameworks | Schemas and DTDs)

Android Studio: 拷贝以及修改一些文件时,出现一些问题:解决方案:clean project

2018-05-10 15:23:41 1994 3

原创 为AndroidStudio设置新建类头部注释

想要得到如下效果:一、添加一个live模版二、设置模版的定制内容。两个$中间是需要变动的内容三、设置显示的范围。选中Declaration即可四、为定制的内容设置默认值。date()软件自带有,默认值就是获取当前日期五、完成,效果如下...

2018-05-09 17:33:12 1988

原创 Rendering Problems Couldn't resolve resource @dimen/y20

Rendering Problems  Couldn't resolve resource @dimen/y20 (2 similar errors not shown)  "@dimen/y20" in attribute "textSize" is not a valid format. (Edit)   Tip: Try to refresh the layout.项目里拷贝了鸿杨大神的...

2018-05-09 16:14:27 813 1

原创 Failed to resolve:com.android.support:appcompat-v7:报错处理

今天新建了一个项目,报出以上错误,特此记录。以下为报错内容:Error: Failed to resolve: com.android.support:appcompat-v7:27.+Install Repository and sync projectShow in FileShow in Project Structure dialog一、原因分析:这其实是编译工具冲突...

2018-05-09 11:37:01 2151

原创 activity结束时(finish)用代码让软键盘隐藏(如果软键盘显示)

需求:界面(activity)finish消失的同时,如果软键盘显示,则让其隐藏方案一: @Override protected void onDestroy() { super.onDestroy(); InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_ME...

2018-05-05 12:09:25 2882

原创 com.android.dex.DexIndexOverflowException:(包括Android Studio3.0之前和之后解决方案)

目录AS2.2解决方案:三步一、项目目录下build.gradle 下的defaultConfig添加multiDexEnabled true二、项目目录下build.gradle 下的dependencies三、AndroidManifest.xml中添加 android:name = "android.support.multidex.MultiDexApplication"...

2018-05-04 15:27:49 297

原创 It is possible that this issue is resolved by uninstalling an existing version of the apk

perm=xx.xx.xx.permission.xxx  pkg=com.xx.xxxx.It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.WARNING: Uninstalling...

2018-05-02 14:51:32 299

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除