1. Why does the mobile end not upgrade after patching the package, and the PC and mobile access to the same URL to get the XML file content inconsistent
Do not upgrade because the patch file is wrong, although the contents of the file changed,
PC-side access to the same URL resulting from the content of the XML file is inconsistent, is caused by the server cluster.
Summarize:
1), to the customer patching package must be to the customer backstage to get the relevant documents, rather than think of others to take the file to change, and if the patch package succeeds, replace some of the content will lead to other products landing.
2), and then hit the patch package must see whether the server cluster, if the cluster, you need a dozen
3), then is out of the question, where out of the code of the problem, you need to debug this place again, instead of asking others, this will increase the dependence on others.
2. "App not Installed" issue appears after upgrade
1) This problem occurs, the first reaction is to find out why this problem on the Internet, the most reliable is the signature is not the same, special? , I obviously remember that I have signed, I let the customer test, still the same, the dog, and then I went to the group inside to ask someone else, I recommend the APK Helper can compare some of the app's signature information, and version number, as well as the build number, decisively down the software, Compared to the 2 apps, the signature MD5 is exactly the same, this is the dog? Then four ye said, let me simulate the customer environment, with the ADB install-r command to reproduce the problem, and then I installed the official website of the app, with the command installation of course no problem, and then install their own signed app, with the command adb install-r apk, special tips the following error
Failure[install_failed_version_downgrade]
I have less experience, one can not see this problem, and then take this error picture photos sent to the group, four Ye said that sure is the version of the problem, the low version cannot be installed to a higher version, the following is my apk
The internal version of the official website is more than 400, I modified the 100, so the version is low, and then to change the higher.
3, the update after the success of repeated updates
Then changed the version number, first use the command to install the official website of the app, and then use the command to install my own modified app, and then the console did not appear the installation failed prompt, and then thought that the success, decisive to the customer Cluster Server patching package, because the night more than 1 o'clock, there is no test updated input related information, Thought there was no problem, and then told the client.
In the morning, the customer calls me, said the prompt repeatedly updated, the dog, special and have problems, and then get up to the company, and then ask colleagues, the server file and apk are taken down, all no problem, the dog, and then always find the reason, backstage colleagues let me, to code debug, Special look at the code finally found the problem, is the first time I did not prompt upgrade, the code changed, read the lower version, so the hint has been updated, the dog. Then change the code, and then use the command to install 2 times the app test, and then connect the VPN, enter the user name and password, to see if other apps are normal login, I use their own mobile phone testing, found that the latest app login, other apps still can't login, the dog, special is not just changed good? Heart tired, do not know what reason, I will restart the phone, and then re-login to the latest app, and then test other apps, you can log in normally. Well, at least in the comfort of the heart, after a while my teacher came over, asked me the situation, I said the situation, and then he asked me my phone is the Android5.0 system? I looked at the next sure yes, the dog, he said there is such a bug,android system problem, OK. Let's do this for the time being.
Summary: Where the problem, from the source code there to find the reason, to debug single-step debugging, step-by-step analysis of the problem.
Android solution after the mobile end of the patch pack why not upgrade, after the upgrade "app not Installed", and the update after the success of the issue repeatedly