NoSuchMethodError ByteBuffer.rewind() in Support & Bug Reports Posted April 19, 2020 That was it. After removing the cache folder (after backing it up of course), recreating the project and building it everything ran correctly. Thank you very much. I wasn't aware gradle cached data outside the project folder. Useful to know.