标签: android

21 篇文章

Android 为View分配id
简单来说,就是xml的id不允许相同,而使用代码分配的id允许相同。在查找时会使用深度优先探索,分配的id是有优先级的 资料来自:https://stackoverflow.com/questions/8460680/how-can-i-assign-an-id-to-a-view-programmatically Android id overview An Android id is an integer commonly used to identify views; this id can be assigned via XML (when possible) and via code (programmatically.) The id is most useful for getting references for XML-d…
android studio no executable code found at line
2019-07-24 from https://www.jianshu.com/p/99ac82e712d0 一个神奇的坑,android studio 里 .kt 文件无法打断点,而.java 确能正常打断点,clean,rebuild,Make Project, 删除 build,删除.idea , .gradle 等各种方法都试了还是不行,最后发现网上一帖子说可能 minifyEnabled 影响了。把 build 里的 debug 中的 minifyEnabled 设置为 false ,奇迹般的就好了。。。
Android API Level 数字和字母的区别
Android API Level 数字和字母的区别 从Android 10开始,谷歌不再使用甜品命名版本,改为Android+数字。 例如Android 10为代号,对应的字母为Q(为build ID第一个字母),对应的API Level为30,如果API Level为字母,说明这是预览版。
android可禁用组件的通用规则
android可禁用组件的通用规则 转自酷安:“IFW生成器”作者的帖子 常见可禁用的推送组件 io.rong. cn.jpush. com.umeng. com.getui. com.qq.e. com.igexin. com.alibaba.analytics. com.aliyun.ams. com.alibaba.sdk. com.taobao.accs. com.taobao.agoo. org.android.agoo. com.baidu.android.pushservice. com.bytedance.tea.crash. com.bytedance.crashtrigger. com.bytedance.sdk.openadsdk. com.bytedance.push. com.bytedance.common. c…
Android SDK 版本选择
Android 6.0 SDK 23 最后一个接受用户添加CA证书的版本 Android 9.0 SDK 28 最后一个可随意修改system分区的版本(之后的版本由于设计原因,暂时无法修改)
Android 非官方的发行版
2020 数据来源:https://en.wikipedia.org/wiki/List_of_custom_Android_distributions Name Developer Development status Last updated on Open source? Latest release Android version Year started Supported devices Notes AOKP Team Kang Active ? Yes 10(Q) 9 2011 115[1] Based on LineageOS Baidu Yi Baidu, Inc. Discontinued ? No Unknown Unknown 2011 Unknown Discontinued in March 2015 Borin…
Chrome相关开发环境配置资料
Integrated Development Environment (IDE) Set Up Guides Android Studio - Android Studio for Android builds Atom - Atom multi-platform code editor CLion - CLion IDE, supports GUI debugging. Eclipse for Android - Eclipse for Android Eclipse for Linux - Eclipse for other platforms (This guide was written for Linux, but is probably usable on Windows/MacOS as well) EMACS Notes -…