-
Notifications
You must be signed in to change notification settings - Fork 88
Description
Hello,
I have Android studio 1.3.2
When trying to build the kickflip.io app, I get the following
Error:Unable to load class 'org.codehaus.groovy.runtime.typehandling.ShortTypeHandling'.
Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart) Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
changing gradle.build to 1.3.0
Error:Unable to load class 'org.codehaus.groovy.runtime.StringGroovyMethods'.
Possible causes for this unexpected error include:
- Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.I’ve cleaned the cache and restarted to no avail.
What finally worked was
http://stackoverflow.com/questions/27789455/android-studio-1-0-2-kickflip-io-shorttypehandling-error
In gradle-wrapper.propertiesChange the line
distributionUrl=http://services.gradle.org/distributions/gradle-1.10-all.zip
from your gradle\wrapper.properties file to
distributionUrl=http://services.gradle.org/distributions/gradle-2.2.1-all.zipI then had to download the 19.1 build tools.
I was then able to stream live video.Dennis