You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWSSDK AmazonS3Config crashes on initialization with "MissingMethodException: Default constructor not found for type Amazon.Util.Internal.PlatformServices.NetworkReachability" error
#1627
Closed
KAbakumov opened this issue
Jun 2, 2020
· 4 comments
I am getting the following error when trying to run AWSSDK on my Android Unity APP
Failed to load catalog from the internet. Falling back to local catalogSystem.TypeInitializationException: The type initializer for 'Amazon.S3.AmazonS3Config' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Amazon.Util.Internal.PlatformServices.ServiceFactory' threw an exception. ---> System.MissingMethodException: Default constructor not found for type Amazon.Util.Internal.PlatformServices.NetworkReachability
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Util.Internal.PlatformServices.ServiceFactory..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Util.Internal.PlatformServices.ServiceFactory..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Util.Internal.InternalSDKUtils.BuildUserAgentString (System.String
hi @BatteryAcid
Im facing a issue.
When I remove "minsdk" line from manifest.
the apk builds fine but as soon as I openit it crashes.
And if I delete the manifest now build is working properly there is no crash, but the AWS SDK is not working.
I am getting the following error when trying to run AWSSDK on my Android Unity APP
I got Unity Packages from: http://sdk-for-net.amazonwebservices.com/latest/aws-sdk-unity.zip
Its version: aws-sdk-unity_3.3.750.0
I've added
AWSSDK.S3.3.3.111.4.unitypackage
to my project, and added references to all its libraries in my assembly references.Works fine in Unity Editor buy I am getting that error on Android device
Expected Behavior
App runs correctly
Current Behavior
I am getting this error on startup
Possible Solution
Steps to Reproduce (for bugs)
Create Unity APP,
Download archive from http://sdk-for-net.amazonwebservices.com/latest/aws-sdk-unity.zip
Add S3 unity package to your project
Add all libraries to your assembly as references
(Maybe - add some code which uses S3 client)
Run on Android
Context
Your Environment
.NET Core Info
dotnet --info
:The text was updated successfully, but these errors were encountered: