DelphiWorlds / Codex

Codex is an add-in for RAD Studio
MIT License
64 stars 10 forks source link

Add Android Packages fails due to missing obj folder. #36

Closed MyBuzzTechnologies closed 10 months ago

MyBuzzTechnologies commented 11 months ago

I'm trying to use the latest Codex version (in D11.3) to generate the R files, but the Add Android Packages tool fails because an obj folder isn't created in the temp folder before running the javac commands. Is this something you're aware of?

Executing: "C:\Program Files\Java\jdk1.8.0_281\bin\javac" -d "C:\Users\chris\AppData\Local\Temp\EE132329-9151-4E8B-BE56-B18B663F0EA9\obj" -classpath "C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.47991.2819\platforms\android-32;C:\Users\chris\AppData\Local\Temp\EE132329-9151-4E8B-BE56-B18B663F0EA9\obj" @"C:\Users\chris\AppData\Local\Temp\EE132329-9151-4E8B-BE56-B18B663F0EA9\javasources.txt"
javac: directory not found: C:\Users\chris\AppData\Local\Temp\EE132329-9151-4E8B-BE56-B18B663F0EA9\obj
Usage: javac <options> <source files>
use -help for a list of possible options
Exit code: 2
Working files have been retained in: C:\Users\chris\AppData\Local\Temp\EE132329-9151-4E8B-BE56-B18B663F0EA9
*** Process complete ***

In my scripts, I need to do a mkdir to create the obj folder before running that command, so suspect you might need to do similar.

DelphiWorlds commented 11 months ago

This will be fixed in v2.1, which is coming soon...