【发布时间】:2014-07-17 15:51:51
【问题描述】:
我是 Android 开发的新手。我使用运行 Windows 8.1 Pro 的戴尔笔记本电脑作为开发机器,使用运行 Android 4.4.4 的 Moto E 作为测试设备。 在 Eclipse 中运行应用程序时,会弹出 Android AVD 错误,提示“未找到兼容目标”。我在 Android 设备选择器中找不到我正在运行的 android 设备。我已经使用 USB 连接了它。 USB 调试已启用。我不知道我哪里错了。 我尝试通过 cmd 使用无线连接。 adb tcpip 5555 给出错误:找不到设备。
我已经尝试了互联网上所有可用的修复/解决方法。 1. adb kill-server 后跟 adb start-server 2.重启cmd 3. 检查驱动程序是否是最新的。 4. 设备管理器确实显示了我的设备:这意味着该设备确实已连接。
有什么方法可以检查我哪里出错了?为什么找不到设备连接?
我已从https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481 下载了最新的驱动程序。我正在使用从http://developer.android.com/sdk/index.html 下载的 Eclipse ADT Bundle 进行应用程序开发。
我已经关注了https://stackoverflow.com/questions/21408674/adb-error-device-not-found中给出的所有链接
AndroidManifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:
android="http://schemas.android.com/apk/res/android"
package="com.example.helloworld"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
【问题讨论】:
标签: android adb windows-8.1