oh, my bad. I forgot to change directory to grpc-java/examples.

Now it compiles. Thanks so much!!!

在 2017年7月15日星期六 UTC-7上午11:42:27,Eric Gribkoff写道:
>
> Are you using a release tag of the repo? E.g., 'git checkout v1.4.0'? You 
> should be on a release version according to the instructions on 
> https://grpc.io/docs/quickstart/android.html#before-you-begin, in which 
> case codegen should already be built and you shouldn't be seeing this 
> error. If you're on another branch, like master, this will happen. You can 
> also try adding the line skipCodegen=true in your gradle.properties file (
> https://github.com/grpc/grpc-java/blob/master/COMPILING.md), but this 
> shouldn't be necessary on a release version - if it is necessary for you, 
> please let me know so we can investigate the issue further.
>
> Thanks,
>
> Eric
>
> On Sat, Jul 15, 2017 at 11:12 AM, <[email protected] <javascript:>> wrote:
>
>> I'm following 
>> https://grpc.io/docs/quickstart/android.html#before-you-begin
>>
>>
>> When I run 
>>
>>
>> $ ./gradlew installDist
>>
>> it gives error
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Execution failed for task 
>> ':grpc-compiler:compileJava_pluginExecutableJava_pluginCpp'.
>> > No tool chain is available to build for platform 'x86_64':
>>     - Tool chain 'visualCpp' (Visual Studio): Could not locate a Visual 
>> Studio installation, using the Windows registry and system path.
>>     - Tool chain 'gcc' (GNU GCC): Could not find C compiler 'gcc' in 
>> system path.
>>     - Tool chain 'clang' (Clang): Could not find C compiler 'clang' in 
>> system path.
>>
>>
>> But I installed Visual Studio 2017 Preview
>>
>> How to fix it?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/a7dafdd6-10c9-417c-b47c-026f2c6def92%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/a7dafdd6-10c9-417c-b47c-026f2c6def92%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/ae81515e-e379-4f70-848c-ecd49fe5a4f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to