0

我通过以下方式将代码复制到我的计算机上

svn checkout http://desk-clock.googlecode.com/svn/trunk/desk-clock-read-only

进入文件夹C:\Programming\desk-clock-read-only

我尝试通过现有源中的 File/New/Other/Android/Android Project 创建项目。我选择C:\Programming\desk-clock-read-only路径。

出于某种原因,eclipse 只想导入C:\Programming\desk-clock-read-only\res. 源文件在其中,C:\Programming\desk-clock-read-only因此它们不会被导入。

只有一个空的 src 文件夹。

我该怎么做才能正确导入项目?

4

1 回答 1

0

I dont't know how the developer of this project managed it to run this but usually the java files belong inside the src folder and the manifest definitely not inside the res folder. If you change this Eclipse(or the IDE of your preference) might recognize it, but you'll maybe get some errors because just putting the java files inside the src folder shouldn't solve it. You actually need a package. Check your manifest for that.

于 2012-12-07T18:26:48.210 回答