Der Updater prüft https://downloads.shiftphones.com/api/v1/otter/release/20241030 und fällt dann scheinbar beim parsen des leeren Arrays auf die Nase:
Vermutlich funktioniert das, sobald ein Update da ist (hat es ja schon mal). Ist also kein wirkliches Problem, sieht nur doof aus
Code:
11-28 18:10:54.261 4894 4894 D UpdatesActivity: Checking url: https://downloads.shiftphones.com/api/v1/otter/release/20241030
11-28 18:10:54.298 4894 4894 D UpdatesActivity: List downloaded
11-28 18:10:54.299 4894 6326 D UpdatesActivity: Adding remote updates
11-28 18:10:54.299 4894 6326 D UpdatesActivity: updates -> []
11-28 18:10:54.299 4894 6326 D UpdatesActivity: updatesOnline -> []
11-28 18:10:54.300 4894 6326 D UpdatesCheckReceiver: Cancelling pending one-shot check
11-28 18:10:54.301 4894 6326 E UpdatesActivity: Could not read json
11-28 18:10:54.301 4894 6326 E UpdatesActivity: org.json.JSONException: Value of type java.lang.String cannot be converted to JSONObject
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.json.JSON.typeMismatch(JSON.java:112)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.json.JSONObject.<init>(JSONObject.java:172)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.json.JSONObject.<init>(JSONObject.java:185)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.lineageos.updater.misc.Utils.parseJson(Utils.java:124)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.lineageos.updater.misc.Utils.checkForNewUpdates(Utils.java:186)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.lineageos.updater.UpdatesActivity.lambda$processNewJson$11(UpdatesActivity.java:444)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.lineageos.updater.UpdatesActivity.$r8$lambda$P-pN0dtPw01p94trq7TI1o5vfvc(UpdatesActivity.java:0)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at org.lineageos.updater.UpdatesActivity$$ExternalSyntheticLambda13.run(R8$$SyntheticClass:0)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
11-28 18:10:54.301 4894 6326 E UpdatesActivity: at java.lang.Thread.run(Thread.java:1012)
Vermutlich funktioniert das, sobald ein Update da ist (hat es ja schon mal). Ist also kein wirkliches Problem, sieht nur doof aus