然后我花了差不多24个小时,试图弄清楚发生了什么事情,仍然无法使其工作.我需要帮助.
p.s:“本地化:默认49种语言”字段:在我的应用程序中,我只有英文的默认值/ strings.xml,但我不介意用户在其他语言的手机上会看到我的应用程序的英文.
更新:发现并添加了我澄清的答案,但接受的答案让我走正确的道路.所以谢谢
这是我得到的:
<?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>解决方法 尝试用androID.harDWare.camera更改androID.harDWare.CAMERA.然后
For any of the permissions below,you can disable filtering based on
the implIEd feature by explicitly declaring the implIEd feature
explicitly,in a element,with an
androID:required=”false” attribute.
而根据permissions features,你没有添加功能androID.harDWare.camera.autofocus.
因此,添加此功能或更改您的相机权限:
<uses-feature androID:name="androID.harDWare.camera" androID:required="false" />
希望它的作品:)
总结以上是内存溢出为你收集整理的Android:我的应用程序支持0个设备全部内容,希望文章能够帮你解决Android:我的应用程序支持0个设备所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)