Closed tr0043t closed 3 years ago
After forcing a complete refresh from the repository, the build got past the failure noted above. The build now fails at the end with lint issues, which I'm looking at now ... Thanks!
This appears to be the problem:
Missing Default ../../src/main/res/layout-land/dialog_waypointsetting.xml:2: The layout "dialog_waypointsetting" in layout-land has no declaration in the base layout folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent" 4 android:layout_height="wrap_content" 5 android:orientation="vertical"
And ... through the expedient of disabling lint, I'm now getting successful signed apk builds. Not installed or tested yet, but major progress. Thanks again for this great work!
Installed OK and MSDK registered OK ...
And it works! Bravo!
I just copy the libs together in the intermediate build folder. I think smth goes south merging the libs together (jniLibs vs jar provided), didnt bother investigating tho. Gonna close it as u got it running.
Hi. Especially given the perpetual pushing back of the Mini 2 MSDK by DJI (now supposedly end of December -- don't hold your breath!) I'm very pleased to see this project! I've worked quite a bit with MAVLink and QGC, so I hope I'm able to contribute going forward (more waypoint actions would be high on my list). However, I'm so far unable to get an apk build, with linking currently stopped at:
FAILED: libdjivideojni.so
I've seen some discussion of this in other forks, but no general form solutions. Any advice on getting a runnable build (I've tried on Linux, CrOS, and Win10) would be greatly appreciated. I'm assuming no working apk is available for testing? Thanks very much!