Conversion to Dalvik format failed with error 1 with a scary message in the Console view

前端 未结 3 402
太阳男子
太阳男子 2021-02-07 17:31

I\'ve seen a few questions with this topic, but when I search for the other part I have in my error, I don\'t find anything, so I decided to post a question with the full explan

相关标签:
3条回答
  • 2021-02-07 18:06

    Has anyone gotten this message before?

    Yes. Not since 2009, though.

    Why am I getting it?

    Because in the source code of your project, or in a JAR, you have another copy of the java.sql.Savepoint interface, other than the one that comes from the Android runtime.

    Where should I go look for "hidden libraries" or "internal libraries" that I might not even be aware of?

    Your Eclipse classpath. You may wish to edit your question with a screenshot of your "Order & Export" screen from the build path dialog.

    0 讨论(0)
  • 2021-02-07 18:11

    Had the same issue.

    The following action helped me to get rid of this error message.

    1) Go to Project--> properties-->Java Build Path

    2) Select Order and Export tab

    3) Deselect the Android Private Libraries and Android Dependencies and click ok

    After this the application got launched successfully.

    0 讨论(0)
  • 2021-02-07 18:22

    I solve that removing android.jar in "Order and Export" tab in the proyect and in the libraries.

    0 讨论(0)
提交回复
热议问题