Android工作室无法支持4.4.4版

时间:2015-11-03 08:24:55

标签: android sdk

我有android studio SDK的问题。我知道API 19支持所有版本4.4 + Android 4.4 APIS,但我的应用程序不支持Android 4.4.4版。你可以在图像上看到

My SDK installations

我已经安装了API 19,但仍然无法正常工作。 同样适用于android 5.0.2版本。

我的清单文件

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.bemoir">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />

<uses-feature android:name="android.hardware.camera" />

<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<uses-feature
    android:name="android.hardware.nfc"
    android:required="true" />
<uses-permission android:name="android.permission.NFC" />


<application
    android:name="com.bemoir.crash.reports.Application"
    android:allowBackup="true"
    android:icon="@drawable/app_icon120"
    android:label="@string/app_name"
    android:theme="@style/AppTheme">

    <activity
        android:name="com.bemoir.SplashActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <action android:name="android.nfc.action.NDEF_DISCOVERED" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <meta-data
        android:name="com.facebook.sdk.ApplicationId"
        android:value="@string/facebook_app_id" />

    <activity
        android:name="com.bemoir.LoginActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@style/RegisterTheme" />

    <activity
        android:name="com.facebook.FacebookActivity"
        android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.Translucent.NoTitleBar" />

    <activity
        android:name="com.bemoir.RegisterActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@style/RegisterTheme"></activity>

    <activity
        android:name="com.bemoir.MainActivity"
        android:label="@string/app_name"
        android:launchMode="singleTask"
        android:screenOrientation="portrait"
        android:windowSoftInputMode="adjustPan"></activity>

    <activity
        android:name="com.bemoir.AvatarAndMemoryActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.QrScanner"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.NfcScanner"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.NfcReader"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.ScannActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.SelectCategoryActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>


    <activity
        android:name="com.bemoir.FeedDetailActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.TermsFragment"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>


    <activity
        android:name="com.bemoir.PrivacyFragment"
        android:label="@string/app_name"
        android:screenOrientation="portrait"></activity>

    <activity
        android:name="com.bemoir.crash.reports.ReportActivity"
        android:label="ReportActivity"
        android:noHistory="true"
        android:process=":report_process"
        android:theme="@android:style/Theme.NoDisplay" />

    <provider
        android:name="com.bemoir.crash.reports.ReportFilesProvider"
        android:authorities="com.bemoir"
        android:exported="true"
        android:process=":report_process"
        tools:ignore="ExportedContentProvider" />


    <meta-data
        android:name="io.fabric.ApiKey"
        android:value="7f35f2b1a4562e9730075cba932d9c83585f128e" />

</application>

1 个答案:

答案 0 :(得分:1)

现在看起来很清楚。您的清单包含

<uses-feature
    android:name="android.hardware.nfc"
    android:required="true" />

拒绝将应用安装在没有NFC的设备上。