简体   繁体   中英

Android studio Error in Build apk

I am trying to install and run this application in my phone, but it gives an error. Please help me.

Error Message:

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]

Error Screenshots:

屏幕截图_1

屏幕截图_2

check your manifest file Replace this sort of data with :

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

like this

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

i think it will work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM