你知道,我現在真的很失望。我花了最近5個月製作這個應用程序,從設計到編碼a..z,現在我就這樣結束了:我的應用程序支持0個設備。Android:我的應用程序支持0個設備
然後,我花了將近24小時已經試圖弄清楚到底發生了什麼,但仍然無法正常工作。我需要幫助。
PS:在「本地化:默認+ 49種語言」字段:在我的應用我只有英語使用默認值/strings.xml中,但我不介意用戶在其他語言的手機上會用英文查看我的應用程序。
UPDATE:找到並添加我澄清的答案,但接受的答案讓我去的正確途徑。所以謝謝。
這裏是我的了:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xxxxxxxxxxx"
android:versionCode="2"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.CAMERA" />
<uses-feature android:name="android.hardware.camera.AUTOFOCUS" />
<application
android:hardwareAccelerated="true"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Holo.Theme"
android:name="org.holoeverywhere.app.Application">
<!-- Blank Activity -->
<activity
android:name=".BlankActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Access Activity -->
<activity
android:name=".AccessActivity"
android:label="@string/title_activity_access"
android:screenOrientation="portrait">
</activity>
<!-- Register Activity -->
<activity
android:name=".RegisterActivity"
android:screenOrientation="portrait"
android:label="@string/lbActRegister">
</activity>
<!-- Login Activity -->
<activity
android:name=".LoginActivity"
android:screenOrientation="portrait"
android:label="@string/lbActLogin">
</activity>
<!-- Recovery Activity -->
<activity
android:name=".RecoveryActivity"
android:screenOrientation="portrait"
android:label="@string/lbActRecovery">
</activity>
<!-- Dashboard Activity -->
<activity
android:name=".DashboardActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden|screenSize">
</activity>
<!-- Edit Profile Activity -->
<activity
android:name=".EditProfileActivity"
android:screenOrientation="portrait"
android:label="@string/lbActEditProfile">
</activity>
<!-- Feedback Activity -->
<activity
android:name=".FeedbackActivity"
android:screenOrientation="portrait"
android:label="@string/lbActFeedback">
</activity>
<!-- TOSU Activity -->
<activity
android:name=".TOSUActivity"
android:screenOrientation="portrait"
android:label="@string/lbActTerms">
</activity>
<!-- About Activity -->
<activity
android:name=".AboutActivity"
android:screenOrientation="portrait"
android:label="@string/lbActAbout">
</activity>
<!-- Donation Activity -->
<activity
android:name=".DonationActivity"
android:screenOrientation="portrait"
android:label="@string/lbActDonation">
</activity>
<!-- Image Upload Activity -->
<activity
android:name=".photo.ImageUploadActivity"
android:screenOrientation="portrait"
android:label="@string/lbActUpload"
android:configChanges="orientation|keyboardHidden|screenSize">
</activity>
<!-- Me Detail Activity -->
<activity
android:name=".photo.MeDetailActivity"
android:label="@string/lbActCollection"
android:parentActivityName=".DashboardActivity"
android:configChanges="orientation|keyboardHidden|screenSize">
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value=".DashboardActivity" />
</activity>
<!-- Explore Detail Activity -->
<activity
android:name=".photo.ExploreDetailActivity"
android:label="@string/lbActExplore"
android:parentActivityName=".DashboardActivity"
android:uiOptions="splitActionBarWhenNarrow"
android:configChanges="orientation|keyboardHidden|screenSize">
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value=".DashboardActivity" />
</activity>
<!-- Liked Detail Activity -->
<activity
android:name=".photo.LikedDetailActivity"
android:label="@string/lbActLikes"
android:parentActivityName=".DashboardActivity"
android:configChanges="orientation|keyboardHidden|screenSize">
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value=".DashboardActivity" />
</activity>
</application>
</manifest>
有您激活APK? – 2013-05-10 13:46:37
是的。這也是最新的Google Play商店。 – jerrytouille 2013-05-10 13:47:45
我會仔細檢查您的每個權限和硬件要求,請嘗試逐個刪除它們,看看哪一個讓您降到0. 也許其中一個存在拼寫錯誤。 – 2013-05-10 13:49:47