嗨我已經在我的android應用程序中使用舊版本的soomla插件,它工作正常,但是當我嘗試集成到最新版本(核心版本:1.0,StoreVersion:1.7.3)可用此錯誤彈出。Soomla GooglePlayIabService
SOOMLA GooglePlayIabService
(launchPurchaseFlow)錯誤購買項目從一個活動上下文之外調用startActivity()需要FLAG_ACTIVITY_NEW_TASK標誌。這真的是你想要的嗎?
SOOMLA SoomlaStore
ERROR:SoomlaStore失敗(launchPurchaseFlow)錯誤購買項目從一個活動上下文之外調用startActivity()需要FLAG_ACTIVITY_NEW_TASK標誌。這真的是你想要的嗎?
當我創建一個空的項目,並嘗試插件,我可以使購買成功。我希望它能與之合作的項目也沒有發生。還使用Facebook統一插件。 Unity版本是4.5.3。購買項目從活動上下文外部調用startActivity()時出現錯誤,需要使用FLAG_ACTIVITY_NEW_TASK標誌。這真的是你想要的嗎? 11-24 16:38:39.497:E/SOOMLA SoomlaStore(12139):錯誤:SoomlaStore失敗:(launchPurchaseFlow)購買項目從Activity上下文外調用startActivity()時需要FLAG_ACTIVITY_NEW_TASK標誌。這真的是你想要的嗎?
AndroidManifest file is below.
![<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0">
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_TASKS" />
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<uses-sdk android:targetSdkVersion="21" android:minSdkVersion="9" />
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true" android:name="com.soomla.SoomlaApp">
<activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
</activity>
<activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
</activity>
<activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:screenOrientation="behind" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
</activity>
<activity android:name="com.soomla.store.billing.google.GooglePlayIabService$IabActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
</activity>
<meta-data android:name="billing.service" android:value="google.GooglePlayIabService" />
<activity android:name="com.facebook.unity.FBUnityLoginActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
</activity>
<activity android:name="com.facebook.LoginActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
</activity>
<activity android:name="com.facebook.unity.FBUnityDeepLinkingActivity" android:exported="true">
</activity>
<activity android:name="com.TeenPatti.RoyalIndianPoker.MainActivity" android:label="@string/app_name">
</activity>
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ 1499084616994189" />
</application>
</manifest>][1]
下面是logcat的錯誤
你真的應該在http://answers.soom.la問你的SOOMLA問題 – refaelos 2015-06-02 13:56:02