Issue with using LocalStorage in PhoneGap for Android - android

To resolve : Application error - A network error occurred. (file:///android_asset/www/messagedetails.html?Id=29) in Android 4.0,I am using LocalStorage.
This approach gave me the solution for the problem.But when the App is not run for long time or kept on hold., I am facing the issue again.
I am not able to navigate from one page to another page. :(
I added the code to clear the App cache , is it the right approach???
Thanks in advance.

I do believe you are experiencing the "Unknown Chromium Error -6" issue. It's a known error in the Android 4.0 release that the file-URL can't contain parameters. (See further here: Android 4.0 Issue). There are a number of possible solutions;
Redesign to use LocalStorage for passing parameters around.
Upgrading PhoneGap to 1.7+ (Cordova), seem to solve the issue. I haven't tried.
Hope it helps.

Related

An unexpected error occurred. Please try again later. (3200000)

Can anyone is facing issue in Manage release in Google play store?
When I try to upload an app in production track. It's not opening. I am getting this error.
An unexpected error occurred. Please try again later. (3200000)
I had this about 5-6 hours ago then just gave up after seeing no answers. Tried it just now & it works. I guess something was going wrong internally & I just had to wait it out.
An unexpected error occurred. Please try again later. (3200000
I got this error just now , this error occurs while i need to manage my apk release
All App release has same error while i need to manage it , i do not know what happened
I do clear browser cache and close all my logged in user
This error still came out of my browser , need some one to help .. please
EDIT :
Hi There who are facing these issue , i just post a question , because i am having this issue as well , but , after i do clear my browser cache , logout all to my google account , close browser windows , and try to clearing all my local cache in from my laptop , wait for at least an hours ,
Now i am able to manage my app on google play store
Hope this will help others
Thank you
I too am having this problem. It seems like a fairly new error code as Google Search only shows a different error code but with the same error message. I've had this happen intermittently for the last 3 to 7 days. Seems like waiting a few hours and trying again works. I also try to sign out, clear my cache, site settings, and cookies before signing it. I am not sure if clearing the web browser is necessary but I do it anyway.
I used USA proxy and now this error is not coming, everything is working fine.
Maybe Google has pushed some bug in certain countries rollout.
I had this error a while ago. I remember it was this exact error message although I'm not sure about the error code. I still don't know the exact cause of this problem but somehow, restarting my computer solved the problem.
Alternatively, I think restarting your browser (rather than your computer) should do the trick. Simply clear your cache, restart and try again.
I hope this helps someone out there.

ListView is not working

Simple Listview bind is not working.I am not understand what is the missing in my case?
Here I have downloaded project from https://github.com/xamarin/xamarin-forms-book-samples/tree/master/Chapter19/ListViewList
Build successful and When debug code (android) then going perfect on the code but after debug got error like
Without debug application crash.
Anyone have idea what is the missing in my case?
This is a bug already reported in bugzilla.
I think that PR 910 will fix this issue while running with pre-Marshmallow APIs.

Auto-repair for Android Studio?

Lately I've been having problems with Android Studio, mostly what it seems with code synchronization. For example, I'll comment out a section which is causing the issue and sync the project before running it again, only to have the Android Monitor point out to the line in comments, as if it still interprets it as code. I'm curious what you would recommend? A full reinstall? Is there any feature that restores default settings and would alleviate this issue?
Thanks in advance.

Xamarin Forms Android Error Message Regarding Support Package and other packages

I am a complete newbie who has just about started android app. development using Xamarin Forms and VS2012. Only about 20-21 days of exposure I have got. I am trying to learn along the way through writing an imaginary practice app. But there are some errors I am getting. You can see them in the picture.
http://imagebin.ca/v/29PeHoLhwW1i
Can someone direct me what exactly it is saying and what I need to do in order to rectify them?Is there something wrong with the installation/environment or like some update? Or is it something else? What's with the "unzipping failed" message?
Some one kindly help me out here please. Facing great deal of difficulty in tackling this.
Many Thanks in advance.
As the error message says (see the third error message ), you need to install the "Android Support Repository" from the Android SDK manager.
The errors are telling you that Xamarin is looking for the support library, but that it cannot find the support library and thus the build failed.
#Tanis.7x and #Jason.
Just an update I want to post:
I went about reproducing this scenario: creating a new project, do some primary simple code, add 1,2 layouts et all. When I build the new project, these 9 errors don't appear. This is strange to me. Because: this is exactly what had happened to my main work also. These errors were not there. Something, somewhere happened along the line, due to which they started appearing suddenly; out of the blue. I remember, I had updated Xamarin version, also just added some packages like JSON.Net and it is only after that this error list appeared. Not before that, if I remember correctly. Which is weird to me. If you try to recreate by creating a brand new project these 9 errors won't appear. I tried recreating this twice; no errors.
Yes, I'm manually downloading the zip file. Hopefully this makes the compiler happy. I'll keep posted about the updates.
Thanks All!

Exception firing destroy event from native

I've downloaded PhoneGap and tried it. It works well with some html pages + js script.
However, I have an issue while trying to access to my "full" application, with all the javascript and html pages...
The error is the following :
The connection to the server was unsuccessful.
(javascript:
try{
cordova.require('cordova/channel').onDestroy.fire();
} catch(e) {
console.log('exception firing destroy event from native');
};)
Any idea why it's happening?
Thanks for your time.
Think you have a similar issue to this question: Phonegap cordova 2.7.0 error when pausing app
I had the same problem, and like they suggested, switching back to version 2.4 fixed it.
I think I've found the change that was included in 2.5, which caused the problem. I've added a comment at the affected line here:
https://github.com/apache/cordova-android/commit/cb192056f82e051a05bbda8b09ac01a118c39838
Hopefully someone who works on Cordova will get it fixed soon.

Categories

Resources