Author Topic: Manual start of Android Studio Emulators  (Read 1756 times)


  • Sr. Member
  • ****
  • Posts: 430
Manual start of Android Studio Emulators
« on: October 23, 2021, 02:09:27 pm »
Hi All,
Due to some problems I've had before on the subject, I created a small application for manual launching of Android Studio emulators in windows operating system, it works very well for me, let's put it here, maybe it will be useful for others.

Code: Pascal  [Select][+][-]
  1. procedure TForm1.Button1Click(Sender: TObject);
  2. var
  3.   jre_path:String='D:\Android Studio\jre\jre\bin';
  4.   emu_path:String='C:\Users\mali.aydin\AppData\Local\Android\Sdk\emulator\emulator.exe';
  5.   emu_name:String='Pixel_3a_API_29';
  6. begin
  7.   ShellExecute(Application.handle, 'open', 'cmd.exe',
  8.       PChar('/c "cd '+jre_path+' &&  '+emu_path+' -netdelay none -netspeed full -avd '+emu_name+'"  ' ), nil, SW_HIDE);
  9. end;  

Let's not forget to set the String variables according to our system. ;D
If Ide=Lazarus 2.0.10 32 Bit and Os=Win 10 Home 64 Bit then Get up and do something useful! Because God is the helper of those who start again;


TinyPortal © 2005-2018