Android Design Extensions 4.5 debug error

Taking some time to do some work in Android I decided to take a look at the design extensions created by @Martin_T . I have been unable to get very far as yet with them and have the error ‘Android Compiler (Declares) Unresolved reference ‘print’ come up when imported into my own app.

I am also unable to get the design extensions demo running with this error “Android Compiler
(Declares) Unresolved reference ‘setProgressBackgroundTintList’”.

Any ideas what I am doing wrong? I have imported the AndroidDesignExtensions folder.

I’m sure you don’t use the latest Xojo version?

Hello Martin, 2026 1.1, current version is what I am using.

You have to add androidx.print:print:1.1.0 to the Android Project Dependencies (as documented at Release Version 4.1 · XojoGermany/AndroidDesignExtensions · GitHub).

Apologies for the delay its been a busy week. The demo project contains the dependency but on running it produces this error, Android Compiler
(Declares) Unresolved reference ‘setProgressBackgroundTintList’.

This same error in my app after adding the dependancy.

Please share your project as I can’t reproduce this.

I’m also getting this error. I was getting the “unresolved reference ‘print’” before too, and adding to the configuration fixed that but now am also getting the “Android Compiler
(Declares) Unresolved reference ‘setProgressBackgroundTintList’” error when trying to build. Operating on 2026 R1.1. Have you figured this out? I assume it would be similar to the androidx.print:print:1.1.0, but I don’t know the exact syntax

Hi Ryan,

i assume you’re using the latest Android Design Extensions? Xojo 2026r1 switched the underlaying control for MobileSlider. So if you work with 2026r1 and use MobileSlider and use setProgressBackgroundTintList, then you need to update your code. The Android Design Extensions sample app has been updated. So you should find the replacement method.

I suggest to read the release notes at Releases · XojoGermany/AndroidDesignExtensions · GitHub.

1 Like

Thanks Martin! I’ll work on it tomorrow and will post back if I need more help. I’ll bet what you suggested will do the trick

1 Like