- 博客(8)
- 收藏
- 关注
转载 Android Studio Build窗口出现中文乱码问题
Android Studio Build窗口出现中文乱码问题snowzhao210 2020-08-26 22:58:09 15 收藏 分类专栏: android 文章标签: android studio android 版权问题:Android studio使用时,报错出现提示乱码问题,无法查看具体报错问题,如图解决方法:打开Android studio 全局搜索"双击shift"搜索Edit Custom VM Options结...
2020-08-28 10:51:20
10214
2
转载 完美解决:Project needs to be converted to androidx.* dependencies
完美解决:Project needs to be converted to androidx.* dependencies週莫2019-09-06 17:03:3137980收藏30分类专栏:AS配置笔记版权Android Studio升级到3.5后,原先项目引入的是android,现在新建module时有Project needs to be converted to androidx.* dependencies,而且Finish是灰色,无法创建,现在提供两种解决方法:...
2020-07-31 10:38:55
1243
转载 忽略编译
关于android.mk中的LOCAL_OVERRIDES_PACKAGES 说明wh_199105252014-03-05 13:26:1318361收藏分类专栏:android-源码开发android技术anroid build systemMakefie版权关于android.mk中的LOCAL_OVERRIDES_PACKAGES需要说明一下,此变量可以使其他的模块不加入编译,如: 源码中DeskClock的android.mk有LOCAL_OVERRI...
2020-07-28 17:32:03
190
1
转载 Android Studio 启动 无缘故报 Error:Could not find common.jar
https://blog.youkuaiyun.com/chinaredking/article/details/80499456
2018-06-25 13:59:31
416
转载 导入不同开源库内部引用相同资源库冲突的情况
以下为举例解决方式 两个不同的JAR,里面引用了相同的其他jar,这样的问题最麻烦,没法删除,除非重新生成JAR;不过,可以在依赖里面排除相同的包,例如fresco的依赖:compile('com.facebook.fresco:fresco:0.14.1') {exclude module:'support-v4'exclude group:'com.android.support'}大括号里面...
2018-05-21 08:58:26
378
转载 软键盘交互
在做搜索功能的时候,点击搜索框,搜索框获取焦点,键盘弹出;现在问题出来了,Android软键盘弹出的时候,android整个界面上移,布局被挤压,很难看;要解决这个问题,我们需要用到 windowSoftInputMode属性;参考:http://blog.youkuaiyun.com/twoicewoo/article/details/7384398被压缩的界面:
2017-07-07 11:40:33
297
原创 getDimension
安卓中 TypedArray attributes;attributes.getDimension(R.styleable.style, height); 这个方法里面的height 是通过手机分辨率转化而来 是px值。如果在xml中传入的是dp值 系统会自动转化成对应的px值然后传入height。个人理解。
2017-07-06 11:23:24
608
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人