title: PhoneGap native app error. "Illegal access"
body: <p>
  I am new to PhoneGap app development framework. I created a simple app which picks up user location and plots it on Google map. I am using PhoneGap desktop app, and I am able to run my app on IE and Firefox by pinging the IP. But it throws an error "Error(1): Only secure origins are allowed." when I am running in Chrome browser.
  </p>
  <p>
  I used PhoneGap cloud build platform and created packages for Android native app. After installation, while running the app I am getting the error: "Error(1): Illegal access."
  </p>
  <p>
  Can anyone please tell me the way to fix these issues?
  </p>
  <p>
  Thank you.
  </p>