1
該應用程序在zipaligned之前運行良好。 簽名後,該應用無法安裝在我的手機或平板電腦上。我上傳了它到playstore。 它不顯示錯誤,但支持的設備顯示爲0. 是否有任何問題? 這裏是manifest.xml。Zipaligned應用程序出錯
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emapps.easystudy"
android:versionCode="1"
android:versionName="0.6" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-feature android:name="android.hardware.screen.portraits" />
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="22" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".StartActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".AwardsGrid"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".AwardsGreyGrid"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="screenslide.ScreenSlideActivity"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".MainActivity"
android:screenOrientation="portrait" >
</activity>
<receiver android:name=".Notificationmassage" >
</receiver>
<receiver android:name=".StudyingNotification" >
</receiver>
<activity
android:name=".Setting"
android:label="@string/title_activity_setting"
android:screenOrientation="portrait" >
</activity>
</application>
</manifest>
您是通過命令行還是使用Android Studio GUI對其進行簽名? – GuilhE
不,先生。我用Eclipse。 –
所以你正在用Eclipse構建一個簽名的apk,然後你試圖zipalign是它嗎? – GuilhE