gerbil / auto-update-apk-client

Automatically exported from code.google.com/p/auto-update-apk-client
0 stars 0 forks source link

SilentAutoUpdate is not silent #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

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 9 years ago
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 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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 9 years ago
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 9 years ago
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 9 years ago
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 9 years ago
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