Question

I'm currently using eclipse to build android apps, but according to the tutorial, there will file named main.xml in res>layout to create the design of my apps. However my layout is empty.

No correct solution

OTHER TIPS

I had posted about the same issue with extra information, but it was deleted. However, I found a solution so you can get the layout folder populated with the blank activity.

Instead of using the ADT package, download Eclipse and the SDK separately. Follow the details here, but download and unpack the SDK first. Click the DOWNLOAD FOR OTHER PLATFORMS link.

You will also need the location of your java JRE bin folder.

I hope that helps,

Lee.

Create a new project based on a template and everything will be set up as expected. It sounds like you may be new to Android. I would suggest reading through the documentation for building your first app. It will tell you all you need to know.

https://developer.android.com/training/basics/firstapp/index.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top