[英]Android AVD incompatible device
Android : min version 13 target version 13 Android: 最低版本13 目标版本13
Device QVGA(ADP2)
320*480 MDPI
设备QVGA(ADP2)
320 * 480 MDPI
When i try to start the application, it says no compatible device find. 当我尝试启动该应用程序时,它说找不到兼容的设备。 What did i miss? 我错过了什么? Its just one activity and i just created it. 它只是一项活动,而我只是创建了它。 There is nothing in the XML files too. XML文件中也没有任何内容。 What should be the configuration of the AVD be? AVD的配置应该是什么?
Do i have to run the application only on tablets? 我是否必须仅在平板电脑上运行该应用程序? cant i use mdpi or ldpi devices? 我不能使用mdpi或ldpi设备吗?
manifest file 清单文件
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.smartcardholder"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="13"
android:targetSdkVersion="13" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.smartcardholder.HomeScreenActivity"
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>
(Are any of these AVDs running at the moment)?
If (yes) {
simply start one of the AVDs.
}
else {
(Is the running AVD giving you any log on LogCat)?
if (no) {
restart ADB server
}
else {
copy and paste your whole manifest file here,
there might be be some other limitation specified in it.
}
}
Try this- 尝试这个-
Right click on a project you want to run in package explorer
. 右键单击要在package explorer
运行的项目。 Then go on Run As -> Run Configurations
. 然后继续Run As -> Run Configurations
。 One box open, In tabs click on Target Tab
then check Automatically Pick Compatible Device -> Select Device
on which you want to run your project. 打开一个框,在选项卡中单击“ Target Tab
然后选中“ Automatically Pick Compatible Device -> Select Device
要在其上运行项目的设备”。 Click Apply
then Run
. 单击“ Apply
然后单击Run
。 Hope it works. 希望它能工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.