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.

Allen Mackey
841 PointsNot getting RESPONSES with Crystal Ball
Emulator runs fine but when I click on 'Enlighten Me' I don't receive the numbers 0,1, or 2 and now I haven't gotten the yes, no, or maybe. Eclipse hasn't given me an error message either. Could someone explain what I may be doing wrong?
1 Answer

Bert Carremans
3,179 PointsHi Allen, are the ID's for your button and textview "button1" and "textView1". Make sure that these are the correct ID's.
Based your description above, this might be the cause of your problem.
Allen Mackey
841 PointsAllen Mackey
841 Pointspackage com.example.crystal.ball;
import java.util.Random;
import android.os.Bundle;
import android.app.Activity; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.TextView;
public class MainActivity extends Activity {
}