java.lang.NullPointerException

I’m getting the following error when trying to compile in android studio:

java.lang.NullPointerException (no error message)

This doesn’t say where the error is and gives no useful information. I used to be able to compile android Juce. I’d appreciate it if any of you could try compiling android on your side.

Things I’ve tried:

  • compiling with both my app and with a fresh Juce newproject
  • using older version of android studio, sdk, ndk
  • using older android api
  • using older version of Juce (tried version from May 2018 and latest version)
  • using older version of JRE
  • tried on windows and Mac (same error!)
  • deleting build folder
  • every java.lang.NullPointerException solution I found on-line (mainly stack overflow)

I hate android so much