Tweesty Posté(e) 13 novembre 2010 Share Posté(e) 13 novembre 2010 Bonsoir à tous! Lorsque j'inclus le fichier .jar du connector permettant d'établir une liaison avec le serveur Mysql, j'ai pleins de message d'erreurs: UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.util.ExceptionWithContext [2010-11-13 18:59:17 - 2] at com.android.dx.util.ExceptionWithContext.withContext(ExceptionWithContext.java:46) [2010-11-13 18:59:17 - 2] at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:340) [2010-11-13 18:59:17 - 2] at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131) [2010-11-13 18:59:17 - 2] at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main.processClass(Main.java:299) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main.access$100(Main.java:56) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main.processOne(Main.java:247) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183) [2010-11-13 18:59:17 - 2] at com.android.dx.command.dexer.Main.run(Main.java:139) [2010-11-13 18:59:17 - 2] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [2010-11-13 18:59:17 - 2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2010-11-13 18:59:17 - 2] at java.lang.reflect.Method.invoke(Method.java:616) [2010-11-13 18:59:17 - 2] at com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source) [2010-11-13 18:59:17 - 2] at com.android.ide.eclipse.adt.internal.build.PostCompilerHelper.executeDx(Unknown Source) [2010-11-13 18:59:17 - 2] at com.android.ide.eclipse.adt.internal.build.PostCompilerBuilder.build(Unknown Source) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627) [2010-11-13 18:59:17 - 2] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253) [2010-11-13 18:59:17 - 2] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) [2010-11-13 18:59:17 - 2] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [2010-11-13 18:59:17 - 2] Caused by: java.lang.NullPointerException [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper$SubroutineInliner.involvedInSubroutine(Ropper.java:1509) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper$SubroutineInliner.mapOrAllocateLabel(Ropper.java:1530) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper$SubroutineInliner.copyBlock(Ropper.java:1448) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper$SubroutineInliner.inlineSubroutineCalledFrom(Ropper.java:1404) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper.inlineSubroutines(Ropper.java:1278) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper.doit(Ropper.java:646) [2010-11-13 18:59:17 - 2] at com.android.dx.cf.code.Ropper.convert(Ropper.java:250) [2010-11-13 18:59:17 - 2] at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:252) [2010-11-13 18:59:17 - 2] ... 30 more ...while processing reuseAndReadPacket (Lcom/mysql/jdbc/Buffer;I)Lcom/mysql/jdbc/Buffer; ...while processing com/mysql/jdbc/MysqlIO.class [2010-11-13 18:59:17 - 2] 1 error; aborting [2010-11-13 18:59:17 - 2] Conversion to Dalvik format failed with error 1 Merci de votre aide! Lien vers le commentaire Partager sur d’autres sites More sharing options...
flofle Posté(e) 19 novembre 2010 Share Posté(e) 19 novembre 2010 C'est normal, le connector/J mysql n'est pas compatible avec Android, du moins pour le moment. Comme alternative, tu peux utiliser un web service pour accéder à des données PHP ;) Lien vers le commentaire Partager sur d’autres sites More sharing options...
Recommended Posts
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.