应用未安装 [英] App not installed

查看:30
本文介绍了应用未安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在发布模式下安装我的 apk 时遇到问题,如果我下载调试文件,它可以正常工作,但是如果我尝试安装发布文件,它只会说我未安装应用程序",图片:

I'm having problems when i try to install my apk in release mode, if I donwload the debug file, it works ok, but if I try to install the release file, it just says me "App not installed", image:

这是我的清单文件:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="PACKAGE" >

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ReportActivity"
            android:label="@string/title_activity_report" >
        </activity>

        <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
        <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="@string/google_maps_key"/>

        <service
            android:name=".Services.PositioningService"
            android:enabled="true"
            android:exported="true" >
        </service>

        <receiver
            android:name=".Receiver.PositioningBroadcastReceiver"
            android:enabled="true"
            android:exported="true" >
        </receiver>


    </application>

</manifest>

我已经检查过这个链接,但是没有用!应用未安装错误谢谢大家!

I had already checked this link, but it didn't work! App Not Installed error Thank you folks!

推荐答案

如果您在手机中安装了调试版本.. 那么您需要卸载它并安装签名版本.

If you installed debug build in your mobile.. then you need to uninstall it and install signed build.

如果它仍未安装,那么您的应用程序相关数据可能仍在您的内存中.例如)如果您从应用程序创建了任何数据库,那么您需要从内存中删除它并尝试再次安装您的签名版本.

If it still not installed then your Application related data might be still there in your memory.. ex) if you created any DB from your Application then you need to delete that from memory and try to install your signed build again.

如果它仍未安装并且您正在使用棒棒糖设备..您的应用程序也可能安装在其他用户帐户中..您切换到其他用户并转到设置->应用程序->your_application并卸载它.甚至检查访客用户.您的应用程序也可能隐藏在其中..

If it still not installed and if you are using lollipop devices.. your Application might be installed in other users account too.. you to switch to other users and go to Settings->Apps->your_application and uninstall it. even check Guest user. your application might be hiding in that too..

我遇到了这个问题..只需按照以下步骤操作..然后您的应用程序就可以安装..:)

I had this issue.. just follow these steps.. then your application can be installed.. :)

这篇关于应用未安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