Error compiling Android Delphi-10 on Windows 10

4

I have a problem to compile for android in delphi-10, follow the error

  The C: \ Program Files \ Java \ jdk1.7.0_79 \ bin \ C: \ Users \ Public \ Documents \ Embarcadero \ Studio.0 \ Bpl; C: \ Users \ Public \ C: \ Program Files \ Java \ jdk1.7.0_79 \ bin; \ Documents and Settings \ Embarcadero \ InterBase \ redist \ InterBaseXE7 \ IDE_spoof; -dex -output="C: \ Users \ jeffe \ OneDrive \ Programming \ Mobile \ ads100 \ Android \ Debug \ classes.dex" (x86) \ pier \ studio0 \ lib \ Android \ Debug \ google-play-services.dex.jar c: \ program files (x86) c: \ program files (x86) \ piercadero \ studio.0 \ lib \ Android \ Debug \ google-play-billing.dex.jar " "" c: \ program files (x86) \ wharf \ studio.0 \ lib \ Android \ Debug \ fmx.dex.jar " "c: \ program files (x86) \ wharf \ studio.0 \ lib \ Android \ Debug \ cloud-messaging.dex.jar C: \ program files (x86) \ wharf \ studio.0 \ lib \ Android \ Debug \ android-support-v4 .dex.jar "" exited with code 3.

    
asked by anonymous 11.12.2015 / 11:44

3 answers

2

My case was similar, with the same message I updated to java versão 8

In tools>>options>>sdk manager enter in java and set it to the new folder C:\Program Files\Java\jdk1.8.0_101\bin\keytool.exe and the other folder to the same folder, it worked for me.

    
10.08.2016 / 04:15
2

With this I solved this problem in Delphi Berlin as follows: On the PROJECT MANAGER screen (on the right) go to Android SDK --- > > CONFIGURATION and make sure that the Application Store option is OFF by leaving the other existing option enabled, then just under LIBRARIES right click on each option listed and disable.

    
18.08.2016 / 01:51
1

Try to update java as Mr. Luiz's answer if it does not work try to update the SDk and NDK as well. The path is: Tools > Options > Environment Options > SDK Manager. SDk and NDK and Java check to see if you have any items marked red or with a tag with an exclamation mark. After Update returns to normal.

    
01.11.2017 / 12:53