作者sirdontup (花裤)
看板AndroidDev
标题[问题] 建立android application专案不成功
时间Sun Mar 16 00:00:53 2014
板上各位先进
新手上来求助一下
若觉得不适当, 会自行删文
以下是问题:
使用 android ADT bundle(v22.3), 要开始建立第一个android application专案
填入专案名称(test),application等名称, icon设定, activity layout等档案命名後
按了finishi後, 什麽也没做
并没有在画面上看到所谓的"Layout 排版画面"
而我把左边的树状图展开後
src里头是空的, 没有我当初命名的 activity.java
连res->layout展开也是空的, 没有我当初命名的 layout.xml
我把Error log window开起来看
看到两个warning
Warning: The environment variable HOME is not set. The following directory
will be used to store the Git user global configuration and to define
the default location to store repositories: 'C:\Users\XXXXX'. If this is
not correct please set the HOME environment variable and restart Eclipse.
Otherwise Git for Windows and EGit might behave differently since they
see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and
Warnings preference page.
Warning: EGit couldn't detect the installation path "gitPrefix" of native Git
. Hence EGit can't respect system level Git settings which might be
configured in ${gitPrefix}/etc/gitconfig under the native Git installation
directory.The most important of these settings is core.autocrlf. Git
for Windows by default sets this parameter to true in this system level
configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and
Warnings preference page.
还有三个错误
1.Failed to load properties file for project 'test'
2. exception stack trace:
Expression manifestOut is undefined on line 9, column 39 in recipe.xml.ftl.
The problematic instruction:
----------
==> ${escapeXmlAttribute(manifestOut)} [on line 9, column 18 in
recipe.xml.ftl]
----------
3.exception stack trace:
Expression manifestDir is undefined on line 4, column 39 in globals.xml.ftl.
The problematic instruction:
----------
==> ${manifestDir} [on line 4, column 37 in globals.xml.ftl]
----------
请问我该如何继续? warning 跟error可以忽略吗?
要怎麽才能看到常见的layout画面
以及看到 java与xml 本来该存在在树状图的档案
谢谢 0rz
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 42.78.240.36
1F:推 summerleaves:我知道更新到 22.6 会有些问题 不过 22.3 应该不会 03/16 00:05
2F:→ amhuang:部分问题请看4404 03/16 09:27
3F:→ sirdontup:自问自答一下 好像很多人都遇到 03/16 15:55
5F:推 t52101t:喔喔喔喔!!!!!终於能创建出来了 感谢QQ 03/17 14:05
6F:→ t52101t:是说我现在创建都变成ActionBarActivity了@@ 03/17 14:06