/** * check and delete the old package app if it exists. */ private void checkOldPackage() { String packageName = "xxx.xxx.xxx.xxx"; if (isAvilible(this, packageName)) { Intent uninstall_intent = new Intent(); uninstall_intent.setAction(Intent.A
今天在Eclipse中运行我的Java程序中,就弹出了以下消息的窗口: 注意窗口的名字为Java Virtual Machine Launcher . Error : A JNI error has occurred,please check your installation and try again 然后就继续报以下的错: A Java Exception has occurred. 检查了一次,发现这个报错就是你的Java程序中的包名命名不正确. 将名字为"Java"的pack