org.gradle.tooling.BuildException: invalid code lengths set

I am very new to Android Studio. Basically I am trying to make dlib-android on Android Studio (windows 10). It was downloaded from:

https://github.com/tzutalin/dlib-android.

After change a couple of things such as mips64... file, it synced and built successfully. But when I try to run with a device or a virtual device, I always get

"Cause: invalid code lengths set" error. The run tasks ended at App:packageDebug. From the long list of things, three under compiler are more informative I guess:

org.gradle.tooling.BuildException: invalid code lengths set

java.util.zip.ZipException: invalid code lengths set

java.lang.IllegalStateException: Still waiting...

Read More »

By: StackOverFlow - 6 days ago

Related Posts