Comments (7)
Agent comment from yating.liao in Zendesk ticket #104656:
I can successfully initialize by running blank directly. If this is caused by a logic error in the code, it should occur on multiple devices.
Have you tried delaying for a longer period of time?
°°°
from mobile-sdk-android-v5.
Using Handler().postDelayed I tried a whole two minutes delay and still got the same error.
from mobile-sdk-android-v5.
Agent comment from yating.liao in Zendesk ticket #104656:
Could you please run the sample code of MSDK on the device where this crash occurs? Will the sample code also experience the same crash?
https://github.com/dji-sdk/Mobile-SDK-Android-V5
The crash you are currently experiencing indicates that the program cannot find SDKManager. If the sample code also encounters the same crash, there may be compatibility issues with the SDK.
°°°
from mobile-sdk-android-v5.
Had the same issue, tried to call the SDKManager.getInstance.init()
method in the ActivityClass (in onCreate method), not in the Application class, as they told us to do so in the tutorial, and it worked. Try it and see if it helps. Also try to run the method on the main thread (using getMainLooper for example).
from mobile-sdk-android-v5.
Agent comment from yating.liao in Zendesk ticket #104656:
The purpose of switching the main thread and moving interface calls to the Activity should be to place the interface calls after the decryption of the SDK. The role of com.secneo.sdk.Helper.install
is to trigger the decryption of the SDK, and before the decryption is completed, the SDK interfaces cannot be used properly.
°°°
from mobile-sdk-android-v5.
I called SDKManager.getInstance.init()
in the onCreate method of MainActivity class and it worked! Even without forcing a delay or execution on main thread.
Thanks a lot for the help!
from mobile-sdk-android-v5.
Agent comment from yating.liao in Zendesk ticket #104656:
I'm glad to hear that your issue has been resolved.
°°°
from mobile-sdk-android-v5.
Related Issues (20)
- Release 5.9.1 - Breaking change HOT 1
- Release 5.9.1 - Breaking Change HOT 5
- AF/MF Wide Camera HOT 1
- Take Photo not working any more - last Release HOT 12
- Laser Range Finder Limitations HOT 1
- Mini 3 Pro crash issue HOT 3
- Targeting U+ (version 34 and above) disallows creating or retrieving a PendingIntent with FLAG_MUTABLE HOT 1
- V5.9.1 Sample App Crash after small modification HOT 11
- Look At Mode HOT 8
- DTM Follow HOT 1
- Determining Drone Drift in Indoor Environments with Poor GPS Reception HOT 11
- Set White balance and ISO - H20T HOT 10
- function pushFlyZoneLicensesToAircraft in Mini 3 error Fly safe error : LicenseUnlockNotSupported. HOT 6
- Proper way to download photo from drone HOT 21
- MediaManager enable returns an error HOT 2
- minSDK 26 support HOT 1
- Set wind speed in simulator HOT 4
- ISO AUTO renders black/dark on 300 RTK HOT 10
- Not possible to chain promises returned by SDK to implement sequential logic HOT 3
- Set home coordinates manually? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-sdk-android-v5.