Ver mensagens sem resposta | Ver tópicos ativos Hoje é 18 Mai 2013, 12:14



Responder Tópico  [ 11 Mensagens ] 
 "Conversion to Dalvik format failed with error 1" 
Autor Mensagem
What is Android?
What is Android?

Data de registro: 23 Mai 2008, 11:12
Mensagens: 7
Mensagem "Conversion to Dalvik format failed with error 1"
Alguem sabe como resolver o erro "Conversion to Dalvik format failed with error 1"?


30 Mai 2008, 10:10
Perfil
Anatomy of an App
Anatomy of an App
Avatar de usuário

Data de registro: 12 Jan 2008, 21:16
Mensagens: 122
Mensagem Re: "Conversion to Dalvik format failed with error 1"
albinoneto escreveu:
Alguem sabe como resolver o erro "Conversion to Dalvik format failed with error 1"?


isso aconteceu comigo quando usava a versão M5-rc14 do SDK. Por acaso é essa versão que você está usando?

acho que é um bug da rc14 :?


30 Mai 2008, 15:22
Perfil
What is Android?
What is Android?

Data de registro: 23 Mai 2008, 11:12
Mensagens: 7
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Pessoal,

já resolvi o problema. Era pq estava usando dois jar que continha o mesmo pacote. Daí o Dalvik não sabia qual deles usar.

vlw


30 Mai 2008, 17:37
Perfil
Anatomy of an App
Anatomy of an App
Avatar de usuário

Data de registro: 12 Jan 2008, 21:16
Mensagens: 122
Mensagem Re: "Conversion to Dalvik format failed with error 1"
pqp não acredito q mudei de sdk por causa disso... hehehehe... (nem tinha percebido isso)

eu jurava que era um bug :oops:

Agora pelo menos outras pessoas que tiverem esse problema já saberam resolver...

valeu!


30 Mai 2008, 19:15
Perfil
Anatomy of an App
Anatomy of an App

Data de registro: 09 Jun 2011, 20:20
Mensagens: 119
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Amigo, meu projeto começou a dar esse problema, teria como explicar melhor pq eu não entendi direito como resolver isso.
Desde já obrigado


03 Dez 2011, 13:20
Perfil
Android application
Android application

Data de registro: 27 Nov 2011, 13:52
Mensagens: 69
Localização: Curitiba
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Hehe, também tive o mesmo problema quando atualizei o android aqui, fiquei p... da vida pois estava funcionando tudo corretamente, tive que retirar os jar, ou as app lib se tiver, limpar os projetos e depois adicionar novamente, simples, mas demorei um tempão pra descobrir que era isso.... /12

abs,

Evandro

_________________
Evandro P. Contato
ThinkTI - Soluções Inteligentes em Softwares
http://www.thinkti.com.br
http://www.facebook.com/ThinkTISolucoes
msn: evandrocontato@hotmail.com
41 3206-4760


12 Dez 2011, 11:38
Perfil WWW
What is Android?
What is Android?

Data de registro: 05 Set 2012, 02:28
Mensagens: 1
Mensagem Re: "Conversion to Dalvik format failed with error 1"
nao sei se posso postar aqui mais preciso da ajuda de vcs

amigos , estava usando o link2sd para aumentar o espaco da minha memoria interna , e estava ocorrendo tudo bem , ate eu comecar a transferir a pasta dalvik cache, fiz todos os comandos e dei reboot no celular pela própria linha de comando do adb shell.
so que agora meu celular nao liga por completo , ele so fica no modo reboot , queria transferir esta pasta para o celular novamente pra ver se eu conserto o bug . mais o celular nao e lido pelo computador, oque eu faco ? queria usar o adb com o celular desligado mais nao da certo , eu sei … mais sera que a uma solucao pra mim .
xperia neo
super user . me salvem por favor !!!!


05 Set 2012, 02:31
Perfil
Anatomy of an App
Anatomy of an App
Avatar de usuário

Data de registro: 10 Jan 2012, 11:28
Mensagens: 190
Localização: Belo Horizonte, MG
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Pode explicar melhor o caminho para resolver? Não localizei o local mas esta mensagem está ocorrendo comigo há alguns minutos e não sei o que fazer.

_________________
Daniel Tibúrcio
Ideia Informática Ltda.
http://www.ideiainformatica.com.br
(31)3291-9799
Skype ideia_daniel
"O Senhor é o meu Pastor, nada me faltará" Salmo 23:1


14 Mai 2013, 16:00
Perfil WWW
What is Android?
What is Android?

Data de registro: 23 Mai 2008, 11:12
Mensagens: 7
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Este erro acontece quando temos conflito nas bibliotecas do projeto, no meu caso eram dois jars que utilizavam o mesmo pacote. Você deve procurar em seu projeto quais jars podem estar utilizando classes de um mesmo pacote.


14 Mai 2013, 21:05
Perfil
Anatomy of an App
Anatomy of an App
Avatar de usuário

Data de registro: 10 Jan 2012, 11:28
Mensagens: 190
Localização: Belo Horizonte, MG
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Realmente tenho 2 jars com mesmo nome, android-support-v4.jar, mas tirei o que estava na pasta libs e o aplicativo dá os erros abaixo ao executar, lembrando que estou usando o ActionBarSherlock:


