Big mess trying to get phone gap to work

Stuck on 3.1, can’t figure out why…