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

UNEXPECTED TOP-LEVEL EXCEPTION #39

Closed
francocorreasosa opened this issue Apr 21, 2016 · 4 comments
Closed

UNEXPECTED TOP-LEVEL EXCEPTION #39

francocorreasosa opened this issue Apr 21, 2016 · 4 comments

Comments

@francocorreasosa
Copy link

francocorreasosa commented Apr 21, 2016

I got this error after linking the library with the Android project (React Native)

Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION:
Unknown source file : com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzas;
Unknown source file :   at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
Unknown source file :   at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
Unknown source file :   at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
Unknown source file :   at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
Unknown source file :   at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
Unknown source file :   at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
Unknown source file :   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
Unknown source file :   at com.android.dx.command.dexer.Main.run(Main.java:277)
Unknown source file :   at com.android.dx.command.dexer.Main.main(Main.java:245)
Unknown source file :   at com.android.dx.command.Main.main(Main.java:106)
@jkasten2
Copy link
Member

jkasten2 commented Apr 21, 2016

This means there are 2 copies of the Google Play services library. You need to remove one.

@francocorreasosa
Copy link
Author

mmm. how can I do that? I don't know almost anything of Android dev. The repo is francocorreasosa/inumet-react-native

@jkasten2
Copy link
Member

Moving the discussion to their repo.

@francocorreasosa
Copy link
Author

But that happened after I added THIS library to the app... Now I see why OneSignal is free...

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