2017-01-27 8 views
0

私のアプリを開発してGoogle Playのベータチャンネルでテストしていて、すべてがうまくいきました。今日はイオン2決勝にアップデートしてイオンに渡しました私のためのAPKを構築するためのパッケージ...Google Play APKが無効にならない - イオン2

ionic package build android --profile android --release 

Google Playにそれをアップロードし、私は取得していますので、私が持っている...

A device with API levels in range 17+ is eligible to receive version 76, which is optimised for higher API levels, but actually receives version 3000328 because it has a higher version code. This would occur when Release track containing any of [BETA] and Screen layouts containing any of [small, normal, large, xlarge] and Native platforms containing any of [arm64-v8a, armeabi, armeabi-v7a, x86, x86_64] and Features containing all of [android.hardware.FAKETOUCH, android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.screen.PORTRAIT]. 

A device upgrading from API levels = 16 to API levels in range 17+ would become eligible to receive version 76, which is optimised for higher API levels, but would actually receive version 3000328 because it has a higher version code. This would occur when Release track containing any of [BETA] and Screen layouts containing any of [small, normal, large, xlarge] and Native platforms containing any of [arm64-v8a, armeabi, armeabi-v7a, x86, x86_64] and Features containing all of [android.hardware.FAKETOUCH, android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.screen.PORTRAIT]. 

A device with API levels in range 17+ is eligible to receive version 76, which is optimised for higher API levels, but actually receives version 3000258 because it has a higher version code. This would occur when Release track containing any of [BETA] and Screen layouts containing any of [small, normal, large, xlarge] and Features containing all of [android.hardware.FAKETOUCH, android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.screen.PORTRAIT]. 

A device upgrading from API levels = 16 to API levels in range 17+ would become eligible to receive version 76, which is optimised for higher API levels, but would actually receive version 3000258 because it has a higher version code. This would occur when Release track containing any of [BETA] and Screen layouts containing any of [small, normal, large, xlarge] and Features containing all of [android.hardware.FAKETOUCH, android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.screen.PORTRAIT]. 

Some devices are eligible to run multiple APKs. In such a scenario, the device will receive the APK with the higher version code. 

76は、2015年8月20日からの私の現在の製品版です(APIレベル16+)

3000258私はちょうど3000328を使用したいが、Googleが再生されません12月(APIレベル16+)

3000328から古いBETAは私の最新のベータ版が今日(APIレベル16+)から構築され

です3000258を無効にしましょう。

It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 3000258 (target SDK 23) to version 76 (target SDK 0). 

3000258を無効にできない理由はありますか?おかげ

答えて

1

私はあなたが(APIレベルを16+)を使用したAPIレベルがリストされていることがわかり、私はこれがminSdkVersionであると仮定していますが、重要な属性がチェックするために、この場合に設定targetSdkVersionです。

Android 6のGoogle/Androidの新しい権限システムの問題です。targetSdkVersionのアプリがリリースされた場合は、newer method of permissions management, that is not backward compatibleとなります。そのためGoogleでは、現在sdkVersion 23+の一部である古い権限システムを使用しているユーザーを下位バージョンにダウングレードすることはできません。


ionic build --releaseあなたが明示的にconfig.xmlにそれを知らせることなく、よりSDKのバージョンでは、過去にバージョンを提出した理由かもしれないデフォルトで利用可能な最高のSDKのバージョンを、選択しているようです。何らかの理由で、あなたのビルドではより小さいsdkバージョンが使用されているため、表示されているエラーが発生します。

すぐに解決策は、SDK v23のtargetSdkVersionを強制して、アクティベーションプロセスを確実に通過させることです。しかし、のみAndroid 6+デバイスがアプリをダウンロードして使用できることを意味します。

あなたはビルドプロセスを再実行した後 <preference name="android-targetSdkVersion" value="23" />

を追加して、イオンのプロジェクトのルートにこのSDKのバージョン​​3210を強制することができ、ダブルそれはthis formatで正しく伝播していることを確認するには、Androidマニフェストを確認してください。

そのすべてを失敗
<uses-sdk android:minSdkVersion="16" 
      android:targetSdkVersion="23" 
      android:maxSdkVersion="23" /> 

、StackOverflowのユーザーが完全にベータテストを無効にすることを必要とすることa potential workaroundを報告しています。

+0

私はそれをGoogleにアップロードしたときに 'APIレベル14 +ターゲットSDK 23 'と表示されました。 以前のM権限(ターゲットSDK 23以上)を旧式のアクセス許可を使用するAPK(ターゲットSDK 22)にダウングレードすることは禁じられています。この設定は、次の理由で公開することはできません。以下)。これはバージョン3000258(ターゲットSDK 23)からバージョン76(ターゲットSDK 0)への変更で発生します._ – CarlRyds

1

問題は約3000258ではありません。76の問題があります。おそらくターゲットSDKのバージョンが76で、SDKターゲットの問題を解決してから3000258を無効にする必要があります。

3000258 SDKのバージョンを変更しようとしている場合に備えて、これを書いたのです。 SDK Target of 76を既に変更しようとした場合は、この回答に気にしないでください。

+0

バージョン76にはAPIレベル17 +とターゲットSDK-があります – CarlRyds

+0

両方のエラーはバージョン76のAPIレベル古いバージョンよりも。それをよくチェックしましたか? – ReadyFreddy

関連する問題