Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App (2014) Getting Started with Android Setting Up an Android Development Environment for Windows

Eleni Minadaki
Eleni Minadaki
3,687 Points

Can't install Java in my D:hardDrive

Hi, unfortunately i had to delete java from my C:hardDrive because have no space any more there. So i should install again in D:hardDrive thid time. i have try a lot(2 days...) but i can't. i have always a warning Error 1316: network error occured while attempting to read from file C:\windows\installer\jdk1.7.0_80msi and in cmd javac not recognized. if you know something send me please.

4 Answers

Hi Eleni,

This post from the Microsoft forums seems to describe your problem, and offers some solutions.

Hope that helps!

Eleni Minadaki
Eleni Minadaki
3,687 Points

Hello Evan, thanks a lot for your quick response. You helpt me a lot.

Eleni Minadaki
Eleni Minadaki
3,687 Points

Hello Evan, how are you? i would like to ask you something if you have time. I have a simple app which include image,text and 2 buttons. The problem is that my text is little large so i am looking for a method where the user can scroll down for to see all the text, while can see the image also. i hope my explanation was clear enough. Thanks anyway.

Hi Eleni,

Normally you'd want to open a new discussion for a different topic. That way, it opens the new discussion so everyone sees it as new and unanswered - in case I don't have the answer for your question!

That said, one way to solve this would be to go into your Activity (Java), and set

yourTextView.setMovementMethod(new ScrollingMovementMethod());

And in the TextView's XML,

android:maxLines = "AN_INTEGER"

android:scrollbars = "vertical"

hope that helps!

Eleni Minadaki
Eleni Minadaki
3,687 Points

Sorry,didn't know how to make for the new discussion. Thanks a lot for your answer. I will try it.