Created
July 17, 2014 19:27
-
-
Save dreadjr/d921e8468a4639cf60f8 to your computer and use it in GitHub Desktop.
intellij "Cannot run program "protoc": error=2, No such file or directory"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradle build using | |
plugin: 'protobuf' | |
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
} | |
dependencies { | |
classpath 'ws.antonov.gradle.plugins:gradle-plugin-protobuf:0.9.1' | |
// classpath 'com.andrewkroh.gradle:gradle-protobuf-plugin:0.3.0' | |
classpath 'com.github.jengelman.gradle.plugins:shadow:1.0.2' | |
} | |
} | |
intellij "Cannot run program "protoc": error=2, No such file or directory" | |
> which protoc | |
/usr/local/bin/protoc | |
> sudo ln -s /usr/local/bin/protoc /usr/bin/protoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment