Comments (6)
Did you install the required kernel modules?
run docker exec -it <container> sh
to get a adb shell
like env.
from redroid-doc.
Did you install the required kernel modules?
rundocker exec -it <container> sh
to get aadb shell
like env.
Yes, I did. See below
user@pc:~$ sudo apt-get install -y git kmod make gcc linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version (4:9.3.0-1ubuntu2).
kmod is already the newest version (27-1ubuntu2).
make is already the newest version (4.2.1-1.2).
git is already the newest version (1:2.25.1-1ubuntu3.1).
linux-headers-5.4.0-80-generic is already the newest version (5.4.0-80.90).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
user@pc:~$
user@pc:~$ lsmod | grep -e ashmem_linux -e binder_linux
binder_linux 180224 0
ashmem_linux 20480 0
user@pc:~$ grep binder /proc/filesystems
nodev binder
user@pc:~$ grep ashmem /proc/misc
58 ashmem
I did run sudo docker exec -it 5184d75c97ce sh, but still not winning
The other thing is if I run adb connect, it says failed to connect but when I run it again, it says already connected
user@pc:~$ adb connect 127.0.0.1:5555
failed to connect to 127.0.0.1:5555
user@pc:~$ adb connect 127.0.0.1:5555
already connected to 127.0.0.1:5555
user@pc:~$ adb devices
List of devices attached
4d00427a4c2f3101 device
127.0.0.1:5555 offline
user@pc:~$
from redroid-doc.
please provide following information:
docker exec <container> ps -A
docker exec <container> logcat
dmesg
from redroid-doc.
please provide following information:
docker exec <container> ps -A
docker exec <container> logcat
dmesg
user@pc:~$ sudo docker exec 5184d75c97ce ps -A
PID TTY TIME CMD
1 pts/0 00:00:00 bash
2848 pts/1 00:00:00 sh
3896 ? 00:00:00 ps
user@pc:~$ sudo docker exec 5184d75c97ce logcat
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "logcat": executable file not found in $PATH: unknown
user@pc:~$ dmesg
dmesg.log
from redroid-doc.
there are crash looping in your environment (and I cannot grab useful information).
can you limit pid_max
in your environment? run echo 65535 > /proc/sys/kernel/pid_max
, then re-create instance (docker kill <container>
and docker run -itd xxx
).
collect debug information like above if problem still exists.
from redroid-doc.
Had to delete everything and start afresh. All is sorted now, not sure what caused the previous issues
user@pc:~$ adb devices
List of devices attached
4d00427a4c2f3101 device
127.0.0.1:5555 device
emulator-5554 device
user@pc:~$
from redroid-doc.
Related Issues (20)
- Build Redroid 8 armv8a (64-bit) Exec format error HOT 8
- Is it possible to run a redroid container for arm64 on x86_64? HOT 8
- After mounting build.prop, the phone cannot install apk HOT 5
- Build Redroid 14 with MindTheGapps "upsilon" will encounter "unrecognized property 'preprocessed'" ERROR HOT 2
- 第二个 redroid 出现apex 错误 HOT 4
- weixin cannot be used on wechat HOT 5
- Weixin runing error HOT 4
- Docker Container crashing when another one starts. HOT 10
- Failed to open webview when log in wechat HOT 3
- No Network Connection in redroid HOT 1
- Cannot ADB Connect (offline) on Google Cloud ARM VM (T2A) HOT 2
- Issue with DNS Resolution Service HOT 7
- how to change proxy during runing? HOT 2
- how to use in openwrt? HOT 4
- Webview does'nt work HOT 3
- Game crash HOT 2
- [Question] Contribution HOT 2
- Battery emulation HOT 1
- 可以做一个开启selinux成功启动的版本吗 HOT 2
- fail to deploy on Deepin V23
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 redroid-doc.