Cannot seem to create new custom commands

Issue description: If I try to open:
Custom Commands - “+” for add
Add from… Media Center
Command type: Call built-in

Nothing happens and it simply closes the dialog window. I get similar issues if I try to edit any of the existing buttons. I’m fairly certain this was introduced with 10.9.5 as I coincidentally had to manually add all of my buttons when I upgraded phones about 8 weeks ago (and like a numpty never used cloud save to backup the old ones) .

Or… googling around on the class error this may be due to my android version. Just in case, that’s:
RQ2A.210505.003 android‑11.0.0_r37 Android11 2021‑05‑05

Logs:

2021-07-26 18:31:40.644 Verbose/KodiLeia: ← [257] {“id”:766,“jsonrpc”:“2.0”,“result”:{“muted”:false,“volume”:86}}
2021-07-26 18:31:40.644 Verbose/KodiLeia: ← [559] 200 OK http://192.168.1.97:8080/jsonrpc (3ms, 63-byte body)
2021-07-26 18:31:40.645 Verbose/KodiLeia: ← [559] {“id”:766,“jsonrpc”:“2.0”,“result”:{“muted”:false,“volume”:86}}
2021-07-26 18:31:41.452 Error/Dialogs: Error showing dialog
android.view.InflateException: Binary XML file line #1 in org.leetzone.android.yatsewidgetfree:layout/dialog_custom_command: Binary XML file line #1 in org.leetzone.android.yatsewidgetfree:layout/dialog_custom_command: Error inflating class x
Caused by: android.view.InflateException: Binary XML file line #1 in org.leetzone.android.yatsewidgetfree:layout/dialog_custom_command: Error inflating class x
Caused by: java.lang.ClassNotFoundException: android.view.x
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at android.view.LayoutInflater.createView(LayoutInflater.java:813)
at android.view.LayoutInflater.createView(LayoutInflater.java:774)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:911)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:68)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:928)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:948)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1002)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959)
at android.view.LayoutInflater.inflate(LayoutInflater.java:657)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at j.n.onCreate(:15)
at android.app.Dialog.dispatchOnCreate(Dialog.java:419)
at android.app.Dialog.show(Dialog.java:313)
at ud.z.g(:3)
at z7.f.h(:10)
at ee.e.onItemClick(:9)
at android.widget.AdapterView.performItemClick(AdapterView.java:330)
at android.widget.AbsListView.performItemClick(AbsListView.java:1187)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3179)
at android.widget.AbsListView.onTouchUp(AbsListView.java:4109)
at android.widget.AbsListView.onTouchEvent(AbsListView.java:3867)
at android.view.View.dispatchTouchEvent(View.java:14309)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3112)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2785)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:488)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1873)
at android.app.Dialog.dispatchTouchEvent(Dialog.java:859)
at o.p.dispatchTouchEvent(:1)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:446)
at android.view.View.dispatchPointerEvent(View.java:14568)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6022)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5825)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5316)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5373)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5339)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5491)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5347)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5548)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5320)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5373)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5339)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5347)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5320)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8086)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8037)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7998)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8209)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:220)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loop(Looper.java:183)
at android.app.ActivityThread.main(ActivityThread.java:7660)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.ClassNotFoundException: android.view.x
… 75 more

2021-07-26 18:31:42.147 Verbose/KodiLeia: → [392] POST http://192.168.1.97:8080/jsonrpc (61-byte body)
2021-07-26 18:31:42.149 Verbose/KodiLeia: → [392] {“id”:317,“jsonrpc”:“2.0”,“method”:“Player.GetActivePlayers”}
2021-07-26 18:31:42.150 Verbose/KodiLeia: → [244] POST http://192.168.1.97:8080/jsonrpc (61-byte body)
2021-07-26 18:31:42.150 Verbose/KodiLeia: → [244] {“id”:317,“jsonrpc”:“2.0”,“method”:“Player.GetActivePlayers”}

Additional information:
The log is from a single attempt to create a new custom command. Wow, those were super easy to collect and parse debugging logs. Kudos for that!

Looks like an R8 issue.

I’ll need the first line of the logs with the initialize parts.

2021-07-26 18:30:46.822 Verbose/MainInstance: initialize: redfin/redfin/30/11/Pixel 5/google/0/true/false/68/126/42
2021-07-26 18:30:46.824 Verbose/MainInstance: initialize: 10.9.5 (71108196[arm64-v8a,armeabi-v7a,armeabi]) false bcf2f4e602ff4221
2021-07-26 18:30:46.825 Verbose/NetworkManager: Network status: Init
2021-07-26 18:30:46.826 Verbose/NetworkManager: Not Wifi Only: Status[true/WIFI/false]
2021-07-26 18:30:46.830 Verbose/DynamicShortcutUtils: Update shortcuts: true / [movies, search, voice_command]
2021-07-26 18:30:46.831 Verbose/KodiLeia: Settings: [email protected] true [9090/9777/5600] (1/0/0/0)
2021-07-26 18:30:46.864 Verbose/StatusObserver: UI status changed to true from false
2021-07-26 18:30:46.865 Verbose/NetworkManager: Network status: Resume(0)
2021-07-26 18:30:46.867 Verbose/NetworkManager: Not Wifi Only: Status[true/WIFI/false]
2021-07-26 18:30:46.867 Verbose/KodiLeia: Caching http://192.168.1.97:8080/jsonrpc as http://192.168.1.97:8080/jsonrpc
2021-07-26 18:30:46.868 Verbose/KodiTCPListener: Starting TCPListener for: 192.168.1.97
2021-07-26 18:30:46.869 Verbose/KodiLeia: → [628] POST http://192.168.1.97:8080/jsonrpc (60-byte body)

Ok thanks, can’t repro on my last installed beta and not at home for a week.

But they probably already fixed that and it will work on next release.

Next Android release? Or next Yatse release? Either way works, but I’ve got 2 public releases I can jump my phone through.

Oh and regardless, thanks for the super help :slight_smile:

Next Yatse.

This error is due to R8 or appt that remove stuff that should not be removed.

1 Like

Any ETA when it will be fixed? I have the same logs while trying to edit a command

It’s fixed on beta already.