If you see the error adb server version (41) doesn't match this client (39) , it means you have two different versions of ADB installed on your system.
Use adb install --instant to test instant apps. With 1.0.41, this is twice as fast. Also, adb shell am start -W (wait for launch) now includes precise timings for app startup. adb 1.0.41
: Acts as a versatile command-line tool to communicate with Android devices for app installation, debugging, and file management. Three-Component Architecture : Utilizes a (on the PC), a (on the device), and a (background process managing the connection). Wide Compatibility : Supported on Windows, Linux, and macOS Key Improvements in 1.0.41 Default Port Restoration If you see the error adb server version