zonghai-li / adb-ios Goto Github PK
View Code? Open in Web Editor NEWAndroid ADB on iOS
License: Apache License 2.0
Android ADB on iOS
License: Apache License 2.0
adb version(1.0.29) is too old to support Android 4.2 and above, would you please upgrade that, many thanks!
This function is what i need in my demo.I try to compile the adb.xcodeproj file and get the libadb.a. However when I drag this .a file to my demo , it comes to an error that indicates
"
_init_usb_transport", referenced from:
_register_usb_transport in libadb(transport.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"
which indicates something is missed.
What should i do to solve this issue?
Hi, thank you for this great project.
I want to use this project as a library or a pod in an app that's using swiftUI framework.
Therefore I am trying to just use the adb folder and copy-paste it to a new project, and then create an adb object like so:
var adb = AdbClient.init()
though it seems like Xcode doesn't recognize the folder as a lib when I copy it, and therefore I also can't declare the adb
object.
how can I use this project in a swiftUI app?
cheers!
I am interested in getting ADB to work on apple watch.
However, I realize the project was built for iOS (armv7, arm64, arm64e, armv7s) only. I tried to change Architectures, SDK and Supported Platforms in Build Setting but no luck.
Can you please give me some instructions on how to get this to work on armv7k and arm64_32
Demo app is crashing when put app in background for 30-40 seconds and coming back in foreground and execute some ADB command.
if we make new instance of ADB client then also crashing when we executing some command after coming to foreground.
I copied the file 'android' into the project. But still this error appears
/Users/hieunc/Git/CastApp/CastApp/adb/adb/adb_auth_host.c::get_user_keyfilepath():missing 'android' directory
/Users/hieunc/Git/CastApp/CastApp/adb/adb/adb_auth_host.c::get_user_key():Error getting user key filename/Users/hieunc/Git/CastApp/CastApp/adb/adb/adb_auth_host.c::adb_auth_init():Failed to get user key
When running disconnect command , it is causing the application to crash with Message from debugger: Terminated due to signal 13
I am trying to call shell command to a specific connected device. eg adb -s 192.168.0.104 shell input keyevent 20
What I found after reading comandline.c
file, I have to call adb_set_transport(ttype, serial);
before adb_connect([NSString stringWithFormat:@"shell:%@", cmd].UTF8String);
command where serial
is the IP address of the connected device.
But it failed to switch socket while calling switch_socket_transport(int fd)
PS: I am struggling to understand most of the ADB source codes. Is there any documentation for ADB?
I am developing an app which needs to use adb command. I use command line to input commands like "adb connect ip". But I found that some android device do not support adb cmd. So I want a adb sdk for android like your adb-ios. Do you know one?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.