android --core-library 错误
trouble processing "javax/xml/XMLConstants.class":Attempt to include a core VM class in something other than a core library.It is likely that you have attempted to include the core library from a desktopvirtual machine into an application, which will most assuredly not work. Ifyou really intend to build a core library -- which is only appropriate aspart of creating a full virtual machine binary, as opposed to compiling anapplication -- then use the "--core-library" option to suppress this errormessage. If you go ahead and use "--core-library" but are in fact buildingan application, then please be aware that your build will still fail at somepoint; you will simply be denied the pleasure of reading this helpful errormessage.修改了个dx.jar, 默认开启--core-librasy,替换android-sdk\platform-tools\lib\dx.jarhttps://github.com/simplehappy2600/dxjar
页:
[1]