Update android-tools to 29.0.5
Changes:
- Slight performance improvement on Linux when using many simultaneous connections.
- Add --fastdeploy option to adb install, for incremental updates to APKs while developing.
JoshStrobl |
Triage Team |
Update android-tools to 29.0.5
Changes:
Built, installed and issued few adb and fastboot commands
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
package.yml | ||
---|---|---|
33 | Part of vim is used for building. If you check generate_build.rb script, you will notice use of binary xxd which comes with vim package. It is needed to convert file to bytearray which gets included in source of adb tool. | |
55 | This is new adb feature called fastdeploy. It works by uploading two files to your android phone on first run (deployagent.jar and deployagent.sh) and later it uses them to check from within the phone whether only the part of app needs to be updated and this way installing app via adb install becomes faster operation when you as an app developer incrementally update your app. Shell script deployagent.sh is used to invoke deployagent.jar, and both of those files are included in adb binary by converting them to bytearray and including that in adb source. We can build deployagent.jar from source but that requires installation of whole Android SDK and it would be too complicated to incorporate that in our build system. This way i just uploaded this pre-built file and it is used in build process. I actually didn't event build it myself, but i used official binary of adb and by using adb install --fastdeploy these files ended up on my phone and i just extracted deployagent.jar from my phone. The other file deployagent.sh shell script i use directly from android sources. |
package.yml | ||
---|---|---|
34 | forgot to remove it |
Not the biggest fan of the jar file but also don't think it's reasonable to require all of the SDK just for it so going to mark as accepted. Thanks for the patch.