I'm working on an Android Things robot.
I have a pretty big apk file because I'm including dlib face recognition libraries.
89.0Mb
When uploading my code it takes about 20 minutes every time.
This obviously slows down development significantly.
Some Additional information:
With android things I connect to the device with adb over wifi.
Then it does a split install.
The next time it runs it will just upload the slices that changed.
This speeds it up to a few minutes, however, about 50% of the time though is looses its connection somehow and I have to upload the whole thing again.
current version: 0.2-devpreview
adb install-multiple -r /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_9.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_0.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_4.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_7.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_2.apk /home/nburn42/maki-things/app/build/outputs/apk/app-debug.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_3.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_6.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_1.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/dep/dependencies.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_8.apk /home/nburn42/maki-things/app/build/intermediates/split-apk/debug/slices/slice_5.apk
Is the problem with:
A - My apk size - Edit (90MB transfered over the network should be much faster)
B - My internet connection - Edit (Not the problem)
C - Android Things itself
D - Something else?
Thanks a ton,
Nathan