SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
LiveCoding : Hello world!
0. Installer Android Studio : http://developer.android.
com/sdk/installing/studio.html
LiveCoding : Hello world!
1. Démarrer Android Studio
2. Créer une nouvelle application Hello World!
LiveCoding : Hello world!
3. Accepter les options par défaut
4. Créer une activité MainActivity
LiveCoding : Hello world!
LiveCoding : Hello world!
5. Créer un terminal virtuel Android
LiveCoding : Hello world!
6. Exécuter le programme
7. Attendre le boot du terminal
LiveCoding : Hello world!
8. S'extasier devant sa première application Android
Si je veux utiliser Eclipse ?
Des instructions complètes pour ce dans ce Hello World!
http://developer.android.com/training/basics/firstapp/index.html
J’ai des soucis...
Si vous avez la v.0.2.7 d’Android Studio :
● “You must install the Android Support Repository
though the SDK Manager”
“You must install the Android Support Repository… ”
● Démarrer manuellement l’Android Manager
android-studio/sdk/tools/android
● Mettre à jour les fichiers Android Support Repository
“You must install the Android Support Repository… ”
● Copier le SDK vers un répertoire externe
cp -r android-studio/sdk /opt/android-sdk
● Configure Project Defaults Project Structure
“You must install the Android Support Repository… ”
● Nouveau SDK utilisant le repertoire SDK externe
“You must install the Android Support Repository… ”
● Re-démarrer Android Studio
○ Maintenant la création du projet devrait marcher
J’ai d’autres soucis...
Si vous avez la v.0.2.7 d’Android Studio :
● Lors du démarrage de l’émulateur vous obtenez
Gradle: : org.gradle.api.plugins. PluginInstantiationException :
Could not create plugin of type 'AppPlugin' .
Gradle: : java.lang. NoClassDefFoundError :
org/gradle/tooling/provider/model/ ToolingModelBuilderRegistry
...
● Il faut une version de Gradle supérieure à 1.5
http://www.gradle.org/
L’émulateur est trop grand !
Et il déborde de votre écran...
● Allez vers Edit Configurations
● Mettez -scale 0.75 (ou -scale 0.5 si besoin) dans
Emulator Additional command line options

Más contenido relacionado

Similar a GDG Rennes - Bootcamp Initiation Android - Hello World

Ateliers : Developpement mobile vs open source
Ateliers : Developpement mobile vs open sourceAteliers : Developpement mobile vs open source
Ateliers : Developpement mobile vs open source
Korteby Farouk
 
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour androidDébuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Bosco Basabana
 

Similar a GDG Rennes - Bootcamp Initiation Android - Hello World (20)

Ionic
IonicIonic
Ionic
 
Tutorial android - créer des apps
Tutorial android - créer des appsTutorial android - créer des apps
Tutorial android - créer des apps
 
Tutorial android
Tutorial androidTutorial android
Tutorial android
 
Ateliers : Developpement mobile vs open source
Ateliers : Developpement mobile vs open sourceAteliers : Developpement mobile vs open source
Ateliers : Developpement mobile vs open source
 
Android Studio, premier contact
Android Studio, premier contactAndroid Studio, premier contact
Android Studio, premier contact
 
Android Studio, premier contact
Android Studio, premier contactAndroid Studio, premier contact
Android Studio, premier contact
 
Android - Tp1 - installation et démarrage
Android - Tp1 -   installation et démarrageAndroid - Tp1 -   installation et démarrage
Android - Tp1 - installation et démarrage
 
Apache Cordova 3.3 de zéro
Apache Cordova 3.3 de zéroApache Cordova 3.3 de zéro
Apache Cordova 3.3 de zéro
 
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour androidDébuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
 
Xamarin notes- en français
Xamarin notes- en françaisXamarin notes- en français
Xamarin notes- en français
 
Développement web mobile avec IONIC 2
Développement web mobile avec IONIC 2Développement web mobile avec IONIC 2
Développement web mobile avec IONIC 2
 
