Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App with Java Creating the Screen Layout Adding a Button

Can't install Android SDK there is a ERROR Message Please Help

I look on youtube can't find anything because they are using a older version btw this is a easy fix. I don't know what to do next? My whatsapp number is (804) 939-8749 Thanks.

[IMG]http://i67.tinypic.com/5xloo2.png[/IMG]

activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent" >

  <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

</RelativeLayout>
Steve Bell
Steve Bell
Courses Plus Student 272 Points

close down your project and go back to the start screen and click on configure to install the SDK. you will need to click on the "configure" button then click on SDK MANAGER, once this screen appears at the top do you see the path to your Android SDK Location.. oncer you set the path then you will need to download the SDK into this path.

3 Answers

I did that and it's still not working. I also install debugger for SDK. My whatsapp # is (804) 939-8749 I am trying to do this tonight :(

Steve Bell
PLUS
Steve Bell
Courses Plus Student 272 Points

are you running AS 3.0 ? can you pleas confirm you have the following installed

java development kit 8/9...jdk can you close the run window and take a screen shot of the first window

I don't even have java dev kit setup yet. The video course video I was watching did not even say I needed that. Misleading video. You can Teamview my pc and help me I would appreciate it my whatsapp number is (804) 939-8749

Steve Bell
PLUS
Steve Bell
Courses Plus Student 272 Points

unfortunately I'm unable to remote to ypur pc from where i am. if you read the below then google, where you can get the jdk from a local usa based server.

The Android SDK uses the JDK to compile your .java files to .class bytecode. When you build the project all .java files get converted to .class. For which you need JDK. Now the dx tool of adk converts all .class files to classes.dex file .And this classes.dex file is executed on dalvik virtual machine.Aug 28, 2013

O.K Thank You for explaining. I right have someone right in my area that can help me if not I will ask someone to TeamView Thanks Alot.