我想在我的应用程序中以编程方式安装apk文件,为此我编写代码如下
f=new File("l.o.p-1.apk");
Intent i=new Intent(android.content.Intent.ACTION_VIEW);
i.setDataAndType(Uri.fromFile(f),"application/vnd.android.package-archive");
startActivity(i);
但它不起作用,并显示一个警告对话框,并显示消息解析错误:解析包问题为什么我收到此错误