Initiation au développement mobile sous Android
Initiation au développement mobile sous AndroidInitiation au développement mobile sous Android
Initiation au développement mobile sous Android
 
Développer une application android en 2015
Développer une application android  en 2015Développer une application android  en 2015
Développer une application android en 2015
 
Environnement java
Environnement javaEnvironnement java
Environnement java
 
Android wear
Android wearAndroid wear
Android wear
 
Guide_Installation_Android_Studio.pdf
Guide_Installation_Android_Studio.pdfGuide_Installation_Android_Studio.pdf
Guide_Installation_Android_Studio.pdf
 
Jug Lausanne Android Janvier2013
Jug Lausanne Android Janvier2013Jug Lausanne Android Janvier2013
Jug Lausanne Android Janvier2013
 
Hackathon Android Abidjan
Hackathon Android  AbidjanHackathon Android  Abidjan
Hackathon Android Abidjan
 
Hello droid
Hello droidHello droid
Hello droid
 
Chap android
Chap androidChap android
Chap android
 

Más de Horacio Gonzalez

Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27
Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27
Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27
Horacio Gonzalez
 

Más de Horacio Gonzalez (20)

Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27
Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27
Il n'y a pas que Polymer dans la vie… - RennesJS - 2017-06-27
 
But there is no web component for that - Web Components Remote Conference - 2...
But there is no web component for that - Web Components Remote Conference - 2...But there is no web component for that - Web Components Remote Conference - 2...
But there is no web component for that - Web Components Remote Conference - 2...
 
Mixité dans le monde des WebComponents - DevFest Toulouse - 2017-09-27
 Mixité dans le monde des WebComponents - DevFest Toulouse - 2017-09-27 Mixité dans le monde des WebComponents - DevFest Toulouse - 2017-09-27
Mixité dans le monde des WebComponents - DevFest Toulouse - 2017-09-27
 
ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 2/3 - HTML5, CSS3, Twitter B...
ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 2/3 - HTML5, CSS3, Twitter B...ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 2/3 - HTML5, CSS3, Twitter B...
ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 2/3 - HTML5, CSS3, Twitter B...
 
ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JS
ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JSENIB 2016 2017 - CAI Web S02E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JS
ENIB 2016 2017 - CAI Web S02E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JS
 
Battle of Frameworks: Polymer - Meetup Paris Web Components - 2016-09
Battle of Frameworks: Polymer - Meetup Paris Web Components - 2016-09Battle of Frameworks: Polymer - Meetup Paris Web Components - 2016-09
Battle of Frameworks: Polymer - Meetup Paris Web Components - 2016-09
 
Mixing Web Components - Best of Web Paris - 2016 06-09
Mixing Web Components - Best of Web Paris - 2016 06-09Mixing Web Components - Best of Web Paris - 2016 06-09
Mixing Web Components - Best of Web Paris - 2016 06-09
 
Polymer in the real life - Devoxx France - 2016 04-20
Polymer in the real life - Devoxx France - 2016 04-20Polymer in the real life - Devoxx France - 2016 04-20
Polymer in the real life - Devoxx France - 2016 04-20
 
