FreeDelphiPascal 25 Posted March 2 (edited) All tutorials for Delphi 10.4 show how to create an emulator using a GUI program called sdk manager.exe / avd manager.exe. Under Delphi 11 (SDK-2525-22.0.48361) that program is not there anymore. Related links: Not about emulators: About Emulators, for Delphi, but for Delphi 10.4: Not about Delphi. Recommends installing Android Studio, but I am afraid that it will screw up my current SDK which was difficult to setup: Official documentation (obsolete). Cannot find its D11 equivalent: https://www.embarcadero.com/starthere/xe7/mobdevsetup/android/en/creating_an_android_emulator.html Edited March 2 by FreeDelphiPascal 1 Share this post Link to post
Dave Nottage 611 Posted March 2 Just now, FreeDelphiPascal said: Under Delphi 11 (SDK-2525-22.0.48361) that program is not there anymore. Those executables have been removed from the SDK - now you need to use either the command line tool, or install Android Studio and use the Virtual Device Manager. Note that running emulators on Windows can be horrendously slow. You're way better off using a real device. 1 Share this post Link to post
FreeDelphiPascal 25 Posted March 2 (edited) Just now, Dave Nottage said: Note that running emulators on Windows can be horrendously slow. You're way better off using a real device. I have a AMD Ryzen (I'm an AMD fan since 1995) at 4.7GHz. Do you think it is still too slow? Edited March 2 by FreeDelphiPascal Share this post Link to post
ToddFrankson 9 Posted March 2 5 hours ago, FreeDelphiPascal said: I have a AMD Ryzen (I'm an AMD fan since 1995) at 4.7GHz. Do you think it is still too slow? Yup 1 Share this post Link to post
Dave Nottage 611 Posted March 2 9 hours ago, FreeDelphiPascal said: Do you think it is still too slow? Most likely. The only bearable way I have found of using an Android emulator is to have a Mac with a silicon chip (e.g. M1, M2 etc), and run Arm64 emulators on it. Delphi can communicate with them using the relevant adb commands, along with a secure shell client such as PuTTY, all of which I describe in this video. 3 Share this post Link to post
Squall_FF8 1 Posted March 5 How about using a good Android emulator, like Nox or Mumu? Lately I use Mumu to play games and works sometimes better then on real device (Razor Phone 2) Share this post Link to post
Tang 1 Posted Friday at 10:06 AM On 3/2/2025 at 9:16 AM, Dave Nottage said: Those executables have been removed from the SDK - now you need to use either the command line tool, or install Android Studio and use the Virtual Device Manager. Note that running emulators on Windows can be horrendously slow. You're way better off using a real device. I have installed Android studio and get the emulator running. How to get the Delphi linked to it? With the real device, the problem is I cannot run in debug mode. Cannot trace the code. Don't know where the problem is . Anyone has any idea? thanks Share this post Link to post
Dave Nottage 611 Posted Sunday at 10:07 PM On 5/9/2025 at 7:36 PM, Tang said: How to get the Delphi linked to it? If the emulator is running on the same machine as Delphi, it should appear in the list under the Target node, which is under the Android platform nodes in Project Manager in Delphi. On 5/9/2025 at 7:36 PM, Tang said: the problem is I cannot run in debug mode What is the actual issue you are having? Share this post Link to post
Tang 1 Posted 5 hours ago When I debug the android app, after pressing F9, it cannot run in debug mode. Don't know where the bug is in the app. Share this post Link to post
Dave Nottage 611 Posted 5 hours ago 18 minutes ago, Tang said: When I debug the android app, after pressing F9, it cannot run in debug mode It does not enter debug mode at all, or it does not stop at breakpoints? Does the app crash perhaps, before the debugger has a chance to attach to the process? 19 minutes ago, Tang said: Don't know where the bug is in the app. How does the bug manifest itself? i.e. are there any error messages? Does the app start? Share this post Link to post