I have the same issue, this is because Sonata Media didn't has yet 3.0 version, and the 2.4 version is incompatible with the new 3.0 version of Sonata Admin.
Some time ago was possible to install the unstable 2.4 version of Sonata Admin, but now, this version is not avaible because is replaced with the new 3.0 version.
The only thing that you can do is downgrade the Sonata Admin version to 2.3.1 that is the last version compatible with Sonata Media dependencies and wait until the 3.0 version of Sonata Media will be released.
I'm sorry for the bad news