Skip to main content

Featured

Android studio “SDK tools directory is missing”

Following 2 possible solutions will resolve this problem :  Solution1 : To fix the problem, it was required that I list the path to my corporate PAC file by using  Configure -> "Appearance and Behavior" -> System Settings -> HTTP Proxy . I selected "Automatic proxy configuration url:" Delete your  ~/.Android*  folders (losing all of your settings :/). Run Android Studio. It will show you a welcome wizard where it tries to download the SDK again (and fails due to my rubbish internet). Click the X on the wizard window. That will enable you to get to the normal welcome dialog. Go to Settings->Project Defaults->Project Structure and change the Android SDK location to the correct one. Solution 2 : To fix the problem, it was required that I list the path to my corporate PAC file by using  Configure -> "Appearance and Behavior" -> System Settings -> HTTP Proxy . I selected "Automatic proxy configuration url:&quo

Connect real Device to Eclipse and run application in real Device

for resolving the problem just 7 steps are required,and these all are mandatory only for first time:
  1. Connect your android phone with the pc on which you are running eclipse/your map project.
  2. Let it install all the necessary drivers.. When done, open your smart phone,                                       First you need to enable USB debugging on your phone, then connect it to your computer via USB. Then eclipse should automatically start debugging on your phone instead of the AVD.                                                                                                                                                                    for doing all this go to: Settings > Applications > Development > USB debugging and enable it on by clicking on the check button at the right side.
Debugging checkbox
  1. Also, enable Settings > Unknowresoures
  2. Come back to eclipse on your pc. Right click on the project/application, Run As > Run configurations... >Choose Device>Target Select your device Run.
  3. Click on the Target tab from top. By default it is on the first tab Android
  4. Choose the second radio button which says Launch on all compatible deivces/AVDs. Then clickApply at the bottom and afterwards, click Run.
  5. Here you go, it will automatically install your application's .apk file into your smart phone and make it run over it., just like on emulator.

refer : http://www.tutorialspoint.com/android/android_environment_setup.htm

Comments

Post a Comment