运行 AndroidStudio时遇到java.lang.SecurityException怎么回事?
「已注销」 2017-07-11 06:02:12 //安卓小白,问的问题大佬不要嫌弃
使用AndroidStudio运行项目时,本来可以正常运行在手机上,后来我想改尝试apk的名称,将strings.xml中的名称改过后再运行项目,此时已经不能在手机上正常运行,并出现如下报错,将APP名字改回后仍不可以运行,请大佬们帮帮看看应该怎么去解决,谢谢!另:如果有大佬知道改APP名字的方法请指教,我之前改名字没有成功。
/*Installation failed with message Failed to finalize session : Unknown failure (Error: java.lang.SecurityException: Requires android.permission.ASEC_CREATE permission).
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application*/