Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Merge PR #1232: addons: document Windows build commands and SDK location troubleshooting
Gathin23a5fe6f2b4502
diff --cc addons/README.mdindex c3f00031d,49e2fc21a..891ad50db--- a/addons/README.md+++ b/addons/README.md@@@ -40,6 -42,45 +42,42 @@@ TV_HOST=<tv ip> tools/venv/bin/python -TV_HOST=<tv ip> tools/venv/bin/python -I tools/tv.py 'pm install -r /data/local/tmp/addon.apk; rm -f /data/local/tmp/addon.apk'```+ **Windows (Command Prompt):**++ ```bat+ set TV_HOST=<tv ip>-set ADDONS_NAME=<name>-adb connect %TV_HOST%-cd addons\%ADDONS_NAME%++cd addons\<name>+ gradlew.bat assembleRelease+ cd ..\..-adb push addons\%ADDONS_NAME%\app\build\outputs\apk\release\app-release.apk /data/local/tmp/addon.apk-adb shell pm install /data/local/tmp/addon.apk-adb shell rm -f /data/local/tmp/addon.apk++tools\venv\Scripts\python.exe -I tools\tv.py --push addons\<name>\app\build\outputs\apk\release\app-release.apk /data/local/tmp/addon.apk++tools\venv\Scripts\python.exe -I tools\tv.py "pm install -r /data/local/tmp/addon.apk; rm -f /data/local/tmp/addon.apk"+ ```++ <details>+ <summary><b>When something goes wrong with <code>gradlew.bat assembleRelease</code></b></summary>++ If the build fails with:++ ```text+ FAILURE: Build failed with an exception.++ What went wrong:+ Could not determine the dependencies of task ':app:lintVitalReportRelease'.+ > SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at 'C:\...\addons\<name>\local.properties'.+ ```++ **Solution:**++ Create a `local.properties` file inside `addons/<name>/` pointing to your Android SDK installation path:++ ```properties-sdk.dir=C\:\\Users\\<user name>\\AppData\\Local\\Android\\Sdk++sdk.dir=C:/Users/<user name>/AppData/Local/Android/Sdk+ ```+-*(Replace `<user name>` with your actual Windows username, escaping backslashes with `\\` or using forward slashes `/`).*++*(Replace `<user name>` with your Windows user name. Use forward slashes: a backslash is an escape character in this file.)*++ </details>+## Rules- **Its own app.** One folder per add-on, `addons/<name>/`, with its own Gradle project