cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: onFileSystemPathsReady not fired
Date Thu, 09 Jul 2015 22:13:27 GMT
Emmanuel this is mailing list for committers discussion about the project.

Use stackoverflow for usage and error questions

the versions you mentioned looks like you are for Cordova CLI 3.5.x or 5.x

If you can provide more info like running "mfp cordova info" and see what
version of the cordova-android platform you are trying to move from
And something simple we could reproduce.
Then open a jira bug in http://issues.cordova.io/

last resource my recommendation is to create a new cordova project with
same name and id, then move the contents of your www/ from the old to the
new project.
I know it's a pain, but is the smoothest ride.


On Sun, Jul 5, 2015 at 6:11 AM Emmanuel Goldstein <webber975@gmail.com>
wrote:

> I'm trying to update a phonegap Android app from cordova 3.5.0 to cordova
> 5.1.1 because of security concerns. When I launch the app I get the
> following errors but I just can't understand where they come from.. Could
> you help me by suggesting where to investigate?
>
> I'm using SDK 22 and I'm running the app on Android 4.4. I've also removed
> every plugin but the error stays there.
>
> Thanks for your support!
>
> W/System.err( 1672): org.json.JSONException: Value PluginManager at 0
> of type java.lang.String cannot be converted to int
> W/System.err( 1672):    at org.json.JSON.typeMismatch(JSON.java:100)
> W/System.err( 1672):    at org.json.JSONArray.getInt(JSONArray.java:357)
> W/System.err( 1672):    at
> org.apache.cordova.CordovaBridge.promptOnJsPrompt(CordovaBridge.java:131)
> W/System.err( 1672):    at
>
> org.apache.cordova.engine.SystemWebChromeClient.onJsPrompt(SystemWebChromeClient.java:119)
> W/System.err( 1672):    at
> android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:655)
> W/System.err( 1672):    at
> android.os.Handler.dispatchMessage(Handler.java:99)
> W/System.err( 1672):    at android.os.Looper.loop(Looper.java:137)
> W/System.err( 1672):    at
> android.app.ActivityThread.main(ActivityThread.java:4745)
> W/System.err( 1672):    at java.lang.reflect.Method.invokeNative(Native
> Method)
> W/System.err( 1672):    at java.lang.reflect.Method.invoke(Method.java:511)
> W/System.err( 1672):    at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
> W/System.err( 1672):    at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> W/System.err( 1672):    at dalvik.system.NativeStart.main(Native Method)
> W/System.err( 1672): org.json.JSONException: Value App at 0 of type
> java.lang.String cannot be converted to int
> W/System.err( 1672):    at org.json.JSON.typeMismatch(JSON.java:100)
> W/System.err( 1672):    at org.json.JSONArray.getInt(JSONArray.java:357)
> W/System.err( 1672):    at
> org.apache.cordova.CordovaBridge.promptOnJsPrompt(CordovaBridge.java:131)
> W/System.err( 1672):    at
>
> org.apache.cordova.engine.SystemWebChromeClient.onJsPrompt(SystemWebChromeClient.java:119)
> W/System.err( 1672):    at
> android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:655)
> W/System.err( 1672):    at
> android.os.Handler.dispatchMessage(Handler.java:99)
> W/System.err( 1672):    at android.os.Looper.loop(Looper.java:137)
> W/System.err( 1672):    at
> android.app.ActivityThread.main(ActivityThread.java:4745)
> W/System.err( 1672):    at java.lang.reflect.Method.invokeNative(Native
> Method)
> W/System.err( 1672):    at java.lang.reflect.Method.invoke(Method.java:511)
> W/System.err( 1672):    at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
> W/System.err( 1672):    at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> W/System.err( 1672):    at dalvik.system.NativeStart.main(Native Method)
> W/System.err( 1672): org.json.JSONException: Value File at 0 of type
> java.lang.String cannot be converted to int
> W/System.err( 1672):    at org.json.JSON.typeMismatch(JSON.java:100)
> W/System.err( 1672):    at org.json.JSONArray.getInt(JSONArray.java:357)
> W/System.err( 1672):    at
> org.apache.cordova.CordovaBridge.promptOnJsPrompt(CordovaBridge.java:131)
> W/System.err( 1672):    at
>
> org.apache.cordova.engine.SystemWebChromeClient.onJsPrompt(SystemWebChromeClient.java:119)
> W/System.err( 1672):    at
> android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:655)
> W/System.err( 1672):    at
> android.os.Handler.dispatchMessage(Handler.java:99)
> W/System.err( 1672):    at android.os.Looper.loop(Looper.java:137)
> W/System.err( 1672):    at
> android.app.ActivityThread.main(ActivityThread.java:4745)
> W/System.err( 1672):    at java.lang.reflect.Method.invokeNative(Native
> Method)
> W/System.err( 1672):    at java.lang.reflect.Method.invoke(Method.java:511)
> W/System.err( 1672):    at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
> W/System.err( 1672):    at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> W/System.err( 1672):    at dalvik.system.NativeStart.main(Native Method)
> I/Web Console( 1312): deviceready has not fired after 5 seconds. at
>
> file:///data/data/it.omeopatiadinamica.app/files/target/android/cordova.js:1154
> I/Web Console( 1312): Channel not fired: onFileSystemPathsReady at
>
> file:///data/data/it.omeopatiadinamica.app/files/target/android/cordova.js:1147
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message