valdiralbertod@gmail.com 0 Posted Thursday at 10:40 PM Boa noite, Ao tentar compilar (F9) um aplicação em Delphi 10.4 (Firemnokey para Android) para application store gerando arquivo .aab, estamos tendo o seguinte erro: [PAClient Error] Error: E6404 Could not find program, 'C:\bin\java.exe' Esse arquivo realmente não existe, mas não tem nada na documentação sobre ele. No build não dá nenhum erro, mas quando vai gerar o .aab final, dá esse erro. Se gerar o .apk, ou seja, desmarcando a opção do .aab, aí ele gera o apk sem problemas. Mas a Play Store não aceita mais .apk, somente .aab. O SDK, NDK e java estão todos configurados corretamento no projeto. Alguma sugestão do que pode ser e como corrigir esse erro? Obrigado Share this post Link to post
Dave Nottage 566 Posted Thursday at 10:50 PM 1 minute ago, valdiralbertod@gmail.com said: When trying to compile (F9) an application in Delphi 10.4 (Firemnokey for Android) for the application store generating an .aab file, we are getting the following error: [PAClient Error] Error: E6404 Could not find program, 'C:\bin\java.exe' Is this happening only when attempting to generate an .aab (as opposed to .apk)? Please show what the Java settings are for your Delphi installation. 1 Share this post Link to post
valdiralbertod@gmail.com 0 Posted yesterday at 09:30 AM 10 hours ago, Dave Nottage said: Is this happening only when attempting to generate an .aab (as opposed to .apk)? Please show what the Java settings are for your Delphi installation. Sim, o problema ocorre somente se tentarmos gerar o .aab. O .apk ele gera tudo certo. Anexo a configuração do Java. Obrigado Share this post Link to post
Dave Nottage 566 Posted yesterday at 06:28 PM 8 hours ago, valdiralbertod@gmail.com said: Anexo a configuração do Java. As per the installation notes, Delphi 10.4 requires AdoptOpenJDK 8. This article includes some instructions on how to install it. Please just focus on the part regarding AdoptOpenJDK. After it is installed, you'll need to change the Java part of the SDK settings in Delphi. 1 Share this post Link to post
valdiralbertod@gmail.com 0 Posted 7 hours ago 19 hours ago, Dave Nottage said: As per the installation notes, Delphi 10.4 requires AdoptOpenJDK 8. This article includes some instructions on how to install it. Please just focus on the part regarding AdoptOpenJDK. After it is installed, you'll need to change the Java part of the SDK settings in Delphi. Bom dia, Obrigado pelas orientações. Fiz a instalação do AdopOpenJDK 8 conforme está no artigo e depois configuei o path no SDK no Delphi. Mas o mesmo erro permanece conforme prints anexos. Mais alguma sugestão? Obrigado! Share this post Link to post
Dave Nottage 566 Posted 2 hours ago 4 hours ago, valdiralbertod@gmail.com said: Mais alguma sugestão? Start by uninstalling that version of AdoptOpenJDK (v21) and installing the correct version (v8). There is a direct link to it in the article I mentioned, i.e. this download link. It's also possible that you have other JDKs installed which are causing interference. Check the system Path variable and remove any others from it. Share this post Link to post