[問題] 建立android application專案不成功
板上各位先進
新手上來求助一下
若覺得不適當, 會自行刪文
以下是問題:
使用 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
推
03/16 00:05, , 1F
03/16 00:05, 1F
→
03/16 09:27, , 2F
03/16 09:27, 2F
→
03/16 15:55, , 3F
03/16 15:55, 3F
→
03/16 15:56, , 4F
03/16 15:56, 4F
推
03/17 14:05, , 5F
03/17 14:05, 5F
→
03/17 14:06, , 6F
03/17 14:06, 6F