i receiving error
"could not find class 'android.webkit.webresourceresponse', referenced method org.apache.cordova.cordovawebviewclient.generatewebresourceresponse"
when running simple android application on android device. updated cordova.jar file within "libs" folder within android project folder downloading new cordova-2.9.jar file, renaming "cordova.jar" , replacing original jar file. when run app logcat shows no error or warnings screen black , last 7 logcat messages are
07-15 15:07:14.226: d/cordovawebview(24584): >>> loadurlnow()
07-15 15:07:14.326: d/cordovaactivity(24584): onmessage(onpagestarted,file:///data/data/com.prototypeapp/files/www/skinloader.html)
07-15 15:07:14.366: d/webkit-timers(24584): [jwebcorejavabridge::resume] >> resume
07-15 15:07:14.486: d/dalvikvm(24584): gc_concurrent freed 344k, 44% free 3415k/6023k, external 0k/0k, paused 2ms+3ms
07-15 15:07:15.167: d/cordova(24584): onpagefinished(file:///data/data/com.prototypeapp/files/www/skinloader.html)
07-15 15:07:15.177: d/cordovaactivity(24584): onmessage(onpagefinished,file:///data/data/com.prototypeapp/files/www/skinloader.html)
07-15 15:07:17.189: d/cordovaactivity(24584): onmessage(spinner,stop)
no initialization happens of js , html files within common , android folder. using android api 10 , phone android 2.3.4. know why there no initialization or how fix problem? thank you
some background:
error see in fact an apache cordova defect, fixed in cordova 2.7. worklight uses cordova 2.6.
the defect affects subset of devices happen use android os v2.x; devices show error in logcat, others may crash.
this issue addressed in near-future release of worklight 6.0.0.x.
that said,
worklight not support "upgrade" method (or method) cordova you've tried do.
Comments
Post a Comment