安卓apk中的Android工作室错误

时间:2016-03-31 13:12:44

标签: android-studio

我正在尝试在手机中安装并运行此应用程序,但它会出错。请帮帮我。

错误消息:

Target device: huawei-huawei_rio_l01
    Target device: huawei-huawei_rio_l01
Installing APK: H:\aaaaAndroidWorkShop\Project\LavinPanel\app\build\outputs\apk\app-debug.apk
    Installing APK: H:\aaaaAndroidWorkShop\Project\LavinPanel\app\build\outputs\apk\app-debug.apk
Uploading file to: /data/local/tmp/Site40200.LavinPanel
    Uploading file to: /data/local/tmp/Site40200.LavinPanel
Installing Site40200.LavinPanel
    Installing Site40200.LavinPanel
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/Site40200.LavinPanel"
    DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/Site40200.LavinPanel"
    pkg: /data/local/tmp/Site40200.LavinPanel
        pkg: /data/local/tmp/Site40200.LavinPanel
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
    Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

错误屏幕截图:

screenshot_1

screenshot_2

1 个答案:

答案 0 :(得分:0)

检查您的清单文件 用以下内容替换此类数据:

<service
android:name="com.example.sam.AppService"
android:process="screen" >
</service>
像这样

<service
android:name="com.example.sam.AppService"
android:process=":screen" >
</service>

我认为它会起作用