-
Notifications
You must be signed in to change notification settings - Fork 580
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
Any plan to support Android 14 with targetSdk = 34 #1315
Comments
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
@dji-dev Please inform me if have any update for this |
@dji-dev we would also really appreciate if SDK 4 could be updated to target Android 14 (API level 34), otherwise we will not be able to provide updates to our app after August 31st 2024. Thank you |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
@dji-dev I would also like to make this request as we have an app using your SDK. When we target API level 34, the app crashes with exception:
Thanks! |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
The linked Zendesk ticket isnt working for me. Can anyone explain what that was about? Or has there been any updates? August 31st is sooner than you think... Please DJI. and we get it, "work expands to fill the time available for its completion", but the rest of us need your work done so we can get our work done before the 31st. |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
@dji-dev The plan is in progress, right? |
Apart from the requirements from the Google Store, do you have any other expectations for Android 14? For example, new features in Android 14? I would like to understand if failing to release the compatible version by August 31st would be a blocking issue. If so, could you please explain why?@huongta157 @Simon-Richards @brien-crean At this moment, I cannot confirm if a version compatible with Android 14 will be released before August 31st, as the development time is too short. If the app has already been released, you can try applying for an extension with Google. |
@dji-lyt Thank you for your feedback.
|
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
@dji-dev @dji-lyt The value it brings is the ability to continue to distribute our app via Google Play. If DJI SDK 4 does not support We have already been granted an extension up until November 1st, but beyond that our app will be removed from the Play store if this SDK is not updated to support Will it be possible for SDK 4 to support |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
I have the same problem, however the last update I published to my app on the Google Play store included I thought perhaps I could fork this repo and make the necessary changes however I find that this repo doesn't contain the source code 👎 I'm pretty upset all-round. If the new v5 DJI SDK supported all the drones, then I would have migrated to it by now - however this isn't the case. It's a pretty minor change to make it work, just call
It's crashing at
I hope it's fixed soon, there's definitely demand for it! |
@lachlanwp We will address the crashes you are experiencing in the version compatible with Android 14. |
same problem here, glad to see DJI team on it, please keep us posted for any update, thanks |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
Hi, my app meets the same problem, every phones with android 14 are crash when we update our app to API 34, (my app is user MSDK4). Please let me know when your team is update MSDK 4 that compatible to android 14, hoping it will be soon because 1/11, all app needs to up to date API 34. |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
It also crashes at |
The test version compatible with Android 14 has been released:https://github.com/dji-sdk/Mobile-SDK-Android/tree/sdk_releases/4.18-alpha @brien-crean @geeksilva97 @mitchrsm @lachlanwp |
quick question. From my tests no Android 14 both will always be denied. |
Agent comment from yating.liao in Zendesk ticket #111263: Are you experiencing any issues when running the sample code on Android 14? °°° |
@geeksilva97, I had similar issues and I tracked back via parent commits to work it out. I think you need to keep the
Here's the source: 2a142f2 |
@dji-dev @dji-lyt I've nearly got it running, however I noticed that somewhere along the updates this was changed: From this:
To this:
And the From this:
To this:
I tried to update my source, however my app fails as below:
and it won't let me connect to the aircraft so I can go to fly mode. It's also noted in the official docs here: https://developer-dji-com.translate.goog/doc/mobile-sdk-tutorial/cn/?_x_tr_sl=zh-CN&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=sc Any help would be greatly appreciated and it might help other folks who are also upgrading. |
Oh, I could handle it. I'm projecting more ppl facing the same thing and not knowing exactly what to do till the search a lot and fall here. @dji-dev I know the sample is not exclusively for Android 14. But Sample Code should work on Android 14 too. |
@dji-dev any clue for when we have dji-uxsdk too? I'm getting the following error
app/build.gradle
Looks like dependencies from This was not happening with version |
Thank you for your suggestion. I will forward it to the team. |
The UXSDK currently does not have an update plan. You may try replacing the MSDK module in the UXSDK with the latest alpha version. |
I managed to successfully compile and run my app on android 14 device with targetSdkVersion 34 and DJI SDK 4.18-a1 and uxsdk 4.16.2 (I have not tried the sample app). I still haven’t fully tested my app but don’t expect further problems. |
That's interesting. Have you done any specific configuration? |
I can't do this. Was anything different done in the packaging? It's really weird 4.17 works fine but 4.18 doesn't |
@dji-dev where does Thanks for all your hard work 👍 |
I was able to solve my issue. It has nothing to do with
where
I changed I'm now able to use my app and all functionality with the Alpha version of the SDK on Android 14.0. To clarify for others having trouble, I don't use the UXSDK anywhere in my app. Thanks DJI for your extra support and for making this possible, it means a lot! |
Where did you find this? when I downloaded the if it wasnt for your comment, SAVING THE DAY, I would have been screwed, I got really stuck on that part. Thank you so much for clearing this up! EDIT
Update. I see in the link you posted it mentions making the change for the MSDK 5. I guess my new question is how did you know that the MDSK 5 stuff applied to the Mobile-SDK v4.18 stuff as well? WORKINGThanks @lachlanwp for your comment about Receiver_exported. With that change I was able to get my code running on both Android 13 & 14 with Target SDK 34. I wasnt getting an error showing up in Android Studio, instead my app just crashed saying "One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't". Swapping things around to something like this was the last missing part.
Thanks Everyone and Thanks @dji-dev |
Hi there, did this new SDK version support for Android 14? |
Yes, it is compatible with Android 14. |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
@dji-lyt thank you so much |
@dji-lyt how about sdk V5? |
Agent comment from yating.liao in Zendesk ticket #111263: °°° |
Does your team have any plan to support Android 14 with targetSdk = 34?
Note: Currently I using target Sdk = 33 so my app work normal
Thank team so much! I hope to receive answer from your team early.
The text was updated successfully, but these errors were encountered: