StableId
Android 固定资源id,适配aapt,aapt2
Install / Use
/learn @lauhwong/StableIdREADME
Stable-Id
固定android资源id,适配aapt和aapt2的资源编译模式。
使用
1.Maven仓库的SNAPSHOT版本,在buildscript中加入maven快照仓库,并加入classpath 依赖。
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'com.github.lauhwong:stableid:1.0.3-SNAPSHOT'
}
2.在application插件中引入stable-id插件。
apply plugin: 'com.miracles.stableid'
3.配置public.xml文件,定义固定资源id.可以在build.gradle中做一下的extension dsl配置。
stableXmlConfig{
inXmlPath file("public.xml").absolutePath
}
或者,如果不配置该选项默认选择resDir/values/public.xml。
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
