当我试图通过命令提示符安装apk时,它显示这样的错误 adb install "D:\vignesh\ruchi rapps\eRuchi-and riod.apk" EOCD not found, not Zip file 'D:\vignesh\ruchi rapps\eRuchi-andriod.apk' is not a valid zip file rm failed for /data/local/tmp/eRuchi-andriod.apk, No such file or directory 我已经find了这里的解决scheme, 在 这里 , 这里 ,但是提到的解决scheme是apk的源代码,但在我的情况下,我没有任何apk的源代码,我怎么能纠正这个问题?
尝试在Windows下logging我的应用程序的cpu使用情况(到文件)。 首先,我尝试了这个使用cmd adb shell top | grep com.myapp > log.log 这给“grep不被识别为内部或外部命令,可操作的程序或batch file”。 我猜窗口没有任何grep命令? 然后我使用了cygwinterminal的相同命令。 这导致了一个空的日志文件 。 所以我跑了相同的命令,但没有redirect输出 adb shell top | grep com.myapp 这返回了预期的输出 。 我也尝试用“2>&1”redirectstderr。 没有工作。 我究竟做错了什么?
我有所有的细节连接到一个特定的接入点。 我只能使用该接入点,所以我需要的是执行该命令的命令。