Dx Alerts with Latest Android SDKs

I am updating ADT and reinstalling the Android SDK. After that, I try to run the program, but it does not work. The console output is as follows:

Dx warning: ignoring the InnerClasses attribute for the anonymous internal class org.apache.commons.httpclient.HttpMethodBase $ 1, which is not associated with the associated EnclosingMethod attribute. This class was probably created by the compiler, which is not intended for the modern .class file format. The recommended solution is to recompile the class from the source, using a modern compiler and without specifying any parameters like "-target". The consequence of ignoring this warning is that reflexive operations on this class will incorrectly indicate that it is not an inner class.

Dx warning: ignoring the InnerClasses attribute for an anonymous internal class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory $ 1 which is not associated with the EnclosingMethod attribute. This class was probably created by the compiler, which is not a modern .class format. The recommended solution is to recompile the class from the source, using a modern compiler and without specifying any options like "-target". The consequence of ignoring this warning is that reflexive operations on this class will incorrectly indicate that it is not an inner class.

and an eclipse dialog box appears saying that your project contains errors, correct them before starting.

. org.apache.commons.httpclient appearing on the output is in commons-httpclient-3.1.jar. I cannot use the latest httpclient package from apache to replace it as variable names change. The same set of source codes works fine under Mac, but this problem only under win7. Any ideas on this?

thanks

+6
source share

Source: https://habr.com/ru/post/900583/


All Articles