Android : Can't get same results as in Android develop tutorial

on Sunday, July 6, 2014


I'm trying to learn to design Android Apps, and I'm following the tutorials on android.com. I met disappointing problems in almost every step, some were solved, but these two stop me to go forward:


1. "Hello World"


As Runing your app chapter in the tutorial says


If you followed the previous lesson to create an Android project, it includes a default set of "Hello World" source files that allow you to immediately run the app.

I successfully created an AVD, then I tried to run the new project.
To run the app from Eclipse:

1. Open one of your project's files and click Run from the toolbar.

2. In the Run as window that appears, select Android Application and click OK.

But the project or any file in the project folder cannot run in this way



Tried to find the solution online, but none works.

Then I think, this may not be so necessary, so I moved to the next chapter.


2. fragment_main.xml


Also in the tutorial Building a Simple User Interface chapter, it says


Open the fragment_main.xml file from the res/layout/ directory.

The BlankActivity template you chose when you created this project includes the fragment_main.xml file with a RelativeLayout root view and a TextView child view.

Yes, I chose "BlankActivity" when I created this project, but my res/layout/ folder is empty



In a similar question this answer was accepted, he said a 22.6+ version Eclipse would help, my version is 23.0.0.1245622

I also followed this to update the plugins, here's the result



The "next" button is gray.

Alternative


If you don't have any idea to solve these problems, is this tutorial too old? Can you please tell me when you get started to learn Android Apps design what tutorial you read?


0 comments:

Post a Comment