解决方案 »
- 小弟android新手,请教一个xml解析的问题
- 关于模拟地理位置的疑问
- AlertDialog.Builder自定义按钮
- 模拟器中使用网络判断得到的wifi和gprs结果都是isAvailable: false
- 请教一下,ExpandableListView无法显示的问题
- 自定义可上下左右滑动控件,已实现,但滚动条也有但无法自定义,看看代码有什么问题
- 初学页面跳转遇到问题求救
- Android代码混淆后导出apk出现错误
- testActivity不能相应LifecycleOwner
- 匿名内部类里调用外部变量进行自增自减操作,可以不用final修饰吗
- Android模拟器 插拔卡命令
- AndroidManifest文件中的path-permission意思是什么?
public class Test { /**
* @param args
*/
public static void main(String[] args) {
try {
Runtime.getRuntime().exec("/home/user/android-sdk-linux_86/platform-tools/adb uninstall com.tencent.qq");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}}
{
try {
System.out.println("开始卸载...");
Runtime.getRuntime().exec("D:/android/android-sdk-windows/platform-tools/adb uninstall com.test");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// Uri uri = Uri.fromParts("package", "com.aspire.pcsuit", null);
// Intent it = new Intent(Intent.ACTION_DELETE, uri);
// startActivity(it);
}崩溃... No such file or directory 我的代码没问题吧?要不把你的例子给发一份呗... [email protected] 麻烦了... 先谢谢了啊!!!