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

来源:互联网 发布:自己的淘宝店铺在哪里 编辑:程序博客网 时间:2024/06/03 23:48

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
进程名前加个点即可

阅读全文
0 0
原创粉丝点击