Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SilentAutoUpdate is not silent #42

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015


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

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

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

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

[deleted comment]
@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

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

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

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

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

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

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

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

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 14, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.