05-14 21:06:31.735: E/AndroidRuntime(2500): FATAL EXCEPTION: main
05-14 21:06:31.735: E/AndroidRuntime(2500): java.lang.Error: Unresolved compilation problems:
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type android.view.MenuItem cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type android.os.Bundle cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type android.view.View cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type android.view.Menu cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type android.content.Intent cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.io cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.util.ArrayList cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.util.Calendar cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.util.List cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.util.Scanner cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.text cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.app.AlertDialog cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.net cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.os.Bundle cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.widget cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.widget cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.widget cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import android.content.Intent cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The import java.lang.Object cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     The hierarchy of the type Principal is inconsistent
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type android.app.Activity cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     EditText cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Override cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method add(CharSequence) from the type Menu refers to the missing type CharSequence
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method add(CharSequence) from the type Menu refers to the missing type CharSequence
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method add(CharSequence) from the type Menu refers to the missing type CharSequence
05-14 21:06:31.735: E/AndroidRuntime(2500):     CharSequence cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method getTitle() from the type MenuItem refers to the missing type CharSequence
05-14 21:06:31.735: E/AndroidRuntime(2500):     Uri cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Uri cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     Intent cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Intent cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Intent cannot be resolved to a variable
05-14 21:06:31.735: E/AndroidRuntime(2500):     System cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     Bundle cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Calendar cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Calendar cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     Calendar cannot be resolved to a variable
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method findViewById(int) is undefined for the type Principal
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method findViewById(int) is undefined for the type Principal
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Object cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     AlertDialog cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     AlertDialog cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     InputStream cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     The method getResources() is undefined for the type Principal
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Spinner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Double cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Double cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     List cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     ArrayList cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Scanner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Scanner cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Double cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Double cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     String cannot be resolved to a type
05-14 21:06:31.735: E/AndroidRuntime(2500):     Double cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     Double cannot be resolved
05-14 21:06:31.735: E/AndroidRuntime(2500):     InputStream cannot be resolved to a
05-14 21:06:40.525: I/Process(2500): Sending signal. PID: 2500 SIG: 9
 

_________________
Daniel Tibúrcio
Ideia Informática Ltda.
http://www.ideiainformatica.com.br
(31)3291-9799
Skype ideia_daniel
"O Senhor é o meu Pastor, nada me faltará" Salmo 23:1


14 Mai 2013, 22:16
Perfil WWW
Anatomy of an App
Anatomy of an App
Avatar de usuário

Data de registro: 10 Jan 2012, 11:28
Mensagens: 190
Localização: Belo Horizonte, MG
Mensagem Re: "Conversion to Dalvik format failed with error 1"
Descobri que houve, foi uma mancada minha.

Excluí o item Android 4.2.2 da aba Libraries do Java Build Path, ao contrário do que o link do stackoverflow que pedia para excluir Android Dependencies.

Não localizei onde recolocá-lo ali, alguém me ajuda?

_________________
Daniel Tibúrcio
Ideia Informática Ltda.
http://www.ideiainformatica.com.br
(31)3291-9799
Skype ideia_daniel
"O Senhor é o meu Pastor, nada me faltará" Salmo 23:1


15 Mai 2013, 00:30
Perfil WWW
Mostrar mensagens anteriores:  Organizar por  
Responder Tópico   [ 11 Mensagens ] 

Quem está online

Usuários vendo este fórum: Aderbal Nunes, aechiara, Alexandre de Queiroz, Alexsandro Tirloni, Analista, andepunk, Anderson.OL, Ask Jeeves, austonrd, Berbert, betofigu, Biggs Darklighter, boydivalor, bravus, brcamp, brenno, caio, canaville, Carla Luz, carlos rodrigues, Carmizini, cenatech, china, christian, comolatti, criscmaia, Cristranus, Cynthia, Damiani Oliveira, Daniel Batista, Darth Maul, Darth Plagueis, Darth Sidious, Dassi, Deiapinh, Delão, denisfln, dfreitas, Diego, diogeneskelsen, Dirceu W. C. Conte, dnakamashi, dramos, eluttner, erikopa, estratec, estratecnologia, eusobacana, fabiano_eletro, Faroli, felipe.buarque, fracon, Geire Robson Gadelha, Gnomo, Google Android, guiba_picolino, guilhermepilotti, hopper.frf, inaciofernandes, Jenius, Jless@, joaquimfoto, jrsilva, JuniorE, kennedyximenes, Kureiton, kusanaguy, leandroviana, leo, lkunta, loferreira, LordElfo, LucasNascimento, Lucious, marcelocastellani, MarceloLuz, marcos_trb, Marini, Marlosm, Microdesk, niloleite, nobrejack, nullPointer, Odigooogle™, On_7, onedroid, paint-horse, peterson.bah, pgsnit, phobos, R2-D2, Rafael Felix, rfrafa, rfrafael, rocha, rodrigosalfer, rogeriopgomes, ROGÉRIO RODRIGUES, Romulo, ronanPlus, Rubens Prates, Rufino, samuel.cavanieri, sephct, sergio, Shinigami, Silvio Vaz, srsilveira, suissa, talves, tavares767, tricx16, vicfalmac, VILESOFT, Vinicius, wilsond, wingdoido e 4 visitantes


Você não pode criar novos tópicos neste fórum
Você não pode responder tópicos neste fórum
Você não pode editar suas mensagens neste fórum
Você não pode excluir suas mensagens neste fórum
Você não pode enviar anexos neste fórum

Procurar por:

© 2007 - 2013 Portal Android - Comunidade de Desenvolvedores da Plataforma Android

Estamos no Linkedin    Siga-nos no twitter


Powered by phpBB - Hospedado por Bemobi