Hello,
I’m using Xojo 2025.1 to build my first Android project. I followed the Android tutorial instructions and installed the latest Android Studio, create a virtual phone device and create a empty project in Android Studio to test the phone simulator is running. Everything is working so far.
Now I create the Xojo tutorial project “SimpleBrowser” in the IDE. The virtual device is detected in the build setting for Android. If I know hit Run, the progress ends up by 50% with the message “Android Compiler - Build failed with an exception”.
That’s it, nothing more or less.
In the forum, someone suggested to clear the build cache. If I try to do that, the IDE complete hangs up.
I’m working on Windows 11. I don’t think, that Xojo 2025.1 is in alpha state for the Android development, but I’m very confused, that the first app in the tutorial fails to run at all.
What’s going wrong here? Is there any place I can find a log file to get further information what’s going wrong?
Thank you for your help!
Can you share your Sample Project please?
If you clear the cache, it takes some time to download the Android Dependencies in the background. At my place it was around 10 minutes, so the IDE looks like hanging, but she doesn’t. Patience.
SimpleBrowser.zip (4.0 KB)
It’s the App from the Xojo Android tutorial.
Thank you for the tip with the cache. I will try it out.
Your project runs fine here.
Try to restart your Xojo IDE / PC.
You should be discussing this on the prerelease channel. It may be something new that needs to get fixed right away.
Edit:Doh! I thought this was a beta bug. Sorrry for the noise.
That was the trick Martin. I had to restart the PC. Now the code ist compiled and I see the app in the emulator.
Thank you for the fast response!!
1 Like