1
我跟着這個指令: http://docs.aws.amazon.com/mobile/sdkforunity/developerguide/sns.html 但是當我玩團結的例子場景,這種錯誤出現了:團結不工作Amazon簡單通知
XmlException: expected '>' (3E) but found '<' (3C) Line 3, position 6.
Mono.Xml2.XmlTextReader.Expect (Int32 expected)
Mono.Xml2.XmlTextReader.ReadStartTag()
Mono.Xml2.XmlTextReader.ReadContent()
Mono.Xml2.XmlTextReader.Read()
System.Xml.XmlTextReader.Read()
Mono.Xml.XmlFilterReader.Read()
Mono.Xml.XmlFilterReader.Read()
System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.Load (System.IO.TextReader reader, LoadOptions options)
System.Xml.Linq.XDocument.Load (System.IO.TextReader reader)
Amazon.AWSConfigs+<>c__DisplayClass89_0.<LoadConfigFromResource>b__0()
Amazon.AWSConfigs.LoadConfigFromResource()
Amazon.AWSConfigs.GetSection[AWSSection] (System.String sectionName)
Amazon.Util.Internal.RootConfig..ctor()
Amazon.AWSConfigs..cctor()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Amazon.AWSConfigs
Amazon.Runtime.Internal.Util.Logger.ConfigureLoggers()
Amazon.Runtime.Internal.Util.Logger..ctor (System.Type type)
Amazon.Runtime.Internal.Util.Logger.GetLogger (System.Type type)
Amazon.Util.Internal.AmazonHookedPlatformInfo..cctor()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Amazon.Util.Internal.AmazonHookedPlatformInfo
Amazon.UnityInitializer.Awake()
UnityEngine.GameObject:AddComponent()
Amazon.UnityInitializer:AttachToGameObject(GameObject)
AWSSDK.Examples.SNSExample:Start() (at Assets/Examples/SNSExample.cs:66)
我也對設備進行測試,它沒有根本無法工作(在SNS控制檯上找不到任何應用程序端點)。我看到很多人在論壇,博客等方面與我有同樣的錯誤,但似乎沒有人找到解決方案。
請幫我解決這個問題,或者告訴我一個關於如何在Unity上使用Amazon Simple Notification Service的例子(哪些工作過)。
非常感謝!