Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Fix assembleRelease: JPEG resources named .png, lint targetSdk error

adrbsk916565e5ca71a5
diff --git a/launcher/app/build.gradle b/launcher/app/build.gradle
index a8d516c87..ad63fe3d3 100644
--- a/launcher/app/build.gradle
+++ b/launcher/app/build.gradle
@@ -20,6 +20,12 @@ android {
}
}
+ lint {
+ // The launcher is sideloaded over ADB, never published to Google Play, so Play's minimum targetSdk
+ // does not apply; without this, lintVitalRelease fails assembleRelease.
+ disable 'ExpiredTargetSdkVersion'
+ }
+
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
diff --git a/launcher/app/src/main/res/drawable-nodpi/banner.png b/launcher/app/src/main/res/drawable-nodpi/banner.jpg
similarity index 100%
rename from launcher/app/src/main/res/drawable-nodpi/banner.png
rename to launcher/app/src/main/res/drawable-nodpi/banner.jpg
diff --git a/launcher/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/launcher/app/src/main/res/mipmap-xhdpi/ic_launcher.jpg
similarity index 100%
rename from launcher/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to launcher/app/src/main/res/mipmap-xhdpi/ic_launcher.jpg