If you have recently installed Xojo or have invalidated the cache, you may be seeing this error when you try to run/build any Android project:
Unable to download Material Icon dependency required for building. Perhaps it is offline or there is an Internet connectivity problem. Please try again later.
We use an external dependency for the Material Icons that are used by Picture.SystemImage(). Although we knew the server responsible for that dependency (jcenter) was deprecated, we were unaware it was schedule to go offline on August 15th.
Since the dependency cannot be downloaded from that server, you’ll get a compile error. However, if you happened to use Xojo for Android before August 15th, it’s likely that this dependency is cached on your system so things will continue working.
If you’ve been impacted by this, please accept my apologies. This was entirely our (mostly my) fault and should have been caught sooner.
Workaround
We have identified an alternative server that can distribute the dependency, but it does require changes to some of the Android app’s configuration files.
This is fixed for 2024r3, of course, but in the meantime you can follow these steps to workaround this issue:
- Start Xojo if it is not running.
- Quit Xojo.
- On Windows/Linux, copy AndroidTemplate.zip to the Xojo Resources/Frameworks/Android in the Xojo folder. Do not unzip it. This will replace the file that is already there.
- On macOS, right-click on Xojo.app and select Show Package Contents. Copy AndroidTemplate.zip to Contents/Resources/Frameworks/Android. Do not unzip it. This will replace the file that is already there.
- Start Xojo and do a test run of an Android project.
Again, sorry for any trouble this has caused you.
5 posts - 2 participants