dadb icon indicating copy to clipboard operation
dadb copied to clipboard

A Kotlin/Java library to connect directly to an Android device without an adb binary or an ADB server

Results 22 dadb issues
Sort by recently updated
recently updated
newest added

error: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Base64; Looks like java.util.Base64 is only available on Android starting with API level 26. On older Android versions we'd need to use android.util.Base64

I want to ask. What is the effort to use it as an android library? is it even possible? I see the JVM target. Thank you. :)

On the latest version I get this exception on push and install: ``` Caused by: java.net.SocketException: Broken pipe at okio.OutputStreamSink.write(JvmOkio.kt:56) at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:99) at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.kt:255) at okio.RealBufferedSink.writeIntLe(RealBufferedSink.kt:230) at dadb.AdbWriter.write(AdbWriter.kt:78) at dadb.AdbWriter.writeOpen(AdbWriter.kt:52)...

``` Exception in thread "main" java.io.IOException: Command failed (host:transport:131xxxxxxx19J): device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set Try 'adb kill-server' if that seems wrong. Otherwise check for a confirmation...

I'm trying to install a base.apk and various split.apks using dadb.install-multiple() This command fails with an error saying that the session isn't finalized. The equivalent ADB command from a Windows...

When abb_exec isn't available, the install method falls back to pushing the apk file to the remote device in the /data/local/tmp/ folder and then using 'shell pm install' to try...

The example given is: dadb.push(srcFile, "/data/local/tmp/dst.txt") That does not work since push requires 4 parameters including 'mode' and 'last modified time'. I'm actually not sure what the valid values are...

I've just open an issue in maestro but it seems more like the problem is in dadb, can you check it? https://github.com/mobile-dev-inc/maestro/issues/595

Hi guys, I'm Victor, and I'm trying to run the library in a poc application to know how to use it. But the first method that I'm trying is "discover",...

The discover and create functions are hanging as long as the allow button has not been clicked. **Internally this is the open function that blocks endlessly.** Is this the desired...

enhancement