remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.11k stars 295 forks source link

grep print error in redroid 11 "grep: (standard input): Invalid argument" #626

Open Wang-Yanping1996 opened 6 months ago

Wang-Yanping1996 commented 6 months ago

Step:

Just run origin redroid 11:

docker run -itd --rm --privileged \
    --pull always \
    -v ~/data:/data \
    -p 5555:5555 \
    redroid/redroid:11.0.0-latest

Then execute container shell: docker exec -it <container name> sh Run logcat command: logcat | grep "xxxxxx" unexpected output will appear in shell:

130|2b53dba3eada:/ # logcat |grep ypwang
grep: (standard input): Invalid argument
grep: (standard input): Invalid argument
grep: (standard input): Invalid argument
grep: (standard input): Invalid argument

But redroid 10 does not have this problem, do you have any idea ?

Thanks!

zhouziyang commented 6 months ago

Seems toybox 0.8.3-android specific issues, just ignore those errors? Or, try copy new toybox from redroid12 (/vendor/bin/toybox_vendor / /system/bin/toybox).