Cordova 2.2.0.jar doesn't work on Android 4.2.2
-
21-12-2019 - |
Question
I am newbie to PhoneGap
. I want to develope android app with PhoneGap
. As a beginner, i referred this link to create sample app for practicing. Here i have used Cordova 2.2.0.jar
for developing application.The problem is that app runs successfully on Android<4.4.2. On android 4.2.2, it keep on showing message of "Connecting to device" as shown in demo. I also downloaded Cordova 3.3.0
from this page. According to PhoneGap guide there should be ant jar
in Android package's /framework directory
but there is no ant jar
file in that folder.Therefore i decided to use Cordova 2.2.0.jar
. I don't know what is this problem. Please help me to solve this problem.
Thank you.
Solution
As you are starting with phonegap, I would suggest you just forget about version 2.2.
The link you provided about phonegap 3 is not for creating a new phonegap app, but to integrate a webwiew using phonegap in an existing larger native android app.
To create a new phonegap app, you should follow the phonegap CLI guide
Or maybe you could use Netbeans version 7.4 or more which now have a "new cordova application" assistant.