Comments (3)
Issue still seems to be present on 3.4.1. Same error:
11-14 14:33:36.575 9184-9438/com.dji.FPVDemo E/DJICrashHandler: uncaughtException 2
11-14 14:33:36.580 9184-9438/com.dji.FPVDemo E/UsbAccessoryService: final destroy() 71
11-14 14:33:36.610 9184-9445/com.dji.FPVDemo I/System.out: FinalHttp #2 calls detatch()
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/UsbAccessoryService: final destroy() 72
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/wm220: ****resetSwitchFromWifiFlag
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/DJIUsbAccessoryReceiver: receiver destroySession
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/UsbAccessoryService: final destroy() 73
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/UsbAccessoryService: final destroy() 75
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/UsbAccessoryService: final destroy() 76
11-14 14:33:36.680 9184-9438/com.dji.FPVDemo E/DJICrashHandler: uncaughtException 3
11-14 14:33:36.880 9184-9438/com.dji.FPVDemo E/DJICrashHandler: uncaughtException 4
11-14 14:33:36.880 9184-9438/com.dji.FPVDemo E/AndroidRuntime: FATAL EXCEPTION: Thread-11517
Process: com.dji.FPVDemo, PID: 9184
java.lang.SecurityException: getDeviceId: Neither user 10239 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at com.android.internal.telephony.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:5371)
at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:812)
at dji.internal.e.b.i(Unknown Source)
at dji.internal.e.b.c(Unknown Source)
at dji.internal.e.b.a(Unknown Source)
at dji.internal.e.c.run(Unknown Source)
from mobile-sdk-android.
Hi thank you for you reporting this issue. This bug is relative to the run time permission grant, developers should initialize the SDK only after the permission is granted in 6.0 version. Our developer will update the sample code and provide a precise life cycle of DJI SDK in android 6.0 in the coming future.
from mobile-sdk-android.
Thanks.
from mobile-sdk-android.
Related Issues (20)
- Dji Drone Gimbal Rotation HOT 19
- [Help] Restricted Zone HOT 1
- Camera's setFlatMode fails with error HOT 3
- [Help] Gimbal rotate auto reverses HOT 3
- Panorama support HOT 2
- Crash when calling registerApp()
- Altitude rise function is not accurate HOT 9
- DJI Air 2S Intelligent Flight Modes (ActiveTrack, Spotlight, POI) HOT 5
- The execution could not be executed HOT 4
- How to get a distance value to the .jpg file? HOT 3
- DJI SDK V5 LRF HOT 1
- How do I delete markers? HOT 1
- GetFirmwareVersion throwing an exception HOT 1
- switch map to camera on Flight page HOT 3
- dji.v5.manager.SDKManager.<init>(): [0x0] Constructor returning without calling superclass constructor HOT 2
- Bezier Curve HOT 3
- 说实话,官网的tutorial实在是过时了 HOT 8
- Angle and Heading of Drone HOT 1
- Any plan to support Android 14 with targetSdk = 34 HOT 14
- Home location set manually HOT 3
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.