Android Programming for Beginners

@svan Thanks for testing this.

It failed for me with this development environment:

  • Windows 11
  • Processing 4.4.4 or Processing 4.3.4 < Each had a different issue!
  • Motorola Android Phone (Android version 14)
  • Android Mode for Processing 4.6.1 (Installed July 28).

I even went as far as deleting the .gradle folder between test installs.

My Windows 11 PC is a fresh and recent install.

This made wonder if I had other stuff already in W10 supporting a successful build.

In Windows 10 I deleted these before installing:

  • preferences.txt Each install keeps adding to PATH
  • android folder
  • .gradle folder (this was new!)
  • any open occurrences of Processing or OpenJDK running
  • I miss anything?

And it installed successfully and I was able to build and run sketches on my phone successfully.

I won’t be drawing any conclusions too soon without more testing.
I won’t be doing testing any time soon.

*** UPDATE for Windows 11 ***

I went back to revisit this and it now works with Processing 4.3.4
This was after I added it and allowed it through the firewall.
I also deleted the .gradle again too.
I also did not reopen existing code (with all the extra stuff in sketch folder) and tested with a new sketch and cut and paste into it.
I will revisit this again to see what exactly made it work.

I will generate some best practices for this at some point.

:)