Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. [2011-06-26 19:18:00 - Shuowen]: Dx
  2. trouble processing "java/nio/CharBuffer.class":
  3.  
  4. Ill-advised or mistaken usage of a core class (java.* or javax.*)
  5. when not building a core library.
  6.  
  7. This is often due to inadvertently including a core library file
  8. in your application's project, when using an IDE (such as
  9. Eclipse). If you are sure you're not intentionally defining a
  10. core class, then this is the most likely explanation of what's
  11. going on.
  12.  
  13. However, you might actually be trying to define a class in a core
  14. namespace, the source of which you may have taken, for example,
  15. from a non-Android virtual machine project. This will most
  16. assuredly not work. At a minimum, it jeopardizes the
  17. compatibility of your app with future versions of the platform.
  18. It is also often of questionable legality.
  19.  
  20. If you really intend to build a core library -- which is only
  21. appropriate as part of creating a full virtual machine
  22. distribution, as opposed to compiling an application -- then use
  23. the "--core-library" option to suppress this error message.
  24.  
  25. If you go ahead and use "--core-library" but are in fact
  26. building an application, then be forewarned that your application
  27. will still fail to build or run, at some point. Please be
  28. prepared for angry customers who find, for example, that your
  29. application ceases to function once they upgrade their operating
  30. system. You will be to blame for this problem.
  31.  
  32. If you are legitimately using some code that happens to be in a
  33. core package, then the easiest safe alternative you have is to
  34. repackage that code. That is, move the classes in question into
  35. your own package namespace. This means that they will never be in
  36. conflict with core system classes. JarJar is a tool that may help
  37. you in this endeavor. If you find that you cannot do this, then
  38. that is an indication that the path you are on will ultimately
  39. lead to pain, suffering, grief, and lamentation.
  40.  
  41. [2011-06-26 19:18:00 - Shuowen]: Dx1 error; aborting
  42. [2011-06-26 19:18:00 - Shuowen] Conversion to Dalvik format failed with error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement