0

Please can anyone tel me how to solve the below posted error? despite the App has no errors, i receive that error when i try to launch it.

Console_Error

[2014-11-06 13:04:49 - org.eclipse.paho.android.service.test] Dx 
trouble writing output: already prepared
[2014-11-06 13:04:49 - Dex Loader] Unable to execute dex: Multiple dex files define   
Lorg/eclipse/paho/android/service/AlarmPingSender$AlarmReceiver$1;
[2014-11-06 13:04:49 - org.eclipse.paho.android.service.test] Conversion to Dalvik format failed:   
Unable to execute dex: Multiple dex files define   
Lorg/eclipse/paho/android/service/AlarmPingSender$AlarmReceiver$1;
Amrmsmb
  • 1
  • 27
  • 104
  • 226

2 Answers2

1
Right click on the Project Name
Select Build Path -> Configure Build Path
In Java Build Path, go to the tab Order and Export

Uncheck your .jar library

Only sometimes: In Order and Export tab I did not have any jar library there, so I have unchecked Android Private Libraries item. Now my project is running.

check this

Community
  • 1
  • 1
Naveen Tamrakar
  • 3,349
  • 1
  • 19
  • 28
1

I think you are using both jar file and SDK of third party library. Delete jar from libs folder or remove that SDK from your project

Avinash Kumar Pankaj
  • 1,700
  • 2
  • 18
  • 27