Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
383 views
in Technique[技术] by (71.8m points)

google play console - DJI SDK for Android Doesn't Support Android App Bundles... Prove me wrong

Without getting into too much detail. The DJI SDK fails on registration when compiled as an Android App Bundle (AAB). This is true for our code as well as DJI's own example: https://github.com/DJI-Mobile-SDK-Tutorials/DJI-Android-SDK-Bundle-Sample The steps taken are as follows:

  1. download DJI's sample code.
  2. obtained a AppKey using "dji.sample.appbundlesupport" as instructed.
  3. replaced "Please enter your App Key here." with our app key in the dynamic_dji_sdk->manifests->Androidmanifest.xml
  4. If I build and deploy the app as an apk (using the configuration setting "Default APK"), it works as expected ('load dynamic' runs successfully and the SDK registration succeeds when 'Go to SDK' is pressed). If it is deployed as an aab (using the configuration setting "Using APK from app bundle"), it reports "load failed" and SDK registration cannot be attempted. This failure happens when it tried to register the app.

DJI claims its working correctly for them but I have a hard time believing that. I speculate that this article https://dronedj.com/2021/01/27/latest-dji-fly-android-app-only-available-from-djis-website-not-the-play-store/ is related to our issues.

Please prove me wrong and get the registration to work correctly so we can deploy our app to the Google Play Console.

Thanks!

question from:https://stackoverflow.com/questions/65929588/dji-sdk-for-android-doesnt-support-android-app-bundles-prove-me-wrong

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...