Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with dji.sdk.sdkmanager.DJIGlobalService #39

Open
eyalmnm opened this issue Jun 22, 2019 · 7 comments
Open

Problem with dji.sdk.sdkmanager.DJIGlobalService #39

eyalmnm opened this issue Jun 22, 2019 · 7 comments

Comments

@eyalmnm
Copy link

eyalmnm commented Jun 22, 2019

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
Copy link

dji-dev commented Jun 26, 2019

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
Copy link
Author

eyalmnm commented Jun 26, 2019 via email

@ibrahimsalgin
Copy link

same problem here??

@dji-dev
Copy link

dji-dev commented Jul 11, 2019

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
Copy link

Is this problem resolved??

@Syed-Affan-Hameed
Copy link

Same problem here please resolve this issue

@Syed-Affan-Hameed
Copy link

Syed-Affan-Hameed commented Dec 30, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants