GithubHelp home page GithubHelp logo

Comments (3)

bisak avatar bisak commented on August 11, 2024

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.

SilverChangjian avatar SilverChangjian commented on August 11, 2024

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.

bisak avatar bisak commented on August 11, 2024

Thanks.

from mobile-sdk-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.