Warp10: collect, store and manipulate sensor data - BreizhCamp - 2016 03-24
Warp10: collect, store and manipulate sensor data - BreizhCamp - 2016 03-24 Warp10: collect, store and manipulate sensor data - BreizhCamp - 2016 03-24
Warp10: collect, store and manipulate sensor data - BreizhCamp - 2016 03-24
 
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScriptENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
 
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 3/3 - Web Components avec Po...
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 3/3 - Web Components avec Po...ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 3/3 - Web Components avec Po...
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 3/3 - Web Components avec Po...
 
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 2/3 - HTML5 / CSS3 / Twitter...
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 2/3 - HTML5 / CSS3 / Twitter...ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 2/3 - HTML5 / CSS3 / Twitter...
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 2/3 - HTML5 / CSS3 / Twitter...
 
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQLENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
 
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 1/3 - HTTP, HTML, CSS JS
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 1/3 - HTTP, HTML, CSS JSENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 1/3 - HTTP, HTML, CSS JS
ENIB 2015 2016 - CAI Web S02E01- Côté Navigateur 1/3 - HTTP, HTML, CSS JS
 
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScriptENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
 
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 2/3 - HTML5, CSS3, Twitte...
ENIB 2015-2016 - CAI Web -  S01E01- Côté navigateur 2/3 - HTML5, CSS3, Twitte...ENIB 2015-2016 - CAI Web -  S01E01- Côté navigateur 2/3 - HTML5, CSS3, Twitte...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 2/3 - HTML5, CSS3, Twitte...
 
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JS
ENIB 2015-2016 - CAI Web -  S01E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JSENIB 2015-2016 - CAI Web -  S01E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JS
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 1/3 - HTTP, HTML, CSS, JS
 
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
 
Beyond Polymer - JUG Summer Camp - 2015-09-18
Beyond Polymer - JUG Summer Camp - 2015-09-18Beyond Polymer - JUG Summer Camp - 2015-09-18
Beyond Polymer - JUG Summer Camp - 2015-09-18
 
Mixing Web Components - Paris Web Components - 2015 09-16
Mixing Web Components - Paris Web Components - 2015 09-16 Mixing Web Components - Paris Web Components - 2015 09-16
Mixing Web Components - Paris Web Components - 2015 09-16
 

GDG Rennes - Bootcamp Initiation Android - Hello World

  • 1.
  • 2. LiveCoding : Hello world! 0. Installer Android Studio : http://developer.android. com/sdk/installing/studio.html
  • 3. LiveCoding : Hello world! 1. Démarrer Android Studio 2. Créer une nouvelle application Hello World!
  • 4. LiveCoding : Hello world! 3. Accepter les options par défaut 4. Créer une activité MainActivity
  • 6. LiveCoding : Hello world! 5. Créer un terminal virtuel Android
  • 7. LiveCoding : Hello world! 6. Exécuter le programme 7. Attendre le boot du terminal
  • 8. LiveCoding : Hello world! 8. S'extasier devant sa première application Android
  • 9. Si je veux utiliser Eclipse ? Des instructions complètes pour ce dans ce Hello World! http://developer.android.com/training/basics/firstapp/index.html
  • 10.
  • 11. J’ai des soucis... Si vous avez la v.0.2.7 d’Android Studio : ● “You must install the Android Support Repository though the SDK Manager”
  • 12. “You must install the Android Support Repository… ” ● Démarrer manuellement l’Android Manager android-studio/sdk/tools/android ● Mettre à jour les fichiers Android Support Repository
  • 13. “You must install the Android Support Repository… ” ● Copier le SDK vers un répertoire externe cp -r android-studio/sdk /opt/android-sdk ● Configure Project Defaults Project Structure
  • 14. “You must install the Android Support Repository… ” ● Nouveau SDK utilisant le repertoire SDK externe
  • 15. “You must install the Android Support Repository… ” ● Re-démarrer Android Studio ○ Maintenant la création du projet devrait marcher
  • 16. J’ai d’autres soucis... Si vous avez la v.0.2.7 d’Android Studio : ● Lors du démarrage de l’émulateur vous obtenez Gradle: : org.gradle.api.plugins. PluginInstantiationException : Could not create plugin of type 'AppPlugin' . Gradle: : java.lang. NoClassDefFoundError : org/gradle/tooling/provider/model/ ToolingModelBuilderRegistry ... ● Il faut une version de Gradle supérieure à 1.5 http://www.gradle.org/
  • 17. L’émulateur est trop grand ! Et il déborde de votre écran... ● Allez vers Edit Configurations ● Mettez -scale 0.75 (ou -scale 0.5 si besoin) dans Emulator Additional command line options