Phonegap test app on github (debug) does not build correctly or work

  • 3
  • Problem
  • Updated 8 years ago
In my quest to find out why the builds from the phonegap build service do not install or work, I decided to use the test debug app that Phonegap has provided on Github. I downloaded all the files from here:

https://github.com/hardeep/PhoneGap-B...
1. Put all the files in a folder callled www
2. Packed the folder
3. Uploaded and built the app for IOS and Android

The app installs on Android but does not work
The app does not install at all on my test Iphone device.

Can someone confirm this please? Thanks
Photo of raiden

raiden

  • 27 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 3
Photo of Steve Gill

Steve Gill, Employee

  • 43 Posts
  • 1 Reply Like
Hey Raiden,

Maybe try to use this app app instead of that debug one. http://github.com/phonegap/phonegap-s.... This is the one we recommend users start with.

Cheers,
-Steve
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Hey Raidan,

Seems like you're following the debug demo.

I noticed there is a phonegap.js in the repo. Remove the file and give it another shot.

Remember that the


<script src="phonegap.js"></script>


is still required though.

If you are still not able to get it to work let me know and I'll have a go at it as well.

Hardeep Shoker
Photo of Phil Rothenberg

Phil Rothenberg

  • 4 Posts
  • 0 Reply Likes
I followed the instructions in the Debug Build document for creating a new PhoneGap Build application for the use case example, using a downloaded zip file for the app. The app built without any errors, I downloaded and installed it to my Android phone, but when I open the app, nothing shows up in the devices list of the debug window. I built another unrelated application and it does appear. What can I do to get the use case to work?

This reply was created from a merged topic originally titled
Use Case Example not showing in devices.
Photo of Phil Rothenberg

Phil Rothenberg

  • 4 Posts
  • 0 Reply Likes
Hardeep -

I'm using a zip file to upload the code for the app, but I followed your suggestion of removing phonegap.js and I also changed the reference in index.html from "phoneGap.js" to "phonegap.js" and my device is still not recognized in the debug window when I run the app.

Please let me know what else I can try.

Thanks,
Phil