Wrox Programmer Forums
BOOK: Beginning PhoneGap
This is the forum to discuss the Wrox book Beginning PhoneGap by Thomas Myer ; ISBN: 978-1-1181-5665-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PhoneGap section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 30th, 2011, 03:18 PM
Registered User
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default reference error


Being a beginner, I am trying to complete my first phonegap tutorial ... but getting an error ... I am pretty sure my eclipse project is set up as it should be with the necessary files added ... the apk is pushed to the emulator but the app is not running as it should be ... the logcat window shows this: "ReferenceError: Can't find variable: PhoneGap at undefined:1" ... googling doesnt seem to give me a proper answer what I am doing wrong ...

Old January 15th, 2012, 02:19 PM
Registered User
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default It might have to do with this...

There is a missing step when setting up PhoneGap for Android on Windows Eclipse (pg.21). It should have this added (from phonegap wiki)...(You might experience an error here, where Eclipse can't find phonegap-1.0.0.jar. In this case, right click on the /libs folder and go to Build Paths/ > Configure Build Paths. Then, in the Libraries tab, add phonegap-1.0.0.jar to the Project. If Eclipse is being temperamental, you might need to refresh (F5) the project once again.)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using class reference getting error rojiin ASP.NET 2.0 Basics 2 July 6th, 2007 01:53 PM
Circular reference Error robert-s Access 1 June 6th, 2006 10:31 AM
Object reference Error mrideout BOOK: Beginning ASP.NET 1.0 4 August 9th, 2004 07:29 AM
Object reference error shaileshmark SQL Server 2000 2 July 22nd, 2004 03:13 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.