[問題] 建立android application專案不成功

看板AndroidDev作者 (花褲)時間11年前 (2014/03/16 00:00), 編輯推噓2(204)
留言6則, 4人參與, 最新討論串1/1
板上各位先進 新手上來求助一下 若覺得不適當, 會自行刪文 以下是問題: 使用 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
我知道更新到 22.6 會有些問題 不過 22.3 應該不會
03/16 00:05, 1F

03/16 09:27, , 2F
部分問題請看4404
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
喔喔喔喔!!!!!終於能創建出來了 感謝QQ
03/17 14:05, 5F

03/17 14:06, , 6F
是說我現在創建都變成ActionBarActivity了@@
03/17 14:06, 6F
文章代碼(AID): #1J97awIJ (AndroidDev)