Comments (7)
如果你的手机是多分辨率的(进入 adb shell 执行命令 wm size
有两个大小就是),那么需要到设置里将屏幕设置为固定分辨率,不同手机设置项不同但是都有。
from lamda.
分辨率是固定的,我用scrcpy连接手机是正常的,但网页中不行
from lamda.
执行 echo 'touch.backend=system' >>/data/usr/properties.local
并重启设备
from lamda.
这个问题得到已解决,但是我遇到新的问题
执行这个代码后报错,并且远程桌面也停止了,服务貌似都寄了。下面是完整报错内容
C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\python.exe C:\Users\Lenovo\PycharmProjects\lamda\main.py
Traceback (most recent call last):
File "C:\Users\Lenovo\PycharmProjects\lamda\main.py", line 5, in
d.beep()
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\lamda\client.py", line 1924, in beep
return self.stub("Util").beep()
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\lamda\client.py", line 1325, in beep
r = self.stub.beepBeep(protos.Empty())
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 277, in call
response, ignored_call = self._with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 332, in _with_call
return call.result(), call
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 438, in result
raise self
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 343, in with_call
return self._with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 332, in _with_call
return call.result(), call
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 438, in result
raise self
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 343, in with_call
return self._with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 332, in _with_call
return call.result(), call
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 438, in result
raise self
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 1178, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 1004, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNAVAILABLE: ipv4:192.168.1.25:65000: Connection refused"
debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNAVAILABLE: ipv4:192.168.1.25:65000: Connection refused {created_time:"2024-05-08T14:14:37.6286821+00:00", grpc_status:14}"
进程已结束,退出代码为 1
from lamda.
使用其他接口呢,例如 d.application("com.android.settings").start()
from lamda.
完整报错内容如下
C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\python.exe C:\Users\Lenovo\PycharmProjects\lamda\main.py
[email protected]:65000
Traceback (most recent call last):
File "C:\Users\Lenovo\PycharmProjects\lamda\main.py", line 6, in
d.application("com.android.settings").start()
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\lamda\client.py", line 1026, in start
r = self.stub.startApplication(req)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 277, in call
response, ignored_call = self._with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 332, in _with_call
return call.result(), call
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 438, in result
raise self
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 343, in with_call
return self._with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 332, in _with_call
return call.result(), call
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 438, in result
raise self
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 343, in with_call
return self._with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 332, in _with_call
return call.result(), call
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 438, in result
raise self
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 1178, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\grpc_channel.py", line 1004, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.1.25:65000: socket is null"
debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.1.25:65000: socket is null {grpc_status:14, created_time:"2024-05-09T04:54:09.1886935+00:00"}"
进程已结束,退出代码为 1
from lamda.
加群说吧
from lamda.
Related Issues (20)
- 调用rpc一直提示错误 HOT 1
- 能不能加一个开关,直接原生使用frida HOT 1
- 好像7.25有兼容问题,执行d.beep()会提示无法连接,换回7.0beta就正常 HOT 2
- 雷电模拟器 CRITICAL failed (1) HOT 3
- 为什么下不到7.18以前的版本了 HOT 2
- Implement frida anti-detection HOT 2
- 对安装了多开的app,例如炼妖壶多开,如何运行userid非0用户的app? HOT 1
- 谁能分享下7.0 - 7.18 之间的版本,被作者删了,下不到了。 HOT 1
- 关于证书安装的问题 HOT 4
- LAMDA 视频教程计划
- 作者有考虑修改下magisk里面包的version版本号吗? HOT 1
- Frida 检测反馈 HOT 10
- 无法检查界面上非重要元素的存在性
- Elements are not detected even though `info()` returns something. HOT 2
- 横屏安卓11的设备无法进行点击操作
- 作者考虑加入OCR文字识别吗? HOT 2
- 关于更新Magisk安装方式启用接口认证部分的wiki的建议
- 代理证书问题 HOT 3
- 界面操作问题,有些元素没有被识别到
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lamda.