Frustrated Developer
Frustrated Developer

Reputation: 131

Issues After Upgrading PhoneGap to 1.4.1

Ive been encountering this problem since I last upgraded PhoneGap from 1.3.0 to 1.4.1, the issue is after the upgrade, I cannot somehow connect to my database or something. it gives me an error within the app "SyntaxError: Unexpected end of input" and "TypeError: Cannot read property 'contacts' of undefined".

Upvotes: 1

Views: 677

Answers (2)

darryn.ten
darryn.ten

Reputation: 6983

Did you update your projects resources to point to the new phonegap.1.4.1.jar file that was included? I had this problem on a project when one of the developers replaced the .js but not the jar and the android app was compiling with the old sources.

Upvotes: 1

Devgeeks
Devgeeks

Reputation: 5647

When you upgraded to 1.4.1 did you make a new project or are you still using the one from 1.3.0?

If you didn't create a new project, inside the dmg you installed PhoneGap should be a file called "PhoneGap Upgrade Guide.pdf". It should help you upgrade your project.

1.4.1 had some significant changes in it that require a fresh new project, unfortunately.

Upvotes: 2

Related Questions