我正在使用android開發人員軟件包,每次啓動新應用程序時,res文件夾中的佈局目錄都是空的。這是一個錯誤還是我做錯了什麼?Eclipse不生成活動xml佈局文件?
0
A
回答
0
更新Eclipse插件:
Eclipse --> Help --> Install new software -->
http://dl-ssl.google.com/android/eclipse/
我有同樣的問題,並幫助this。還可以看看 user3347036關於XML文件的答案。祝你好運!
0
其已知的Bug。 https://code.google.com/p/android/issues/detail?id=66647
問題66647:Android SDK下載的Eclipse捆綁軟件在嘗試創建新的Android應用程序時(在更新Android支持庫之後)不會創建主活動。
通過安裝更新爲解決這一問題:
click "Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/
0
更新Android SDK Manager上的最新軟件包。 更新Eclipse插件: Eclipse - >幫助 - >安裝新軟件 - >粘貼URL http://dl-ssl.google.com/android/eclipse/ 按Enter鍵。
請參閱Link
相關問題
- 1. 活動的隨機xml佈局文件
- 2. -eclipse-我在佈局文件夾中找不到佈局xml
- 3. Android活動的xml佈局
- 4. 不同的活動佈局文件
- 5. 佈局文件夾和src上沒有自動生成的xml文件
- 6. xml文件vs xml佈局
- 7. 無法從Eclipse中的xml佈局文件啓動android項目
- 8. Android動態生成佈局
- 9. 動態佈局生成Android
- 10. 使用單個佈局xml文件進行活動?
- 11. 如何在單一活動二佈局XML文件的Android
- 12. 創建由其他XML文件組成的XML佈局文件?
- 13. 用XML文件佈局填充佈局
- 14. 佈局XML文件或值XML文件?
- 15. 活動佈局不顯示
- 16. 將活動中定義的佈局更改爲xml佈局
- 17. Eclipse沒有爲R.java從XML文件自動生成ID
- 18. 使用XML佈局文件
- 19. 從佈局XML文件
- 20. Eclipse - ADT插件不自動完成xml
- 21. 動態生成XML VS生成XML文件
- 22. 活動完成後的佈局更改
- 23. 無法使用ADT eclipse打開Android佈局xml文件圖形佈局
- 24. 佈局Android活動
- 25. 佈局XML不是從佈局sw600dp文件夾
- 26. Xml文件生成
- 27. 生成XML文件
- 28. Android:如何從佈局文件自動生成Java代碼?
- 29. Eclipse不會創建主要活動和佈局
- 30. FrameLayout在自動生成的片段佈局xml