I am working through the tutorial for the Android Things SDK and I have the following set up:

pictures showing the Edison and its connections

I hooked up the hardware via the Android Things SDK and have a working handler for the button/switch working but it only works once. After that I need to restart the board to get the handler to fire again.

I'm new to this stuff so not really sure how to diagnose it. The SDK isn't reporting any errors and restarting the android app will re-print out all the available GPIO and messages I have so I know the board is "frozen", but that input will not respond again until I restart the entire board.

Any help or explanation appreciated.

Setup: Intel Edison. Red = power, black = ground. 10k resistor is connected to power (sorry for the photo).

  • 5
    Share your code as well. Commented Mar 7, 2017 at 20:20

1 Answer 1


Sorry for the late reply. It turns out the problem was configuration related. I was using a 10k ohm resistor and I should have been using a 330 ohm one. The issue, in my opinion, stemmed from some decently confusing images in the Android Things "Getting Started" guide and the fact that the Raspberry Pi is more popular (so the instructions were geared toward that specific configuration).

Thanks to everyone who replied. I figure this is at least useful in case someone who's super new to this (like me) makes the same mistake.

  • 3
    +1 for coming back to record the solution. Really, this is an electronics problem (threshold voltages and input currents), but as you say, it might help someone. Commented Mar 17, 2017 at 10:43
  • This is probably not the answer, but merely a random coincidence of something you changed at the same time as something that was the answer. Even if the 10K resistor were insufficient, a 330 ohm one is probably far in excess of need. Commented Sep 17, 2017 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.