SilentAutoUpdate is not silent
Closed this issue · 7 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1.rooted the device
2.made a sample project
3.used autoUpdateApk - worked as it should
4.changed to silentAutoUpdat
What is the expected output? What do you see instead?
I expect the version to update without any user involved but the app is wating
for the user to agree the installation.
What version of the product are you using? On what operating system?
latest version
Please provide any additional information below.
Original issue reported on code.google.com by entechAc...@gmail.com
on 7 Apr 2013 at 8:49
GoogleCodeExporter commented
could you please check a few things, that might help to identify the problem?
1. when silent update fails (for some reason) the "silent_failed" flag is set
to TRUE in preferences to avoid looping and AutoUpdateAPK falls back to the
failsafe "notification" method. please, check if this value exists in your
application preferences (/data/data/your.app/shared_prefs/*) and totally remove
and completely reinstall the application to remove this flag.
2. when running application in silent mode, there are a few "Log.*()" calls
that supposed to give an insight about the problem. please, check your logs
(adb logcat?) and show the AutoUpdateAPK output you've got (you may skip
irrelevant messages to reduce the log size)
Original comment by lenik.terenin
on 8 Apr 2013 at 5:55
GoogleCodeExporter commented
[deleted comment]
GoogleCodeExporter commented
Thanks for your answer
I tryed to get help from your answer and what I see that my app is realy not in
/data/data do you know why is it?
my \data folder is empty, and I hav a few apps installed
Thanks
Original comment by entechAc...@gmail.com
on 8 Apr 2013 at 6:53
GoogleCodeExporter commented
sorry, I have no idea about your /data folder, please, try 'adb uninstall
com.your.app' to remove the application along with preferences and see the
output in logcat during the next run.
Original comment by lenik.terenin
on 8 Apr 2013 at 10:41
GoogleCodeExporter commented
I am sorry I didnt know how to look of it.
my problem is in "Runtime.getRuntime().exec("su")"
the error is :
Error running exec(). Command:[us] working directory: null enviroment: null
my device is rooted (I checked again)
dose it have to do with permisions?
Original comment by entechAc...@gmail.com
on 9 Apr 2013 at 9:59
GoogleCodeExporter commented
if there are questions about your device being rooted or not, please, download
something like "Root Checker" from the market and see what it says. Maybe this
one might help:
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck
Original comment by lenik.terenin
on 10 Apr 2013 at 3:07
GoogleCodeExporter commented
Thanks,
yes my device is rooted,
I have got "Verify Root Access"
Original comment by entechAc...@gmail.com
on 10 Apr 2013 at 4:55