Frage

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.

Keine korrekte Lösung

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top