Air distriqt pushnotifications isSupported return false(版本=3)

Air distriqt pushnotifications isSupported return false(版本=3),air,ane,distriqt,Air,Ane,Distriqt,我在Android设备(Len.P70,Android.v5.1)上得到了错误的支持。 清单xml应该可以。 iOS设备工作正常。 已下载最新Pushane通知(#######2016.03.28更新) 知道原因吗?很可能是配置问题。isSupported标志检查应用程序的配置,并在您有所需的添加时返回true 确保您已经添加了其他ANE,并且您拥有这些ANE的最新版本: 核心 谷歌游戏服务 机器人支持 此外,您已更新清单,以包含所有新添加的内容(这些内容不同于v2),并将应用程序包替换为您

我在Android设备(Len.P70,Android.v5.1)上得到了错误的支持。 清单xml应该可以。 iOS设备工作正常。 已下载最新Pushane通知(#######2016.03.28更新)


知道原因吗?

很可能是配置问题。
isSupported
标志检查应用程序的配置,并在您有所需的添加时返回true

确保您已经添加了其他ANE,并且您拥有这些ANE的最新版本:

  • 核心
  • 谷歌游戏服务
  • 机器人支持
此外,您已更新清单,以包含所有新添加的内容(这些内容不同于v2),并将
应用程序包
替换为您的应用程序包,例如
air.com.distriqt.test

<manifest android:installLocation="auto">
    <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="23"/>

    <uses-permission android:name="android.permission.INTERNET"/>

    <!-- GCM PERMISSIONS -->                
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

    <!-- Only this application can receive the messages and registration result --> 
    <permission android:name="APPLICATION_PACKAGE.permission.C2D_MESSAGE" android:protectionLevel="signature" />
    <uses-permission android:name="APPLICATION_PACKAGE.permission.C2D_MESSAGE" />

    <application>
        <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

        <receiver
            android:name="com.google.android.gms.gcm.GcmReceiver"
            android:exported="true"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <category android:name="APPLICATION_PACKAGE" />
            </intent-filter>
        </receiver>
        <service
            android:name="com.distriqt.extension.pushnotifications.gcm.GcmListenerService"
            android:exported="false" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
            </intent-filter>
        </service>
        <service
            android:name="com.distriqt.extension.pushnotifications.gcm.InstanceIDListenerService"
            android:exported="false">
            <intent-filter>
                <action android:name="com.google.android.gms.iid.InstanceID" />
            </intent-filter>
        </service>
        <service android:name="com.distriqt.extension.pushnotifications.gcm.RegistrationIntentService" android:exported="false" />

        <activity android:name="com.distriqt.extension.pushnotifications.PushNotificationsActivity">
            <intent-filter>
                <action android:name="APPLICATION_PACKAGE.NOTIFICATION_DEFAULT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>             

        <!-- NOTIFICATIONS -->
        <receiver android:name="com.distriqt.extension.pushnotifications.notifications.receivers.NotificationReceiver">
            <intent-filter>
                <action android:name="APPLICATION_PACKAGE.NOTIFICATION_SELECTED" />
                <action android:name="APPLICATION_PACKAGE.NOTIFICATION_DELETED" />
                <action android:name="APPLICATION_PACKAGE.NOTIFICATION_ACTION" />
                <data android:scheme="dtpn" />
            </intent-filter>
        </receiver>

    </application>

</manifest>


Core(2016.04.01)GooglePlayServices(更新至v8487000)AndroidSupport(2015.11.18)GooglePlayServices(2016.03.28)AIR 21,但也尝试使用19(与GooglePlayServices中的数字相同)应用程序包-根据我的应用程序id,清单的其余部分与IntelliJ IDEA 2016.1.1相同,但在编译时保持不变<代码>意外的顶级错误:java.lang.OutOfMemoryError:com.android.dx.ssa.Dominators上的java堆空间。(Dominators.java:74)com.android.dx.ssa.Dominators.make(Dominators.java:88).
一旦我不包括com.distriqt.AndroidSupport或com.distriqt.GooglePlayServices,编译就可以了。确定在这种情况下,issupport Faily您应该尝试增加intellij的可用内存: