我是创建主题的新手,我正在运行 CM13,我正在尝试创建 CM 主题。我只是想从一个改变壁纸和锁屏图像的简单主题开始。我正在使用安卓工作室。我尝试使用 cyanogenmod 提供的模板,并尝试从头开始。两者都会运行,但无法正确安装。我似乎无法让它们显示在“设置”>“主题”下的主题选择器中。我正在为 lg g3 运行夜间服务,没有其他修改。
我的安卓清单:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.georgialways.thefluxroom">
<uses-feature android:name="org.cyanogenmod.theme" />
<meta-data android:name="org.cyanogenmod.theme.name" android:value="TheFluxRoom" />
<meta-data android:name="org.cyanogenmod.theme.author" android:value="georgialways" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
</application>
</manifest>
我的毕业典礼:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.georgialways.thefluxroom"
minSdkVersion 21
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
}
我在这里运行期间的电话目录
编辑:我找到了一个可以在手机上运行的主题,它显示在主题下,但我仍然不明白为什么来自 Gabriel 的主题会运行,但来自 Cyanogenmod 的 github 的主题不会运行(或至少出现)