Spacemarine
Second Officer
Hong Kong
Offline
|
In the build.gradle file's dependencies section, you can exclude the package you don't want to use to reduce the final compiled apk size. In the sample code, two of the packages has been already excluded. They are "library-anti-distortion" and "fly-safe-database". If you want to exclude more packages, you can go to Maven server to find them. But be careful with it, you may cause crash if you exclude the essential package. Please feel free to share other ways to reduce compiled apk size in the reply section.
Maven Server Link:https://mvnrepository.com/artifact/com.dji
|
|