Android Question Compile B4A source code using CMD

cpppy

Member
Hello. Can i compile the B4A source codes using a command ?
I want to create a windows program to compile b4a source codes.
Thankful.
 

cpppy

Member
Thanks for the reply
I have a problem with b4abuilder now.
How to change Configure Paths without opening B4a?
And how to give the key.keystore file to b4abuilder?

Suppose I want to create software with B4j that downloads portable b4a, change Configure Paths to use SDK and JDK, gives private sign key to b4abuilder, and builds the app.
what should I do?
Thanks
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
How to change Configure Paths without opening B4a?
I don´t see a single reason why one would need this? I have hundrets of projects on my PC. My own and even for customers.

You can use BuildConfigurations


to switch the signkey if you need to.

B4X:
#If BuildForCustomer
#SignKeyFile: abcd.keystore
#SignKeyPassword: 1234
#Else
#SignKeyFile: abc.keystore
#SignKeyPassword: 123
#End If
 
Upvote 0

cpppy

Member
I don´t see a single reason why one would need this? I have hundrets of projects on my PC. My own and even for customers.

I have a project that needs to be compiled over and over again. I want to do this with a bot.


You can use BuildConfigurations


to switch the signkey if you need to.

B4X:
#If BuildForCustomer
#SignKeyFile: abcd.keystore
#SignKeyPassword: 1234
#Else
#SignKeyFile: abc.keystore
#SignKeyPassword: 123
#End If
Great. Where is abcd.keystore? in root folder of project?

Thanks.
 
Upvote 0
Top