Android abiFilter 相关
为了优化apk的大小,一般会只选择支持一种ABI,可以在AS中双击apk,在lib路径下查看so文件占用大小 Android ABI概念 Application Binary Interface 官方文档 cpu
启动一个新的线程,在新线程上创建运行协程,不堵塞当前线程,返回一个Job类型的对象
|
|
按顺序写 public包含central和jcenter
maven { url ‘https://maven.aliyun.com/repository/public' }
maven { url ‘https://maven.aliyun.com/repository/google' }
maven { url ‘https://maven.aliyun.com/repositories/jcenter' }
maven{ url ‘https://maven.aliyun.com/repository/gradle-plugin'} google()
jcenter()
提交到master
git add .
git commit -s -m “message”
git push origin master
AS 插件 ADB IDEA
pm 是 packagemanager 缩写, am 是 activitymanager 缩写
Android 调试桥 (adb)
awesome-adb
adb shell dumpsys activity
当前显示的 activity ,用 findstr 或 grep 过滤
adb shell dumpsys activity | findstr “mFocusedActivity”
效果等同
adb shell “dumpsys activity | grep mFocusedActivity”
8.0以上用
adb shell dumpsys activity | findstr “mResumedActivity”