IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Android Discussion :

cryptage fichier DES


Sujet :

Android

  1. #1
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut
    salut je veux crypté mon fichier avec le cryptage des qui a une idée merci ?

    j'ai essayé ce code mais j'ai une erreur d'exception
    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
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    package example.com.cryptage;
     
    import java.security.*;
    import javax.crypto.*;
     
    //
    // encrypt and decrypt using the DES private key algorithm
     
    public class PrivateExample {
     
       public static void main(String[] args) throws Exception {
          //
          // check args and get plaintext
          if (args.length != 1) {
             System.err.println("Usage: java PrivateExample text");
             System.exit(1);
          }
     
    //    byte[] plainText = args[0].getBytes("UTF8");
          String ss = "Hello world, haris is here!";
          byte[] plainText = ss.getBytes();
          //
          // get a DES private key
          System.out.println("\nStart generating DES key");
          KeyGenerator keyGen = KeyGenerator.getInstance("DES");
          keyGen.init(56);
          Key key = keyGen.generateKey();
          System.out.println("Finish generating DES key");
          //
          // get a DES cipher object and print the provider
          Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding");
          System.out.println("\n" + cipher.getProvider().getInfo());
          //
          // encrypt using the key and the plaintext
          System.out.println("\nStart encryption");
          cipher.init(Cipher.ENCRYPT_MODE, key);
          byte[] cipherText = cipher.doFinal(plainText);
          System.out.println("Finish encryption: ");
          System.out.println(new String(cipherText, "UTF8"));
     
          //
          // decrypt the ciphertext using the same key
          System.out.println("\nStart decryption");
          cipher.init(Cipher.DECRYPT_MODE, key);
          byte[] newPlainText = cipher.doFinal(cipherText);
          System.out.println("Finish decryption: ");
     
          System.out.println(new String(newPlainText, "UTF8"));
       }
    }

  2. #2
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Citation Envoyé par Jaafar_scorpion Voir le message
    j'ai essayé ce code mais j'ai une erreur d'exception
    Donne le stacktrace complet de ton exception

  3. #3
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
     
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  Internal Error (classFileParser.cpp:3468), pid=9964, tid=9888
    #  Error: ShouldNotReachHere()
    #
    # JRE version: 7.0-b119
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b03 mixed mode windows-amd64 compressed oops)
    # An error report file with more information is saved as:
    # C:\Users\hp\Cryptage\hs_err_pid9964.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #

  4. #4
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Bug de la jvm. Vu que vous êtes dans une version beta de la 7.0, rapporter le bug à oracle et attendre

  5. #5
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut pardon
    pardon mais j'ai pas compris bien tu parle sur la version de jdk ?

  6. #6
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    je parle bien du java 7 en beta que vous utilisez oui.
    C'est une beta, faut pas trop s'étonner de la voir crasher.

  7. #7
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut
    Citation Envoyé par tchize_ Voir le message
    je parle bien du java 7 en beta que vous utilisez oui.
    C'est une beta, faut pas trop s'étonner de la voir crasher.
    alors il faut que je désinstalle version 7 et j'installe 6

  8. #8
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut
    c 'est le même problème voila logcat

    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
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    03-27 11:28:07.313: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
    03-27 11:28:07.313: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
    03-27 11:28:07.313: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
    03-27 11:28:07.313: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
    03-27 11:28:18.263: ERROR/MemoryHeapBase(51): error opening /dev/pmem: No such file or directory
    03-27 11:28:18.263: ERROR/SurfaceFlinger(51): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    03-27 11:28:18.383: ERROR/libEGL(51): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
    03-27 11:28:18.813: ERROR/libEGL(62): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
    03-27 11:28:22.663: ERROR/BatteryService(51): Could not open '/sys/class/power_supply/usb/online'
    03-27 11:28:22.663: ERROR/BatteryService(51): Could not open '/sys/class/power_supply/battery/batt_vol'
    03-27 11:28:22.663: ERROR/BatteryService(51): Could not open '/sys/class/power_supply/battery/batt_temp'
    03-27 11:28:23.283: ERROR/EventHub(51): could not get driver version for /dev/input/mouse0, Not a typewriter
    03-27 11:28:23.283: ERROR/EventHub(51): could not get driver version for /dev/input/mice, Not a typewriter
    03-27 11:28:23.593: ERROR/System(51): Failure starting core service
    03-27 11:28:23.593: ERROR/System(51): java.lang.SecurityException
    03-27 11:28:23.593: ERROR/System(51):     at android.os.BinderProxy.transact(Native Method)
    03-27 11:28:23.593: ERROR/System(51):     at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    03-27 11:28:23.593: ERROR/System(51):     at android.os.ServiceManager.addService(ServiceManager.java:72)
    03-27 11:28:23.593: ERROR/System(51):     at com.android.server.ServerThread.run(SystemServer.java:162)
    03-27 11:28:23.604: ERROR/AndroidRuntime(51): Crash logging skipped, no checkin service
    03-27 11:28:24.833: ERROR/LockPatternKeyguardView(51): Failed to bind to GLS while checking for account
    03-27 11:28:30.283: ERROR/ActivityThread(111): Failed to find provider info for com.google.settings
    03-27 11:28:30.293: ERROR/ActivityThread(111): Failed to find provider info for com.google.settings
    03-27 11:28:31.283: ERROR/ApplicationContext(51): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
    03-27 11:28:34.193: ERROR/vold(26): Cannot start volume '/sdcard' (volume is not bound)
    03-27 11:28:32.279: ERROR/ActivityThread(109): Failed to find provider info for android.server.checkin
    03-27 11:28:34.229: ERROR/ActivityThread(109): Failed to find provider info for android.server.checkin
    03-27 11:28:34.419: ERROR/ActivityThread(109): Failed to find provider info for android.server.checkin
    03-27 11:28:36.059: ERROR/MediaPlayerService(30): Couldn't open fd for content://settings/system/notification_sound
    03-27 11:28:36.149: ERROR/MediaPlayer(51): Unable to to create media player
    03-27 11:28:36.699: ERROR/jdwp(207): Failed sending reply to debugger: Broken pipe
    03-27 11:28:39.128: ERROR/AndroidRuntime(222): Uncaught handler: thread main exiting due to uncaught exception
    03-27 11:28:39.139: ERROR/AndroidRuntime(222): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{example.com.cryptage/example.com.cryptage.main}: java.lang.ClassNotFoundException: example.com.cryptage.main in loader dalvik.system.PathClassLoader@4376ac98
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2324)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.ActivityThread.access$2100(ActivityThread.java:116)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.os.Handler.dispatchMessage(Handler.java:99)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.os.Looper.loop(Looper.java:123)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.ActivityThread.main(ActivityThread.java:4203)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at java.lang.reflect.Method.invokeNative(Native Method)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at java.lang.reflect.Method.invoke(Method.java:521)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at dalvik.system.NativeStart.main(Native Method)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222): Caused by: java.lang.ClassNotFoundException: example.com.cryptage.main in loader dalvik.system.PathClassLoader@4376ac98
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.Instrumentation.newActivity(Instrumentation.java:1097)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2316)
    03-27 11:28:39.139: ERROR/AndroidRuntime(222):     ... 11 more
    03-27 11:28:39.178: ERROR/dalvikvm(222): Unable to open stack trace file '/data/anr/traces.txt': Permission denied
    03-27 11:28:40.638: ERROR/ActivityThread(51): Failed to find provider info for com.google.settings
    03-27 11:28:40.638: ERROR/ActivityThread(51): Failed to find provider info for com.google.settings

  9. #9
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Bonjour,
    Vu ton erreur tu dois avoir un souci dans tes ressources .

    Fais un clean sur ton projet et vérifie bien tes déclarations dans tes fichiers xml .

  10. #10
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut
    méme quand je test avec java je tombe de cette erreur
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  Internal Error (classFileParser.cpp:3375), pid=376, tid=3568
    #  Error: ShouldNotReachHere()
    #
    # JRE version: 6.0_24-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode windows-amd64 compressed oops)
    # An error report file with more information is saved as:
    # C:\Users\hp\Cryptage\hs_err_pid376.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #

  11. #11
    Membre très actif
    Inscrit en
    Mars 2011
    Messages
    230
    Détails du profil
    Informations forums :
    Inscription : Mars 2011
    Messages : 230
    Par défaut probléme cryptage des
    salut j'ai changé code mais toujours le mémé problème lorsque je fais RUn il m'affiche un message d'exception
    voila mon code
    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
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
     
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
     
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.ShortBufferException;
    import javax.crypto.spec.SecretKeySpec;
     
     
     
    public class PrivateExample{
     
    protected static String crypting(String textToCrypting, String keyString ) {
     
    Cipher cipher = null;
    try {
     
    cipher = Cipher.getInstance("DES");
    } catch (NoSuchAlgorithmException ex) {
     
    ex.printStackTrace();
    } catch (NoSuchPaddingException ex) {
     
    ex.printStackTrace();
    }
     
     
    byte[] keyData = keyString.getBytes();
     
     
    SecretKeySpec key = new SecretKeySpec(keyData, 0, keyData.length, "DES");
    try {
     
    cipher.init(Cipher.ENCRYPT_MODE, key);
    } catch (InvalidKeyException ex) {
     
    ex.printStackTrace();
    }
     
     
    int cypheredBytes = 0;
     
     
    byte[] inputBytes = textToCrypting.getBytes();
    byte[] outputBytes = new byte[100];
    try {
     
     
    cypheredBytes = cipher.doFinal(inputBytes, 0, inputBytes.length, outputBytes, 0);
    } catch (IllegalStateException ex) {
    ex.printStackTrace();
    } catch (ShortBufferException ex) {
    ex.printStackTrace();
    } catch (IllegalBlockSizeException ex) {
    ex.printStackTrace();
    } catch (BadPaddingException ex) {
    ex.printStackTrace();
    }
     
     
    String str = new String(outputBytes, 0, cypheredBytes);
    inputBytes = str.getBytes();
    return str;
    }
     
     
    protected static String decrypting(String textCrypting, String keyString ) {
     
    cipher = Cipher.getInstance("DES");
    } catch (NoSuchAlgorithmException ex) {
    ex.printStackTrace();
    } catch (NoSuchPaddingException ex) {
    ex.printStackTrace();
    }
     
     
    //The lenght of keyString is 8. It's important characteristic
    //for encryption
     
    byte[] keyData = keyString.getBytes();
     
    //key object specifies a secret key
    //it uses to construct the secret key for our cipher object from a byte
    //array
    SecretKeySpec key = new SecretKeySpec(keyData, 0, keyData.length, "DES");
     
    try {
    //change state of the cipher object for decrypting
    cipher.init(Cipher.DECRYPT_MODE, key);
    } catch (InvalidKeyException ex) {
    ex.printStackTrace();
     
    }
    int cypheredBytes = 0;
    byte[] inputBytes = textCrypting.getBytes();
    byte[] outputBytes = new byte[1000];
    try {
    //decrypts data
    cypheredBytes = cipher.doFinal(inputBytes, 0, inputBytes.length,
    outputBytes, 0);
    } catch (IllegalStateException ex) {
     
    } catch (ShortBufferException ex) {
     
    } catch (IllegalBlockSizeException ex) {
     
    } catch (BadPaddingException ex) {
     
    }
     
    String str = new String(outputBytes, 0, cypheredBytes);
    return str;
    }
     
    }
    voila le logcat
    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
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    04-01 13:25:30.437: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
    04-01 13:25:30.437: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
    04-01 13:25:30.437: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
    04-01 13:25:30.437: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
    04-01 13:25:41.656: ERROR/MemoryHeapBase(51): error opening /dev/pmem: No such file or directory
    04-01 13:25:41.656: ERROR/SurfaceFlinger(51): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    04-01 13:25:41.797: ERROR/libEGL(51): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
    04-01 13:25:42.256: ERROR/libEGL(62): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
    04-01 13:25:46.267: ERROR/BatteryService(51): Could not open '/sys/class/power_supply/usb/online'
    04-01 13:25:46.267: ERROR/BatteryService(51): Could not open '/sys/class/power_supply/battery/batt_vol'
    04-01 13:25:46.267: ERROR/BatteryService(51): Could not open '/sys/class/power_supply/battery/batt_temp'
    04-01 13:25:46.946: ERROR/EventHub(51): could not get driver version for /dev/input/mouse0, Not a typewriter
    04-01 13:25:46.946: ERROR/EventHub(51): could not get driver version for /dev/input/mice, Not a typewriter
    04-01 13:25:47.187: ERROR/System(51): Failure starting core service
    04-01 13:25:47.187: ERROR/System(51): java.lang.SecurityException
    04-01 13:25:47.187: ERROR/System(51):     at android.os.BinderProxy.transact(Native Method)
    04-01 13:25:47.187: ERROR/System(51):     at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    04-01 13:25:47.187: ERROR/System(51):     at android.os.ServiceManager.addService(ServiceManager.java:72)
    04-01 13:25:47.187: ERROR/System(51):     at com.android.server.ServerThread.run(SystemServer.java:162)
    04-01 13:25:47.197: ERROR/AndroidRuntime(51): Crash logging skipped, no checkin service
    04-01 13:25:49.798: ERROR/ActivityThread(110): Failed to find provider info for com.google.settings
    04-01 13:25:49.798: ERROR/ActivityThread(110): Failed to find provider info for com.google.settings
    04-01 13:25:49.798: ERROR/ApplicationContext(51): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
    04-01 13:25:49.798: ERROR/vold(26): Cannot start volume '/sdcard' (volume is not bound)
    04-01 13:25:54.077: ERROR/ActivityThread(106): Failed to find provider info for android.server.checkin
    04-01 13:25:55.017: ERROR/ActivityThread(51): Failed to find provider info for com.google.settings
    04-01 13:25:55.017: ERROR/ActivityThread(51): Failed to find provider info for com.google.settings
    04-01 13:25:55.777: ERROR/ActivityThread(106): Failed to find provider info for android.server.checkin
    04-01 13:25:55.968: ERROR/ActivityThread(106): Failed to find provider info for android.server.checkin
    04-01 13:26:02.557: ERROR/AndroidRuntime(231): Uncaught handler: thread main exiting due to uncaught exception
    04-01 13:26:02.587: ERROR/AndroidRuntime(231): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{ok.example.com/ok.example.com.main}: java.lang.ClassNotFoundException: ok.example.com.main in loader dalvik.system.PathClassLoader@4376aab0
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2324)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.ActivityThread.access$2100(ActivityThread.java:116)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.os.Handler.dispatchMessage(Handler.java:99)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.os.Looper.loop(Looper.java:123)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.ActivityThread.main(ActivityThread.java:4203)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at java.lang.reflect.Method.invokeNative(Native Method)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at java.lang.reflect.Method.invoke(Method.java:521)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at dalvik.system.NativeStart.main(Native Method)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231): Caused by: java.lang.ClassNotFoundException: ok.example.com.main in loader dalvik.system.PathClassLoader@4376aab0
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.Instrumentation.newActivity(Instrumentation.java:1097)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2316)
    04-01 13:26:02.587: ERROR/AndroidRuntime(231):     ... 11 more
    04-01 13:26:02.607: ERROR/dalvikvm(231): Unable to open stack trace file '/data/anr/traces.txt': Permission denied

Discussions similaires

  1. Réponses: 23
    Dernier message: 23/05/2006, 16h52
  2. Nbr de chargement des fichiers des <link>
    Par durand2504 dans le forum Général Conception Web
    Réponses: 2
    Dernier message: 14/03/2006, 10h43
  3. fichier des mots de passe
    Par Isabella dans le forum Oracle
    Réponses: 6
    Dernier message: 25/02/2006, 08h52
  4. [Info]Parcours de l'arborescence fichier des postes clients
    Par klael dans le forum Développement Web en Java
    Réponses: 3
    Dernier message: 16/09/2005, 09h38

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo