我的旧手机是三星galaxy sgh-t959。我直接从eclipse安装它,它工作正常。当我将其上传到Google Play开发者控制台时,它说我的手机不兼容。然后,我检查了我的清单文件并且很好。我检查了我的project.properties不确定是不是因为它使用了android-19,但是它是如何直接从eclipse中运行的?
这是我的清单代码:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.drakeillusion.yao"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="18" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity android:name="com.example.yao.about"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.am"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.dbm"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.editdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.modifydeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.dm"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.home"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homedeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homedeletedeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homeeditdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homenewdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.MainActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.newdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.om"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdeckeditdeck"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonsters"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersextra"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersside"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.resultsearch"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdeckeditdeck2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonsters2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersextra2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersside2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdeckeditdeck2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonsters2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersextra2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersside2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.TextPopupActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.templateactivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.HelloTabActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.TestPopupActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.deletedeckedit"/>
<activity android:name="com.example.yao.proprestict" />
<activity android:name="com.example.yao.FrameLayoutBody" />
<activity android:name="com.example.yao.loadingtask" />
<activity android:name="com.example.yao.RecipesDataSource" />
<activity android:name="com.example.yao.RecipesDataSourceAdaptor" />
<activity android:name="com.example.yao.RecipesDataSourceContent" />
<activity android:name="com.example.yao.poprestict" />
<activity android:name="com.example.yao.YAOhomedeckedit" android:screenOrientation="portrait"/>
<!-- tables -->
<activity android:name="com.example.yao.YAODeckList" />
<activity android:name="com.example.yao.YAODeckHieraticBlue" />
<activity android:name="com.example.yao.YAODeckDragonGod" />
<activity android:name="com.example.yao.YAODeckKingChaos" />
<!-- DATABASE HELPER AND SQL QUERIES -->
<activity android:name="com.example.yao.YAOMySQLiteHelper" />
<activity android:name="com.example.yao.YAODeckListDataSource" />
<activity android:name="com.example.yao.YAOGetDataSource2" />
<activity android:name="com.example.yao.deckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<!-- DETAIL EXPANATION OF THE CARD -->
<activity android:name="com.example.yao.CardDetail"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.zCardDetail"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<!-- CUSTOME LISTVIEW IMAGEVIEW, TEXT AND MORE -->
<activity android:name="com.example.yao.zCustomListActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.zCustomeUsersAdapter" />
<activity android:name="com.example.yao.XCustomListActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.XCustomeUsersAdapter" />
<activity android:name="com.example.yao.zresultsearch" />
<activity android:name="com.example.yao.actualeditdeck" />
<activity android:name="com.example.yao.zactualeditdeck" />
<activity android:name="com.example.yao.MainActivity2" />
<!-- lOADING BAR SCREEN -->
<activity android:name="com.example.yao.AddorDeleteCardMenu"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="landscape">
</activity>
<!-- method 2 Services for expansion files downloads -->
<activity android:name="com.example.yao.SplashActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape" />
<activity android:name="com.example.yao.EHShowCase" />
<activity android:name="com.example.yao.EHVideoPlayer" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape" />
<activity android:name="com.example.yao.EHImageViewer" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape" />
<service android:name="com.example.yao.EHDownloaderService" />
<receiver android:name="com.example.yao.EHDownloadBroadcastReceiver" />
<provider android:name="com.example.yao.EHZipUriProvider" android:authorities="com.example.yao.EHZipUriProvider" />
<activity android:name="com.example.yao.MyTabActivity"
android:theme="@style/CustomTheme"/>
<!-- MAIN CLASS CALLING (THE FIRST THING IS CALLED WHEN LOADING) -->
<activity
android:name="com.example.yao.EHExpansionFiles"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- method 1 Services for expansion files downloads -->
<service android:name="com.example.yao.ExpansionFileDownloaderService" android:label="@string/app_name" />
<receiver android:name="com.example.yao.ExpansionFileAlarmReceiver" android:label="@string/app_name" />
</application>
<!-- Required for exapnsion files -->
<!-- Required to access Google Play Licensing -->
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
<!-- Required to download files from Google Play -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Required to keep CPU alive while downloading files
(NOT to keep screen awake) -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Required to poll the state of the network connection
and respond to changes -->
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Required to check whether Wi-Fi is enabled -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<!-- Required to read and write the expansion files on shared storage -->
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
答案 0 :(得分:1)
你可以在这里尝试很多事情。
您的手机运行的是什么版本的Android操作系统?升级到最新的
尝试使用最新的平台版本(截至撰写本文时为21)。
将TargetSDKVersion
更改为最新的平台版本
android:targetSdkVersion="21"