[IDE Main Menu]
Project > Options*
[Options window]
Building > Delphi Compiler
Search path (Add) -> C:\Program Files (x86)\Embarcadero\Studio\22.0\source\ToolsAPI
Packages > Runtime Packages
Link with runtime package -> true
Runtime packages (Add) -> designide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Call from Delphi/RAD Studio IDE with the following parameters | |
REM $PATH($EXENAME) $NAMEONLY($PROJECT) | |
echo ============================================================= | |
echo Be sure you Compile Android 64 and Deploy [Shift-Ctrl-Alt-F9] | |
echo. | |
echo Also set <application android:resizeableActivity="true"> in AndroidManifest.template.xml | |
echo ============================================================= | |
echo Path: %1 | |
set apk=%2\bin\%2.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Emulator (host) | |
>netsh interface portproxy add v4tov4 listenport=6000 listenaddr=192.168.5.10 connectport=5555 connectaddress=127.0.0.1 | |
>netsh advfirewall firewall add rule name="Open Port 6000" dir=in action=allow protocol=TCP localport=6000 | |
192.168.5.10 is the host ip (LAN) | |
6000 is some random port you want to use | |
Run the emulator wait it load then: | |
Client | |
>adb connect 192.168.5.10:6000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Android 13 (api 33) to Delphi 11.3 (tested on CE): | |
Tools > Options | |
Deployment > SDK Manager | |
SDK base path -> open that path then go "cmdline-tools\latest\bin" | |
open command prompt (admin just in case) then run | |
"sdkmanager cmdline-tools;latest" this will create another dir named "latest-2" when done rename "latest" in "latest-back" or delete it and rename "latest-2" in "latest" | |
btw i tried "--update" but it didnt update. | |
"sdkmanager --list_installed" | |
with delphi 11.3 CE i had "build-tools;32.0.0" "platform-tools" (35.0.1) "platforms:android-32" | |
"sdkmanager platforms;android-33" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://community.spiceworks.com/topic/2288371-hyper-v-vhdx-fragmentation | |
tl;dr; | |
mount-vhd "D:\VMNAME\Virtual Hard Disks\DISKNAME.vhdx" | |
defrag e: /h /x | |
defrag e: /h /k /l | |
defrag e: /h /x | |
defrag e: /h /k | |
dismount-vhd "D:\VMNAME\Virtual Hard Disks\DISKNAME.vhdx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. | |
a) Download <Simple installer for GnuPG 1.4> from "https://www.gnupg.org/download/" | |
b) Be sure path is C:\Program Files (x86)\GNU\GnuPG | |
2. | |
a) Download <64-bit Git for Windows Setup.> from "https://git-scm.com/download/win" | |
b) Be sure path is C:\Program Files\Git | |
c) Set > Use Notepad as Git's default editor. | |
Open "Git Bash" then do the following: |