Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build app #17

Open
lkalneus opened this issue Jul 26, 2013 · 1 comment
Open

Can't build app #17

lkalneus opened this issue Jul 26, 2013 · 1 comment

Comments

@lkalneus
Copy link

Hello!
I added VideoPlayer to Hello World PhoneGap application.

But while building I get next problems:

-dex:
[dex] input: D:\Build\Android\PhoneGap\video\platforms\android\bin\classes
[dex] input: D:\Build\Android\PhoneGap\video\platforms\android\libs\cordova-3.0.0.jar
[dex] Pre-Dexing D:\Build\Android\PhoneGap\video\platforms\android\libs\cordova-3.0.0.jar -> cordova-3.0.0-dcb01b803346297fc6233e00d113c728.jar
[dex] Converting compiled files and external libraries into D:\Build\Android\PhoneGap\video\platforms\android\bin\classes.dex...
[dx]
[dx] UNEXPECTED TOP-LEVEL EXCEPTION:
[dx] com.android.dx.util.DexException: Multiple dex files define Lcom/phonegap/hello_world/HelloWorld;
[dx] at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:592)
[dx] at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:550)
[dx] at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:531)
Failed to find apk, make sure you project is built and there is an
apk in \bin. To build your project use '\cordova\build'

Please advise solution to that problem?

@macdonst
Copy link
Owner

You've got this class com/phonegap/hello_world/HelloWorld in your build path twice. Check for any included jars that may also have that class in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants