Bonjour,
J'ai voulu faire ma première application et tenter le hello world, mais ca ne marche pas, j'ai l'erreur suivante :
Voici mon app.javaDevice's package manager not ready to install new packages
BUILD FAILED
Je suis sous netbeans 7.0
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.androideur.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; /** * * @author David */ public class HelloAndroid extends Activity { // http://www.androideur.com/tutoriel-android-hello-world /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); // ToDo add your GUI initialization code here TextView tv = new TextView(this); tv.setText("Hello, Android"); setContentView(tv); } }
Partager