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

前端 未结 5 1679
我寻月下人不归
我寻月下人不归 2020-12-16 17:50

After trying to fix this on my own from what I have seen around the net I cannot still figure out what this means:

[2013-08-15 23:58:27 - StudioTab] Dx 
trou         


        
5条回答
  •  执念已碎
    2020-12-16 18:51

    Dalvik JVM does not support the entire API of Oracle JDK. I think javax.* packages aren't available to Android. For example there's no AWT or Swing or Graphics2D of Java on Android.

    From the error, it looks like you app is using this Class: http://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html

    This shouldn't happen If you set up your IDE to use Android SDK instead of JDK.

提交回复
热议问题