错误"无效的资源目录名称和QUOT;试图创建的PhoneGap在Eclipse Android应用程序时,应用程序、错误、名称、目录

2023-09-08 09:21:13 作者:哥只为你上线

我也跟着教程这里但是当我在Eclipse中创建项目,我得到一个错误无效的资源目录名的资源:绘制 - 华电国际路径/ HelloAndroid / RES型机器人AAPT问题

I followed the tutorial here but when I create the project in Eclipse, i get an error "invalid resource directory name. Resource: "drawable-hdpi" path "/HelloAndroid/res" type "Android AAPT Problem"

推荐答案

我相信你打错平台集。右键单击Eclipse中的项目名称,然后转到属性,然后单击在Android和至少选择了Android 1.6。

I believe you have the wrong platform set. Right click on the Project name in Eclipse and go to properties and then click on Android and select at least Android 1.6.