为什么logcat在我的Android中不显示任何东西(当用Eclipse开发应用程序时)?
它只是不打印任何东西。它是空的。
为什么logcat在我的Android中不显示任何东西(当用Eclipse开发应用程序时)?
它只是不打印任何东西。它是空的。
当前回答
这很简单。
从eclipse中关闭Logcat。
然后在Eclipse中按照以下步骤重新打开它。
窗口-显示视图-其他- Android - LogCat -好的
希望这能解决你的问题。
其他回答
如果您正在使用设备,最简单的检查就是重新启动Eclipse。
您不必关闭Eclipse
使用菜单文件→重新启动
在一两秒钟内,您应该会看到LogCat返回。
对我来说最简单的解决方案是:关机并重新启动我的手机和Eclipse。
也许你安装了Mylyn ?
http://code.google.com/p/android/issues/detail?id=1808
关闭logcat,然后从窗口→显示视图→其他重新打开logcat。
一加设备和Ubuntu操作系统:
Install Wine on Ubuntu Install ADB tools on Ubuntu sudo apt-get install android-tools-adb Now, attach your device to PC with USB. Open mounted "One Plus Drivers". A disc like icon Right click on OnePlus_USB_Drivers_setup.exe and run with Wine Then open the terminal in the present drive where your "OnePlus_USB_Drivers_setup.exe" and other driver files exists. And run ./adb_config_Linux_OSX.sh or sh adb_config_Linux_OSX.sh Close this terminal Open a new terminal and run adb server-start
你的一加设备会提示你将PC识别为调试代理。
现在,在终端上运行。它应该会显示你的设备。
adb devices
参考:[解决]Android Studio不识别我的一加二在Linux