3

I am developing an app for my family business and I can't figure out what the source of this build time error is?

Error:com.android.dx.cf.iface.ParseException: class name (BaseHTTPServer$py) does not match path (Lib/BaseHTTPServer$py.class)

I tried cleaning the project, deleting the /app/build folder as I was told elsewhere on the internet, and I tried to reset all my changes. Any help on what maybe causing this error and/or how to fix it would be great.

Edit 1: I am trying to use the Jython Library (http://www.jython.org/)

Edit 2: After retracing my steps it is now fixed.

Thanks and have a great day!

-Fisch

asked Dec 28, 2015 at 18:58

2 Answers 2

1

Turns out to be an issue with Jython. Removing it from the libs folder and the reference solved the issue.

answered Dec 28, 2015 at 20:19
Sign up to request clarification or add additional context in comments.

1 Comment

I am having the same problem, may I ask if you are removing the whole jython-standalone-2.7.0.jar from the libs folder and put it under the app dir?
0

This answer might help you. https://stackoverflow.com/a/24663045

It might be related to you using the java 8 JDK as your JDK for compiling.

Try switching it to the java 7 JDK.

answered Dec 28, 2015 at 19:02

1 Comment

Ok I tried to change the JDK to 7 and I still have the same error. Also I am trying to use the Jython Library (jython.org)

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.