安装失败,消息为INSTALL_FAILED_INSUFFICIENT_STORAGE

时间:2018-06-01 14:04:38

标签: java android

每当我试图运行我的应用程序时,我都会收到此错误

我还添加了android:installLocation="preferExternal"

这是我的Android清单文件

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.admin.educationforsocity"
    android:installLocation="preferExternal">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE1" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <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=".Login"
            android:label="Login" />
        <activity
            android:name=".NewRegister"
            android:label="NewRegister" />
        <activity
            android:name=".Menu"
            android:label="Menu" />
        <activity
            android:name=".AdminPanel"
            android:label="AdminPanel"
            android:theme="@style/AppTheme.NoActionBar" />
        <activity
            android:name=".NavigationMenu"
            android:label="@string/title_activity_navigation_menu"
            android:theme="@style/AppTheme.NoActionBar" />
        <activity
            android:name=".PDF"
            android:label="PDF" />
        <activity
            android:name=".VideoTutorial"
            android:label="Video" />
        <activity
            android:name=".AddDepartment"
            android:label="Add Department" />
        <activity
            android:name=".AddSem"
            android:label="Add Semester" />
        <activity
            android:name=".AddSubject"
            android:label="Add Subject" />
        <activity android:name=".ForgotPassword" />
        <activity android:name=".Efs">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".Corse_List" />
        <activity
            android:name=".StudentPanel"
            android:label="Student Menu"
            android:theme="@style/AppTheme.NoActionBar" />
        <activity android:name=".Com_Semester" />
        <activity android:name=".Com_Subjects" />
        <activity android:name=".Com_Years" />
        <activity android:name=".Com_Pdf_View" />
        <activity android:name=".SyllabousCourse" />
        <activity android:name=".Syylabous" />
        <activity android:name=".OldPapers" />
        <activity android:name=".OldPaperSem"></activity>
    </application>

</manifest>

0 个答案:

没有答案