# Android

**URL:** https://forum.xojo.com/c/targets/android/82.md

[Latest](https://forum.xojo.com/latest.md) · [Categories](https://forum.xojo.com/categories.md)

---

## [About the Android category](https://forum.xojo.com/t/about-the-android-category/76336)

<div class="topic-metadata">

**Author:** [@Dana\_Brown](https://forum.xojo.com/u/Dana_Brown)\
**Replies:** 0

</div>

---

## [Are we there yet? Folderitem question](https://forum.xojo.com/t/are-we-there-yet-folderitem-question/89244)

<div class="topic-metadata">

**Author:** [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Replies:** 2\
**Last updated:** [November 20, 2026, 1:58pm UTC](https://forum.xojo.com/t/are-we-there-yet-folderitem-question/89244 "2026-11-20T13:58:18Z")

</div>

Every year I try to make Android do something useful. Always run into some brick wall or other. Im sure there are dozens of potential roadblocks, but I don’t find them until I try to add some aspect. Today, I just want…

---

## [Xojo 2026.3 Android Debugger fails to connect to physical Samsung phone via ADB (Works in 2026.1)](https://forum.xojo.com/t/xojo-2026-3-android-debugger-fails-to-connect-to-physical-samsung-phone-via-adb-works-in-2026-1/89123)

<div class="topic-metadata">

**Author:** [@Grant\_A](https://forum.xojo.com/u/Grant_A)\
**Replies:** 2\
**Last updated:** [November 9, 2026, 5:24pm UTC](https://forum.xojo.com/t/xojo-2026-3-android-debugger-fails-to-connect-to-physical-samsung-phone-via-adb-works-in-2026-1/89123 "2026-11-09T17:24:29Z")

</div>

Hi All, I am running Xojo 2026.3 on Windows 11 Pro (22H2/23H2 x64) alongside Android Studio Rabbit 2. (previously Panda 4) I am encountering an issue where debugging to an Android emulator works fine, but attempting to…

---

## [Android's type mismatch mistery…](https://forum.xojo.com/t/androids-type-mismatch-mistery/89010)

<div class="topic-metadata">

**Author:** [@Alexandre\_Cunha](https://forum.xojo.com/u/Alexandre_Cunha)\
**Replies:** 19\
**Last updated:** [October 18, 2026, 12:55pm UTC](https://forum.xojo.com/t/androids-type-mismatch-mistery/89010 "2026-10-18T12:55:36Z")

</div>

hi! i have a game on Desktop. it’s working. i did the job to make it work on iOS. worked just fine. i did the same on Android, but i’m stuck on this error and i don’t know what / where to fix… (Class: c\_game) type mis…

---

## [Storing and retrieving login info on Android](https://forum.xojo.com/t/storing-and-retrieving-login-info-on-android/88973)

<div class="topic-metadata">

**Author:** [@Tom\_Catchesides](https://forum.xojo.com/u/Tom_Catchesides)\
**Replies:** 2\
**Last updated:** [October 8, 2026, 11:04am UTC](https://forum.xojo.com/t/storing-and-retrieving-login-info-on-android/88973 "2026-10-08T11:04:29Z")

</div>

Am I right in thinking that Credential Manager is Android’s equivalent of Keychain on macOS and iOS? If so, has anyone created a way of storing and retrieving login info with it in Xojo? Having the UserAuthentication c…

---

## [App must target Android 15 (API level 35) or higher](https://forum.xojo.com/t/app-must-target-android-15-api-level-35-or-higher/85793)

<div class="topic-metadata">

**Author:** [@Ryan\_Hartz](https://forum.xojo.com/u/Ryan_Hartz)\
**Replies:** 12\
**Last updated:** [October 5, 2026, 4:04pm UTC](https://forum.xojo.com/t/app-must-target-android-15-api-level-35-or-higher/85793 "2026-10-05T16:04:41Z")

</div>

Hi. I just received an email from the Google Play Store with the following message. Has anyone else gotten this? Is this something that Xojo 2025 R2 will fix for us, or is this something I need to do in the app? I di…

---

## [Android app on watch?](https://forum.xojo.com/t/android-app-on-watch/88908)

<div class="topic-metadata">

**Author:** [@Fabio\_Soggia](https://forum.xojo.com/u/Fabio_Soggia)\
**Replies:** 2\
**Last updated:** [September 20, 2026, 8:11am UTC](https://forum.xojo.com/t/android-app-on-watch/88908 "2026-09-20T08:11:38Z")

</div>

From guide: Android apps Android apps run on Android devices including phones and tablets. Any experience to share about apps on Android watch? Any kind of information is useful Many thanks

---

## [xadbGUI on Mac unreliable](https://forum.xojo.com/t/xadbgui-on-mac-unreliable/88531)

<div class="topic-metadata">

**Author:** [@Boudewijn\_Krijger](https://forum.xojo.com/u/Boudewijn_Krijger)\
**Replies:** 4\
**Last updated:** [July 9, 2026, 2:44pm UTC](https://forum.xojo.com/t/xadbgui-on-mac-unreliable/88531 "2026-07-09T14:44:50Z")

</div>

I’m debugging a xojo 2026 R1.2 Android project on a Sequoia Macusing the xadbGUI bridge to a connected Android device. This works, but very unreliably; the percentage bar on the xadbGUI usually gets stuck at “Intiliazin…

---

## [Android Design Extensions 4.5 debug error](https://forum.xojo.com/t/android-design-extensions-4-5-debug-error/88186)

<div class="topic-metadata">

**Author:** [@Paul\_Budd](https://forum.xojo.com/u/Paul_Budd)\
**Replies:** 9\
**Last updated:** [July 6, 2026, 3:54pm UTC](https://forum.xojo.com/t/android-design-extensions-4-5-debug-error/88186 "2026-07-06T15:54:04Z")

</div>

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) Unr…

---

## [MobileMapViewer locks out other libraries](https://forum.xojo.com/t/mobilemapviewer-locks-out-other-libraries/88536)

<div class="topic-metadata">

**Author:** [@James\_Mullins](https://forum.xojo.com/u/James_Mullins)\
**Replies:** 0\
**Last updated:** [July 5, 2026, 11:56am UTC](https://forum.xojo.com/t/mobilemapviewer-locks-out-other-libraries/88536 "2026-07-05T11:56:39Z")

</div>

Hi all. I’ve hit a hurdle while trying to build an app that implements Google’s navigation api via a .aar Basically it seems that play-services-maps is included in every Android build even when MobileMapViewer is unuse…

---

## [Is it me or it's a nightmare to convert iOS to Android project?](https://forum.xojo.com/t/is-it-me-or-its-a-nightmare-to-convert-ios-to-android-project/88497)

<div class="topic-metadata">

**Author:** [@Etienne\_Pilon](https://forum.xojo.com/u/Etienne_Pilon)\
**Replies:** 9\
**Last updated:** [June 27, 2026, 12:44am UTC](https://forum.xojo.com/t/is-it-me-or-its-a-nightmare-to-convert-ios-to-android-project/88497 "2026-06-27T00:44:25Z")

</div>

I have a simple project that uses an ORM and a few libraries that we built, and for the past few days I’ve been redoing all the code to make it fit into an Android project. The Xojo debugger isn’t helpful at all ! I’m …

---

## [Android Compiler (Class: abstractexception) Unresolved reference 'catch'](https://forum.xojo.com/t/android-compiler-class-abstractexception-unresolved-reference-catch/88382)

<div class="topic-metadata">

**Author:** [@Etienne\_Pilon](https://forum.xojo.com/u/Etienne_Pilon)\
**Replies:** 4\
**Last updated:** [June 10, 2026, 11:34am UTC](https://forum.xojo.com/t/android-compiler-class-abstractexception-unresolved-reference-catch/88382 "2026-06-10T11:34:54Z")

</div>

Where the hell is the bug ? Xojo don’t show where is the “Unsesolved reference” …

---

## [Android screen size and IDE layout](https://forum.xojo.com/t/android-screen-size-and-ide-layout/88298)

<div class="topic-metadata">

**Author:** [@James\_Mullins](https://forum.xojo.com/u/James_Mullins)\
**Replies:** 5\
**Last updated:** [May 29, 2026, 9:16am UTC](https://forum.xojo.com/t/android-screen-size-and-ide-layout/88298 "2026-05-29T09:16:58Z")

</div>

Hi all, I’m buidling out my first Android app and so far it’s pretty smooth sailing. I am having an issue with the IDE and laying out my UI thought. My device has a screen size of 970x925 that doesn’t match the suppli…

---

## [Unresolved reference ‘unaryPlus’](https://forum.xojo.com/t/unresolved-reference-unaryplus/88245)

<div class="topic-metadata">

**Author:** [@Grant\_A](https://forum.xojo.com/u/Grant_A)\
**Replies:** 0\
**Last updated:** [May 12, 2026, 3:44pm UTC](https://forum.xojo.com/t/unresolved-reference-unaryplus/88245 "2026-05-12T15:44:12Z")

</div>

Hi everyone, I’m hitting a wall with an Android build error that recently started appearing: Android Compiler (Class: smain) Unresolved reference ‘unaryPlus’ Xojo Version: 2026 Release 1.1 History: The project was…

---

## [Unresolved reference 'raiseresult'](https://forum.xojo.com/t/unresolved-reference-raiseresult/86641)

<div class="topic-metadata">

**Author:** [@Arnaud\_N](https://forum.xojo.com/u/Arnaud_N)\
**Replies:** 6\
**Last updated:** [April 6, 2026, 1:06pm UTC](https://forum.xojo.com/t/unresolved-reference-raiseresult/86641 "2026-04-06T13:06:51Z")

</div>

Hi, While trying to debug an Android app, which I left unused for around one year, I’m getting this error: (Declares) Unresolved reference ‘raiseresult’ So I tried to comment out the declares in the project, and got a…

---

## [I will do a project on Android and iOS](https://forum.xojo.com/t/i-will-do-a-project-on-android-and-ios/87989)

<div class="topic-metadata">

**Author:** [@Jose\_Fernandez\_del\_Valle](https://forum.xojo.com/u/Jose_Fernandez_del_Valle)\
**Replies:** 14\
**Last updated:** [April 3, 2026, 10:23pm UTC](https://forum.xojo.com/t/i-will-do-a-project-on-android-and-ios/87989 "2026-04-03T22:23:00Z")

</div>

Before we begin. I’m asking the forum: how should I correctly install everything to get started and run an Android example? I’ll be waiting for your replies.

---

## [Reading text files from the Android document folder?](https://forum.xojo.com/t/reading-text-files-from-the-android-document-folder/87705)

<div class="topic-metadata">

**Author:** [@James\_Bailey](https://forum.xojo.com/u/James_Bailey)\
**Replies:** 5\
**Last updated:** [February 19, 2026, 9:27pm UTC](https://forum.xojo.com/t/reading-text-files-from-the-android-document-folder/87705 "2026-02-19T21:27:38Z")

</div>

The code I am porting to Android from iPad seems to be successfully writing text files using SpecialFolder.Documents, but I do not know how to verify this. Is there a way to open such a file inside the Android simulator. …

---

## [First app done](https://forum.xojo.com/t/first-app-done/87700)

<div class="topic-metadata">

**Author:** [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Replies:** 2\
**Last updated:** [February 15, 2026, 12:01am UTC](https://forum.xojo.com/t/first-app-done/87700 "2026-02-15T00:01:07Z")

</div>

I finally got my first app done and on the Google Play Store if anyone wants to take a look. Google requires me to have 12 testers, so feel free to join, test it out, and leave a review. I’m still trying to figure the w…

---

## [Writing & reading disk files in android](https://forum.xojo.com/t/writing-reading-disk-files-in-android/87662)

<div class="topic-metadata">

**Author:** [@James\_Bailey](https://forum.xojo.com/u/James_Bailey)\
**Replies:** 13\
**Last updated:** [February 12, 2026, 3:29pm UTC](https://forum.xojo.com/t/writing-reading-disk-files-in-android/87662 "2026-02-12T15:29:02Z")

</div>

there does not seem to be a Xojo example code to write a text file and then read it back? does anyone have such example code they could share? can the current android system do it?

---

## [Popup memu in container control](https://forum.xojo.com/t/popup-memu-in-container-control/87655)

<div class="topic-metadata">

**Author:** [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Replies:** 1\
**Last updated:** [February 8, 2026, 1:43am UTC](https://forum.xojo.com/t/popup-memu-in-container-control/87655 "2026-02-08T01:43:19Z")

</div>

I make a window with a button, popup menu, and a text field. The button reads the popup menu selected row index and puts it in the text field. Now, add a tab panel with a container control and put the text field and pop…

---

## [Android build error in windows](https://forum.xojo.com/t/android-build-error-in-windows/87585)

<div class="topic-metadata">

**Author:** [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Replies:** 1\
**Last updated:** [February 7, 2026, 4:01pm UTC](https://forum.xojo.com/t/android-build-error-in-windows/87585 "2026-02-07T16:01:40Z")

</div>

With all of the errors I am getting trying to run an android app in Xojo on Mac, I decided to try it in Windows. Now I get an error that the build folder cannot be found. The problem is that it is dynamically generated …

---

## [Debugging Android Tips for beginners](https://forum.xojo.com/t/debugging-android-tips-for-beginners/87625)

<div class="topic-metadata">

**Author:** [@Boudewijn\_Krijger](https://forum.xojo.com/u/Boudewijn_Krijger)\
**Replies:** 2\
**Last updated:** [February 3, 2026, 10:12am UTC](https://forum.xojo.com/t/debugging-android-tips-for-beginners/87625 "2026-02-03T10:12:33Z")

</div>

Working on an app that needs to run on both iOS and Android, I ran into some issues that if (like me) you are new to Android development, could be frustrating and making you doubt yourself. My app worked fine on a Samsun…

---

## [Android Studio Must Be Closed](https://forum.xojo.com/t/android-studio-must-be-closed/87563)

<div class="topic-metadata">

**Author:** [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Replies:** 8\
**Last updated:** [February 2, 2026, 12:01am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563 "2026-02-02T00:01:36Z")

</div>

Finally decided to dive into Android and it’s the most frustrating experience since I first learned Xojo 25 years ago, but I’ll start with this one. I built a simple app and tried to run it in Xojo. The emulator opens a…

---

## [Initializing Android Debugger... Forever](https://forum.xojo.com/t/initializing-android-debugger-forever/87485)

<div class="topic-metadata">

**Author:** [@Matthew\_Mills](https://forum.xojo.com/u/Matthew_Mills)\
**Replies:** 4\
**Last updated:** [January 16, 2026, 9:19pm UTC](https://forum.xojo.com/t/initializing-android-debugger-forever/87485 "2026-01-16T21:19:19Z")

</div>

I have a small app that I wrote months ago and now must adapt to a new device. The device allows for USB debugging and shows up in Android Studio as well as Xojo (2025r3). So far, so good. When I run the app I get the…

---

## [Camera permissions runtime Samsung S22](https://forum.xojo.com/t/camera-permissions-runtime-samsung-s22/87470)

<div class="topic-metadata">

**Author:** [@Boudewijn\_Krijger](https://forum.xojo.com/u/Boudewijn_Krijger)\
**Replies:** 4\
**Last updated:** [January 16, 2026, 3:23pm UTC](https://forum.xojo.com/t/camera-permissions-runtime-samsung-s22/87470 "2026-01-16T15:23:54Z")

</div>

I have an Android project that uses the camera to scan a QR code. On a Samsung A16 this works fine, on a Samsung S25 this works fine, but on a Samsung S22 it does not work and all I get is “Cannot access camera. Check Pe…

---

## [How to System.Device.BatteryState](https://forum.xojo.com/t/how-to-system-device-batterystate/87423)

<div class="topic-metadata">

**Author:** [@Thomas\_Nauck1](https://forum.xojo.com/u/Thomas_Nauck1)\
**Replies:** 6\
**Last updated:** [January 10, 2026, 7:16pm UTC](https://forum.xojo.com/t/how-to-system-device-batterystate/87423 "2026-01-10T19:16:10Z")

</div>

Hello, I am lokeng for how to handle “System.Device.BatteryState”. Any advice would be appreciated.

---

## [AES encryption on Android](https://forum.xojo.com/t/aes-encryption-on-android/87335)

<div class="topic-metadata">

**Author:** [@Gavin\_Smith](https://forum.xojo.com/u/Gavin_Smith)\
**Replies:** 2\
**Last updated:** [December 27, 2025, 8:39pm UTC](https://forum.xojo.com/t/aes-encryption-on-android/87335 "2025-12-27T20:39:01Z")

</div>

I have a fairly simple project to complete for iOS and Android, but I’m required to encrypt data locally on the device. Of all the Xojo targets, I have by far the least experience with Android, and I’m surprised to see t…

---

## [ReSizing Two-dimensional Arrays In Android. Or not](https://forum.xojo.com/t/resizing-two-dimensional-arrays-in-android-or-not/86998)

<div class="topic-metadata">

**Author:** [@James\_Bailey](https://forum.xojo.com/u/James_Bailey)\
**Replies:** 3\
**Last updated:** [December 9, 2025, 9:38pm UTC](https://forum.xojo.com/t/resizing-two-dimensional-arrays-in-android-or-not/86998 "2025-12-09T21:38:51Z")

</div>

Has anyone had success resizing a two-dimensional array in Android? When I try, I get a compiler halt with some form of unresolved reference message.

---

## [FontSize when font scaling is adjusted](https://forum.xojo.com/t/fontsize-when-font-scaling-is-adjusted/87152)

<div class="topic-metadata">

**Author:** [@Chris\_Halford](https://forum.xojo.com/u/Chris_Halford)\
**Replies:** 5\
**Last updated:** [December 5, 2025, 11:00pm UTC](https://forum.xojo.com/t/fontsize-when-font-scaling-is-adjusted/87152 "2025-12-05T23:00:42Z")

</div>

I’m trying to do a custom canvas drawing and need font size to be what I set it to, not what the system is adjusting it to. Is there a way to do this? If the user has increased the font scaling (a lot) then SystemFont(…

---

## [Speed up debugger launch](https://forum.xojo.com/t/speed-up-debugger-launch/87006)

<div class="topic-metadata">

**Author:** [@Chris\_Halford](https://forum.xojo.com/u/Chris_Halford)\
**Replies:** 1\
**Last updated:** [November 15, 2025, 2:10am UTC](https://forum.xojo.com/t/speed-up-debugger-launch/87006 "2025-11-15T02:10:58Z")

</div>

I’ve been assuming that this is common to everyone, but maybe not. Unless I set to ignore break points and to not break on exceptions, the launch time for android apps in the debugger is extremely long. Prohibitively lo…

[Next page](https://forum.xojo.com/c/targets/android/82.md?page=1)
