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 Testing and Debugging Running an App on a Device

Can't connect my samsung A5 with android studio

Hi! i have try a lot to connect my samsung A5 with the PC,running windows 7. a driver has installed, the steps where have to make from developers option in samsung are ok BUT can't success! if you know something please send me a feedback. Thanks a lot!

4 Answers

Hey Eleni,

When you connect through the USB cable, you should get a notification on the samsung a5 asking for which connection type you want to use. Try selecting the Camera (PTP) option.

Hi Josh, Thanks a lot for your answer. Samsung doesn't give me this notification but open the files in my computer. Sorry but i don't know how to make this with Camera (PTP) option. Can you tell me little more?is it a way to connect withn android?

To select a USB connection protocol, open the Settings app, tap Storage, tap the menu button, and tap USB computer connection. You’ll also see the protocol your device is using as a notification when it’s connected to a computer via USB.

OR:

I am on Android 6. If I charge my phone I can see a notification for charging only ... so when I type on this notification I can choose between MTP/PTP and MIDI ... so you should go with PTP like Josh suggested

Hey Josh, truly thanks, you helpt me a lot!!!!!!!! this you suggest me was the solution. Have a happy new year.

Thanks a lot Grigorij, have a happy new year!

Hi Eleni,

do you have USB-debugging activated?

You find it under developers options, activate it and the computer should start see your phone.

Grigorij

Hi Grigorij, Thanks for your answer Yes the USB-debugging is activated, my computer can see the samsung but the android studio can't!!