简体   繁体   English

System.TypeInitializationException SDK

[英]System.TypeInitializationException SDK

I got a System.TypeInitializationException when I try to call DJISDKManager . 尝试调用DJISDKManager时遇到System.TypeInitializationException

It's on the first line of my script : 它在我脚本的第一行:

DJISDKManager.Instance.SDKRegistrationStateChanged += Instance_SDKRegistrationEvent;

The project is in .Net Core because I need this (or the Framework but the sdk seems to be not compatible) 该项目位于.Net Core中,因为我需要这个(或框架,但SDK似乎不兼容)

Any idea to fix this? 有什么想法解决这个问题?

which DJI SDK you are using? 您正在使用哪个DJI SDK? You try to use DJI Android SDK with .Net core? 您是否尝试将DJI Android SDK与.Net核心一起使用?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM