1.fix add project without path bug.
2.difference platform get different path