The Invalid Resource is issued in the following situations:
Resource '<file>' is empty and cannot be stored in the Binaries directory in the Platform Server.: The <file> is empty and therefore cannot be copied to the Binaries folder in the Platform Server. See Resource Editor
You should Verify your extension again in order to generate the dll or jar correctly.
Resource Editor | Error Messages