Launcher3-dev/Launcher3

ERROR: Directory 'LauAncher3\build\extracted-include-protos\main' specified for property '$3' does not exist.

ggymm opened this issue · 11 comments

ggymm commented

导入编辑器后出现错误
ERROR: Directory 'LauAncher3\build\extracted-include-protos\main' specified for property '$3' does not exist.

org.gradle.api.tasks.TaskValidationException: Some problems were found with the configuration of task ':generateAospDebugProto'.

Cause 1: org.gradle.api.InvalidUserDataException: Directory 'D:\develope\projects\android\reference\Launcher3\build\extracted-include-protos\main' specified for property '$3' does not exist.
Cause 2: org.gradle.api.InvalidUserDataException: Directory 'D:\develope\projects\android\reference\Launcher3\build\extracted-include-protos\aosp' specified for property '$6' does not exist.
Cause 3: org.gradle.api.InvalidUserDataException: Directory 'D:\develope\projects\android\reference\Launcher3\build\extracted-include-protos\debug' specified for property '$9' does not exist.

@gongym12138 你用了最新的gradle吧,先切换回默认的,4.6

ggymm commented

@gongym12138 你用了最新的gradle吧,先切换回默认的,4.6

是的,我换到4.x版本确实是好用的了

@gongym12138 你用了最新的gradle吧,先切换回默认的,4.6

是的,我换到4.x版本确实是好用的了

好,你先这样用着,我有空看看怎么切换到最新的上面

ggymm commented

@gongym12138 你用了最新的gradle吧,先切换回默认的,4.6

是的,我换到4.x版本确实是好用的了

好,你先这样用着,我有空看看怎么切换到最新的上面

ggymm commented

@gongym12138 你用了最新的gradle吧,先切换回默认的,4.6

是的,我换到4.x版本确实是好用的了

好,你先这样用着,我有空看看怎么切换到最新的上面

好的~麻烦了

.gradle文件夹不加入git???

  • Where:
    Build file 'C:\Android\GitProject\Launcher3_mx\build.gradle' line: 14

  • What went wrong:
    A problem occurred evaluating root project 'Launcher3_mx'.

Failed to apply plugin [id 'com.android.application']
Minimum supported Gradle version is 5.1.1. Current version is 4.6. If using the gradle wrapper, try editing the distributionUrl in C:\Android\GitProject\Launcher3_mx\gradle\wrapper\gradle-wrapper.properties to gradle-5.1.1-all.zip

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

CONFIGURE FAILED in 0s
ERROR: Minimum supported Gradle version is 5.1.1. Current version is 4.6.

@gongym12138 @793383996
代码已经修改,修改内容为:
gradle 版本为5.1.1
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.9'

换回4.6有问题,谢谢了

@793383996
gradle 版本为5.1.1

3Q 后面有空在看