DJI-Mobile-SDK-Tutorials / Android-FPVDemo

This demo shows how to create a simple FPV view and how to take photo and record video using DJI Mobile SDK.
MIT License
62 stars 81 forks source link

Problem with dji.sdk.sdkmanager.DJIGlobalService #39

Open eyalmnm opened 5 years ago

eyalmnm commented 5 years ago

In the Android's Integrate SDK into Application tutorial, use are using the following sentence in manifest.xml file
<service android:name="dji.sdk.sdkmanager.DJIGlobalService" >

Adding this line causing to the following error -
'dji.sdk.sdkmanager.DJIGlobalService' is not assignable to 'android.app.Service' less... (⌘F1)
Inspection info: Validates resource references inside Android XML files.


I am using:

> compileSdkVersion 28
> minSdkVersion 19
> targetSdkVersion 28 gz#25311

dji-dev commented 5 years ago

Public comment from Lisa Fedane in Zendesk ticket #25311:

Hi there,

Thank you for posting your question, this is Lisa from DJI Developer Support and I'm looking into your issue now. In the meanwhile, can you confirm for me what version of the MSDK you are using?

Warm Regards,

Lisa Fedane
DJI Developer Support

eyalmnm commented 5 years ago

Hello Lisa, I am using the following sdk:

// DJI Sdk implementation 'com.dji:dji-sdk:4.10' compileOnly 'com.dji:dji-sdk-provided:4.10'

Thanks and have a nice day, Sincerely,

Eyal Muchtar EM-PROJECTS +373-68-677700 +972-52-2405134 eyal@em-projects.com Skype: eyalm_nm

On Wed, Jun 26, 2019 at 3:09 AM DJI notifications@github.com wrote:

Public comment from Lisa Fedane in Zendesk ticket #25311 https://djisdksupport.zendesk.com/agent/tickets/25311:

Hi there,

Thank you for posting your question, this is Lisa from DJI Developer Support and I'm looking into your issue now. In the meanwhile, can you confirm for me what version of the MSDK you are using?

Warm Regards,

Lisa Fedane DJI Developer Support

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DJI-Mobile-SDK-Tutorials/Android-FPVDemo/issues/39?email_source=notifications&email_token=AA3ZCCZ4R56CUQS3KV7UKYDP4KXSJA5CNFSM4H2XL2KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYR53KQ#issuecomment-505666986, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3ZCC3R3MRINMAPKV5Q7K3P4KXSJANCNFSM4H2XL2KA .

ibrahimsalgin commented 4 years ago

same problem here??

dji-dev commented 4 years ago

Public comment from Lisa Fedane in Zendesk ticket #25311:

If you look at the sample app https://github.com/DJI-Mobile-SDK-Tutorials/Android-ImportAndActivateSDKInAndroidStudio for this tutorial https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-integrate.html "dji.sdk.sdkmanager.DJIGlobalService" is not included. It looks like its function is taken care of somewhere else in the SDK. For now, I would leave it out and I will file a ticket with the Android MSDK team to look into this. It could be just that this was not updated in the tutorial.

Lisa Fedane
DJI Developer Support

Kiran-revanna commented 3 years ago

Is this problem resolved??

Syed-Affan-Hameed commented 2 years ago

Same problem here please resolve this issue

Syed-Affan-Hameed commented 2 years ago

I evaded the 'build fail' by commenting out the service tag from the manifest file. As point out by @LisaFedane the functionality is being taken care of elsewhere, we don't need this line anymore. I think they forgot to remove it from the documentation. The App runs well without this.