您的位置:首页 > 移动开发 > Android开发

AndroidStudio Run 的时候的一个问题及解决

2017-09-05 20:08 302 查看
Installation failed with message Failed to finalize session : INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl321954396.tmp/base.apk (at Binary XML file line #29): Invalid process name seperateProcess in package com.example.superdy.thetest: must have at least one '.' separator.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?清单文件如下
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.superdy.thetest">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.superdy.thetest.SeperateProcessActivity"
android:process="seperateProcess"></activity>
</application>
</manifest>
解决方案===》
seperateProcess ===》 .seperateProcess
进程名前加个点即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