java - Attempted to fix androids "ill-advised or mistaken usage of a core class" went bad -


after trying fix on own have seen around net cannot still figure out means:

[2013-08-15 23:58:27 - studiotab] dx  trouble processing "javax/xml/namespace/qname.class":  ill-advised or mistaken usage of core class (java.* or javax.*) when not building core library.  due inadvertently including core library file in application's project, when using ide (such eclipse). if sure you're not intentionally defining core class, explanation of what's going on.  however, might trying define class in core namespace, source of may have taken, example, non-android virtual machine project. assuredly not work. @ minimum, jeopardizes compatibility of app future versions of platform. of questionable legality.  if intend build core library -- appropriate part of creating full virtual machine distribution, opposed compiling application -- use "--core-library" option suppress error message.  if go ahead , use "--core-library" in fact building application, forewarned application still fail build or run, @ point. please prepared angry customers find, example, application ceases function once upgrade operating system. blame problem.  if legitimately using code happens in core package, easiest safe alternative have repackage code. is, move classes in question own package namespace. means never in conflict core system classes. jarjar tool may in endeavor. if find cannot this, indication path on lead pain, suffering, grief, , lamentation.  [2013-08-15 23:58:27 - studiotab] dx 1 error; aborting [2013-08-15 23:58:27 - studiotab] conversion dalvik format failed error 1 

i have no idea telling me or start look. recursively including library somehow? build path under order , export thus:

google apis [android 3.0] android dependencies    annotations.jar android private libraries     ton of jars various functionality need: csv writing, talking           google calendar somehow...etc...etc.  jars found on net, not ripped project found solve problems i.e. how access google calendar device , read/write etc...  problem lies? can provide complete list of jars using here. android-support-v4.jar   

i added 1 external jar myself. forget needs if remove it cannot use somethings weird stuff fragmentactivity , that.

so begin can pick project again...get compiling , running on emulator.

