Installation de l’environnement de développement

Dans cette page, nous décrirons pas à pas l’installation sous Windows d’un environnement de développement d’applications « Android ».

1°) Téléchargez la dernière version du JAVA DEVELOPPEMENT TOOL KIT (JDK). actuellement (Novembre 2012) la version est la n°7.

==== Nouvelle méthode =====

2°) Téléchargez le Android Développement Kit SDK qui contient Eclipse et le SDK. Décompressez le fichier dans un répertoire (exemple d:devADT). Puis lancez Eclipse (icône   située dans le sous répertoire Eclipse)

==== Ancienne méthode =====

2°) Téléchargez sur votre PC l’environnement de développement ECLIPSE 32 bits ou 64bits. Des informations générales sur ECLIPSE sont disponibles ici et pour plus de détails vous pouvez aller . La version actuelle est la version JUNO. Dès que le fichier compressé est récupéré, décompressez-le dans le volume et le répertoire de votre choix. (exemple c:eclipse).

3°) Téléchargez le Software Développement Kit SDK (actuellement version 20.0.3). Cliquez sur le fichier téléchargé et l’installer dans le même répertoire qu’Eclipse.

4°) Installez le plug-in Android Developpement Tools (ADT) pour Eclipse :

1. Lancez Eclipse en cliquant sur l’icône

2. selectionnez Help > Install New Software.

3. Cliquez sur Add, dans le coin en haut à droite.

4. Entrez  « ADT Plugin » pour le Name et l’URL suivante pour la Location https://dl-ssl.google.com/android/eclipse/

5. cliquez sur OK.

  1. If you have trouble acquiring the plugin, try using « http » in the Location URL, instead of « https » (https is preferred for security reasons).
  2. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  3. In the next window, you’ll see a list of the tools to be downloaded. Click Next.
  4. Read and accept the license agreements, then click Finish.If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
  5. When the installation completes, restart Eclipse.

5°) Pour tester vous pouvez utiliser un émulateur ou bien connecter un terminal Android.

Pour connecter un terminal il faut que ses drivers soient installés sur votre PC.

Pour tester la connexion :

The easiest way of getting ADB to work:

  1. Turn your phone OFF (Yes, off)
  2. Connect it to your pc and wait for windows to finish « installing the drivers »
  3. Try ADBing by going to ure fastboot folder (assuming it has the ADB executable inside the folder as well).
  4. You could check if your device was recognized by firing the command line using cmd : « adb devices »
If it doesn’t show anything then do the following:

  1. Grab the appropriate drivers
  2. Extract the drivers
  3. Now go to Start menu and right click on my computer and then click manage.
  4. Now go to device manager and there you should see your connected One X listed as being without a driver.
  5. Right click on that entry and select ‘update driver’
  6. Now tell it that you have the driver on local disk and then browse to the folder you extracted.
  7. Update your driver.
  8. Disconnect and reconnect the device and try ADBing again.
  9. Should work.

Éventuellement adapter le fichier de commande DOS suivant :

 d:\adt\sdk\platform-tools\adb kill-server  
 d:\adt\sdk\platform-tools\adb start-server  
 d:\adt\sdk\platform-tools\adb devices  
 pause  

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur la façon dont les données de vos commentaires sont traitées.

Articles récents
Commentaires récents
fatima dans Bienvenue !
AdminDroid dans Bienvenue !
fatima dans Bienvenue !
Archives
Catégories