How to make an apk from a processing sketch using command line

#1

How to make an apk from a processing sketch using command line

#2

@theinfo ===
with AS the answer is here:
https://developer.android.com/studio/build/building-cmdline

(with AS you can acceed directly the terminal from the IDE) - Yet in this moment i cannot see any reason why it is not the same with P5, except if it uses some gradle from its own!)

1 Like
#3

hi… i am unable to use emulator or phone to run the processing sketch…is there any way that i can create an apk file of my android code?

#4

what do you mean? what have you tried?

#5

i tried to run the code by connecting the device using usb …but its not working…also emulator isnt installing so, is there any other option to create an apk file?

#6

@light ====
what happens when your connect your phone to usb?
(in some cases you need a driver)(in any case you have to activate usb debugging)
what is your phone? What OS?
what is your PC? - windows? - MAC?

#7

phone-poco f1
os-windows 10
pc-dell inspiron 3000

#8

@light ===
the problem is probably with your phone settings: have you enabled developer mode, have you enabled usb install? have you set the security rules? - if yes (for 3) then are you sure that you dont need a driver for windows10 connecting?