"No toolchains found in the NDK toolchains folder for ABI" "NDK does not contain any platforms”

这个一般是旧工程在新 android studio 中打开 "No toolchains found in the NDK toolchains folder for ABI" 需要安装ndk file -> settings -> android sdk -&...

error: expansion of date or time macro is not reproducible

在对应的 Makefile 中增加: EXTRA_CFLAGS +=-Wno-date-time EXTRA_CFLAGS +=-Wno-error=date-time 参考: https://blog.csdn.net/mike8825/article/details/52057637

qcom android kernel config 选择

android 生成的 kernel config 在 out/target/product/msm8937_32/obj/KERNEL_OBJ/.config 。要想找出到底哪个 config 决定了最后的 config,我们可以选择 CONFIG_TOUCHSCREEN_FT5X06=y ...

[转] MSM8909中LK阶段LCM屏适配与显示流程分析(一)

转自: https://www.cnblogs.com/Cqlismy/p/12019317.html

[转] Android 开发之 ---- bootloader (LK)

转自: https://blog.csdn.net/jmq_0000/article/details/7378348

android ui 记录

颜色代码 encycolorpedia https://encycolorpedia.cn RapidTables https://www.rapidtables.org/zh-CN/web/color/index.html 让 layout 靠底部 这个 layout 的上层需要是 ...

android 去除标题栏

去除标题栏有两种方法: 直接在 MainActivity 中的 onCreate 里面增加 ActionBar actionBar = getSupportActionBar(); if (actionBar != null) { actionBar.hide();...

android 第一行代码 阅读记录

activity 基本用法 AndroidManifest.xml文件中,android:label决定了 app 的名称 menu intent 隐式 intent 注意 category 和 action 的名称都要匹配, category 在 xml 文件中可以是多个。 隐式 in...

[转] Android Studio快捷键生成TAG、Log.x日志输出

转自: https://blog.csdn.net/qq_28193019/article/details/91050915 生成TAG logt+Tab键: private static final String TAG = "Extract"; 生成Log.d() logd+Tab键:...

aosp hal 学习

当系统中缺少某个特定版本的 libc 的时候,可以在编译的时候,添加 -nostdlib 选项,并在后面附上指定的库即可。类似于 arm-linux-gcc -fPIC -shared hardcontrol.c -o libhardcontrol.so -I /usr/lib/jvm/jav...