libs folder thus: volume in drive d largeworkdisk volume serial number 206c-d951

     directory of d:\programming\studiotab\libs      08/16/2013  12:39    <dir>          .     08/16/2013  12:39    <dir>          ..     08/15/2013  09:45 pm         1,700,072 android-1.5_r4-sources.jar     08/15/2013  09:45 pm         2,136,034 android-1.5_r4.jar     08/15/2013  09:45 pm            55,191 commons-codec-1.3-sources.jar     08/15/2013  09:45 pm            46,725 commons-codec-1.3.jar     08/15/2013  09:45 pm            74,976 commons-logging-1.1.1-sources.jar     08/15/2013  09:45 pm            60,686 commons-logging-1.1.1.jar     08/15/2013  09:45 pm            53,983 google-api-client-1.5.0-beta-sources.jar     08/15/2013  09:45 pm            44,653 google-api-client-1.5.0-beta.jar     08/15/2013  09:45 pm            13,356 google-api-client-extensions-1.5.0-beta-sources.jar     08/15/2013  09:45 pm            15,276 google-api-client-extensions-1.5.0-beta.jar     08/15/2013  09:45 pm             3,459 google-api-client-extensions-android2-1.5.0-beta-sources.jar     08/15/2013  09:45 pm             4,556 google-api-client-extensions-android2-1.5.0-beta.jar     08/15/2013  09:45 pm           309,295 google-collections-1.0-sources.jar     08/15/2013  09:45 pm           639,592 google-collections-1.0.jar     08/15/2013  09:45 pm           188,771 google-http-client-1.5.0-beta-sources.jar     08/15/2013  09:45 pm           196,915 google-http-client-1.5.0-beta.jar     08/15/2013  09:45 pm             6,433 google-http-client-extensions-1.5.0-beta-sources.jar     08/15/2013  09:45 pm             7,807 google-http-client-extensions-1.5.0-beta.jar     08/15/2013  09:45 pm             3,021 google-http-client-extensions-android2-1.5.0-beta-sources.jar     08/15/2013  09:45 pm             3,854 google-http-client-extensions-android2-1.5.0-beta.jar     08/15/2013  09:45 pm             6,638 google-http-client-extensions-android3-1.5.0-beta-sources.jar     08/15/2013  09:45 pm            10,418 google-http-client-extensions-android3-1.5.0-beta.jar     08/15/2013  09:45 pm            35,765 google-oauth-client-1.5.0-beta-sources.jar     08/15/2013  09:45 pm            34,394 google-oauth-client-1.5.0-beta.jar     08/15/2013  09:45 pm            38,030 google-oauth-client-extensions-1.5.0-beta-sources.jar     08/15/2013  09:45 pm            48,289 google-oauth-client-extensions-1.5.0-beta.jar     08/15/2013  09:45 pm           140,057 gson-1.6-sources.jar     08/15/2013  09:45 pm           164,984 gson-1.6.jar     08/15/2013  09:45 pm           640,031 guava-r09-sources.jar     08/15/2013  09:45 pm         1,143,921 guava-r09.jar     08/15/2013  09:45 pm           390,195 httpclient-4.0.3-sources.jar     08/15/2013  09:45 pm           292,893 httpclient-4.0.3.jar     08/15/2013  09:45 pm           291,844 httpcore-4.0.1-sources.jar     08/15/2013  09:45 pm           172,888 httpcore-4.0.1.jar     08/15/2013  09:45 pm           200,880 jackson-core-asl-1.6.7-sources.jar     08/15/2013  09:45 pm           201,086 jackson-core-asl-1.6.7.jar     08/15/2013  09:45 pm           283,945 jdo2-api-2.3-eb-sources.jar     08/15/2013  09:45 pm           192,820 jdo2-api-2.3-eb.jar     08/15/2013  09:45 pm           476,722 joda-time-1.6-sources.jar     08/15/2013  09:45 pm           534,827 joda-time-1.6.jar     08/15/2013  09:45 pm            39,665 jsontoken-1.0-sources.jar     08/15/2013  09:45 pm            37,877 jsontoken-1.0.jar     08/15/2013  09:45 pm            33,015 jsr305-1.3.9.jar     08/15/2013  09:45 pm           147,086 junit-4.8.2-sources.jar     08/15/2013  09:45 pm           237,344 junit-4.8.2.jar     08/16/2013  12:39                 0 libsdir.txt     08/15/2013  09:45 pm            11,358 license     08/15/2013  09:45 pm            14,146 opencsv-2.3.jar     08/15/2013  09:45 pm            12,986 opengl-api-gl1.1-android-2.1_r1-sources.jar     08/15/2013  09:45 pm            18,492 opengl-api-gl1.1-android-2.1_r1.jar     08/15/2013  09:45 pm           125,968 ormlite-android-4.24-javadoc.jar     08/15/2013  09:45 pm            22,285 ormlite-android-4.24-sources.jar     08/15/2013  09:45 pm            32,707 ormlite-android-4.24.jar     08/15/2013  09:45 pm           216,486 ormlite-core-4.24.jar     08/15/2013  09:45 pm           140,718 protobuf-java-2.2.0-sources.jar     08/15/2013  09:45 pm           320,306 protobuf-java-2.2.0.jar     08/15/2013  09:45 pm               501 readme.html     08/15/2013  09:45 pm           158,114 servlet-api-2.5-sources.jar     08/15/2013  09:45 pm           105,112 servlet-api-2.5.jar     08/15/2013  09:45 pm            25,014 transaction-api-1.1-sources.jar     08/15/2013  09:45 pm            15,071 transaction-api-1.1.jar     08/15/2013  09:45 pm           124,724 xmlparserapis-2.6.2.jar     08/15/2013  09:45 pm           128,334 xpp3-1.1.4c-sources.jar     08/15/2013  09:45 pm           120,069 xpp3-1.1.4c.jar                   64 file(s)     12,952,660 bytes                    2 dir(s)  2,057,125,945,344 bytes free 

dalvik jvm not support entire api of oracle jdk. think javax.* packages aren't available android. example there's no awt or swing or graphics2d of java on android.

from error, looks app using class: http://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/qname.html

this shouldn't happen if set ide use android sdk instead of jdk.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -