我正在为Android TV
by开发一个应用程序ADT-1 Developer Kit
。我可以从 安装应用程序Eclipse
。但我不能直接一步一步调试。我运行 Debug 但它不会进入任何断点。即使我启用了USB Debugging
。
更奇怪的事情是当我在 ADT-1 开发工具包上安装应用程序时,它不会自动启动应用程序,尽管应用程序徽标出现在 TV UI 上。
这是以下清单文件:
<uses-sdk
android:minSdkVersion="21"
android:targetSdkVersion="21" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="false" />
.....
<activity android:name="vng.zing.tv.activity.LoginActivity" >
<intent-filter>
android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
它显示如下日志
Android Launch!
adb is running normally.
No Launcher activity found!
The launch will only sync the application package on the device!
Performing sync
Automatic Target Mode: Several compatible targets. Please select a target device.
Uploading Example.apk onto device 'ZW2Z142308EE'
Installing Example.apk...
Success!
\Example\bin\Example.apk installed on device
它没有找到Activity
开始。
我应该怎么做才能解决问题?谢谢