本帖最后由 Bluebluesea 于 2012-02-02 16:53:01 编辑

解决方案 »

  1.   

    因为是android 2.1我怕用最新的ADT不匹配,上面的error executing aapt解决了,现在报的错误是:unparsed aapt error(s)!Check the console for output.然后console那边报了一大堆:
    ../res/kayout/main.xml:2:error: No resource identifier found for attribute 'orientation' in package 'android'
    ../res/kayout/main.xml:2:error: No resource identifier found for attribute 'layout_width' in package 'android'
    ...........
      

  2.   

    我只是才创建了一个android project。name,application name,package name,activity填了一下创建成功后就报“unparsed aapt error(s)!Check the console for output”和“R cannot be resolved to variable ”