Migrating a Package to Delphi 11 - Delphi #197

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

It is very complicated to be installing hundreds of files manually from the delphi 11 command line, what I did was copy all the SDK and NDK with the configuration working by compiling from androd, from delphi 10.3.3, these 2 SDK and NDK folders are copied to an external hard drive and move them to the new delphi 11 folder, before I deleted the sdk and ndk installed by delphi 11, to my surprise loading the sdk and ndk from version 10.3.3 worked and I was able to compile the APKs from delphi 11, however the only disadvantage is that it can only be compiled with version 25 of API delphi and I think it's already going for version API 33, greetings, I hope someone helps you, it seems very strange to me, google doesn't want me to delphi is used and it puts a lot of obstacles, google wants them to use android studio, but for me it is very comfortable and easy to program with delphi, since I have been programming in delphi for more than 15 years,
In the next delphi 12 version, I would like them to include the sdkmanger.exe executable again since it is very difficult to install from the command line, and it does not always work

TexcalGuerrero
Автор

What is that "Start migration to Delphi 11...." popup at 8:04?

JanDoggen
Автор

es muy complicado estar instalando cientos de archivos manualmente desde la linea de comando de delphi 11, lo que hise fue copiar todos los SDK y NDK con la configuracion funcionando compilando de androd, de delphi 10.3.3, estas 2 carpetas SDK y NDK las copie a un disco duro externo y las pase a la carpeta nueva de delphi 11, antes borre las sdk y ndk instañadas por delphi 11, para mi sorpresa a cargar los sdk y ndk de la version 10.3.3 funciono y pude compilar las APK desde delphi 11, sin embargo la unica desventaja es que solo se puede compilar con la version 25 de API delphi y creo que ya va por la version API 33, saludos, espero que a aluien le sirva, se me hace, uy extraño de google no quiere que se use delphi y pones muchas trabas, google quiere que usen android studio, pero para mi es muy comodo y sencillo programar con delphi, ya que llevo mas de 15 años programando en delphi,
en la proxima version delphi 12, me gustaria que volvieran a incluir el ejecutable de sdkmanger.exe ya que es muy complicado estar instalando desde la linea de comando, y no siempre funciona,

It is very complicated to be installing hundreds of files manually from the delphi 11 command line, what I did was copy all the SDK and NDK with the configuration working by compiling from androd, from delphi 10.3.3, these 2 SDK and NDK folders are copied to an external hard drive and move them to the new delphi 11 folder, before I deleted the sdk and ndk installed by delphi 11, to my surprise loading the sdk and ndk from version 10.3.3 worked and I was able to compile the APKs from delphi 11, however the only disadvantage is that it can only be compiled with version 25 of API delphi and I think it's already going for version API 33, greetings, I hope someone helps you, it seems very strange to me, google doesn't want me to delphi is used and it puts a lot of obstacles, google wants them to use android studio, but for me it is very comfortable and easy to program with delphi, since I have been programming in delphi for more than 15 years,
In the next delphi 12 version, I would like them to include the sdkmanger.exe executable again since it is very difficult to install from the command line, and it does not always work

TexcalGuerrero
Автор

Did't know about $(ProductVersion) variable. Thanks for that. But all other - it's lot of mess. First of all - bad practice to use absolute paths, especially when you work in team. Instead of using "C:\DelphiAps\inc...", add variable something like $(DelphiComponents) and use it in paths. In this case it all will works for whole team, independently where phisicly sources was placed. Second thing - bad practice to build DCU, DCP, Hpp, etc. files directly in sources folder. Create LIB, BIN or other folder outside of sourse folder for all generated files and use it. - will works perfectly for all your projects and will keep your source folder unchanged and without any trash-files. It's only my opinion, but it's userfull for working in team with Version Control System, same configurations on every PC, using BAT files for rebuilding new versions of projects and packages etc..

freezer