java - App not getting uninstalled through ADB -
i trying uninstall app device through adb in java code, , getting next issues while doing so.
here apk name contains package:
process p = runtime.getruntime().exec(new string[]{"sh","-c","./adb shell su -c 'pm uninstall "+apkname+"'"});
i got next message in log:
uninstalling : com.foxit.mobile.pdf.lite .. running : ./adb shell su -c 'pm uninstall com.foxit.mobile.pdf.lite ' .. command status : segmentation fault
for 1 marked duplicate, please question clearly. this link explains how uninstall app shell facing problem while doing same through java code. creating ui in java uninstalling apps in device, , i'm stuck problems have posted here.
java android shell adb su
No comments:
Post a Comment