Tag: r

55 votes
16 answers
343 views
JAVA_HOME is set to an invalid directory:

I have set JAVA_HOME in my system C:\Program Files\Java\jdk1.8.0_ 131\bin; and I am trying to run cordova comm

avatar
Fabian
0 1 0 9
asked 07 September, 2021
55 votes
14 answers
2.4K views
Update cordova plugins in one command

I am wondering is there an easier way to update cordova plugin? I googled, found a hook (@ year 2013), but th

avatar
Wilber
0 1 0 9
asked 07 September, 2021
56 votes
21 answers
3.1K views
How to host material icons offline?

My apologies if this is a very simple question, but how do you use google material icons without a <link

avatar
Forrest
0 1 0 9
asked 07 September, 2021
60 votes
17 answers
544 views
iOS Simulator failed to install the application

I have created a Cordova 2.1.0 app, It ran fine for the first 2-3 times. But now when I am trying to run it th

avatar
Hilario
0 1 0 9
asked 07 September, 2021
62 votes
12 answers
1K views
$apply already in progress error

Stack trace: Error: $apply already in progress at Error (<anonymous>) at beginPhase (file:///android_as

avatar
Patsy
0 1 0 9
asked 07 September, 2021
49 votes
7 answers
1.7K views
Error executing command &apos;ant&apos; on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova

Today I tried PhoneGap/Cordova with Mac OS X Mavericks. Building for iOS went just fine, but building for Andr

avatar
Forrest
0 1 0 9
asked 07 September, 2021
64 votes
9 answers
1.5K views
Refused to load the script because it violates the following Content Security Policy directive

When I tried to deploy my app onto devices with Android system above 5.0.0 (Lollipop), I kept getting these ki

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
2.1K views
Not showing placeholder for input type="date" field

I am doing a phonegap app. When I am trying type="date" input field as shown below, it shows date picker in iP

avatar
Nereida
0 1 0 9
asked 07 September, 2021
49 votes
19 answers
2.1K views
Why am I seeing net::ERR_CLEARTEXT_NOT_PERMITTED errors after upgrading to Cordova Android 8?

After upgrading to Cordova Android 8.0, I am seeing net::ERR_CLEARTEXT_NOT_PERMITTED errors when trying to con

avatar
Kisha
0 1 0 9
asked 07 September, 2021
47 votes
17 answers
543 views
Application Error - The connection to the server was unsuccessful. (file:///android_asset/www/index.html)

App Dies On Startup (connection to the server was unsuccessful) I have an Android application that I'm

avatar
Omar
0 1 0 9
asked 07 September, 2021
66 votes
10 answers
384 views
How To Save Canvas As An Image With canvas.toDataURL()?

I'm currently building a HTML5 web app/Phonegap native app and I can't seem to figure out how to sav

avatar
Alba
0 1 0 9
asked 07 September, 2021
52 votes
10 answers
1.5K views
How to create a signed APK file using Cordova command line interface?

I made a sample application named checkStatus. Now I want to create a signed APK file. So I can install it in

avatar
Vi
0 1 0 9
asked 07 September, 2021
66 votes
12 answers
2.3K views
How do I correctly detect orientation change using Phonegap on iOS?

I found this orientation test code below looking for JQTouch reference material. This works correctly in the i

avatar
Georgie
0 1 0 9
asked 07 September, 2021
54 votes
25 answers
2.5K views
ionic 2 - Error Could not find an installed version of Gradle either in Android Studio

I create ionic 2 project and add diagnostic cordova plugin like this : ionic plugin add cordova.plugins.diagn

avatar
Chaya
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1.3K views
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value

After typing cordova run android in terminal, I'm getting this error: Waiting for emulator to start... P

avatar
Trudy
0 1 0 9
asked 07 September, 2021
57 votes
9 answers
2.3K views
External resource not being loaded by AngularJs

Using Angular and Phonegap, I'm trying to load a video that is on a remote server but came across an issu

avatar
Keila
0 1 0 9
asked 07 September, 2021
58 votes
24 answers
2K views
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK - Android

I know there are lots of questions similiar to this one, but i couldn't find a solution for my problem in

avatar
Shantay
0 1 0 9
asked 07 September, 2021
56 votes
23 answers
550 views
Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.

I'm trying to install PhoneGap and I'm getting the following error: Error: ANDROID_HOME is not set

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
64 votes
5 answers
2K views
jQuery Mobile: document ready vs. page events

I am using jQuery Mobile, and I am having trouble understanding differences between classic document ready and

avatar
Tuan
0 1 0 9
asked 07 September, 2021
63 votes
10 answers
1.7K views
Is there a difference between PhoneGap and Cordova commands?

I just installed Phonegap for the first time and just browsed through the docs. What confuses me is the fact t

avatar
Winford
0 1 0 9
asked 07 September, 2021