初学,
环境都配置好了,HELLOWORLD 也能在模拟器运行,
我在网上下载了几个例子,用ECLIPSE装载,第一行就有错
package com.test;
HELLOWORLD 的是 package HelloWorld.test;就没有错误
估计是设置问题,怎么改呢?

解决方案 »

  1.   

    你下载的工程导入到eclipse 右键import → existing project into workspace→select root diretory选择你要的路径就可以了
      

  2.   

    是general目录下的existing project into workspace
      

  3.   

    package com.test;这儿要改成你的现在的目录
      

  4.   

    多谢指点,我已经把项目导入到IDE,现在就是  PACKAGE COM.TEST (第一行)就出错
    下面的错误提示为3个The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this projectThe type java.lang.Object cannot be resolved. It is indirectly referenced from required .class filesUnable to resolve target 'android-7' until the SDK is loaded. 我以前做VC的,现在有ANDROID的项目,从头学起
      

  5.   

    好象是 BUILD PATH 的问题,在哪里能改 BUILD PATH 呢?