Ошибка при создании демонстрационной версии tenorflow - PullRequest
0 голосов
/ 25 марта 2019

При построении демки в tenorflow / tenorflow / lite / java / demo в проекте тензор потока https://github.com/tensorflow/tensorflow

The error org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:206)
        at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:211)
        at org.gradle.configuration.BuildOperationScriptPlugin$1$1.run(BuildOperationScriptPlugin.java:69)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)

Caused by: java.lang.NoSuchMethodError: com.google.protobuf.AbstractMessageLite$Builder.addAll(Ljava/lang/Iterable;Ljava/util/List;)V
        at com.google.wireless.android.sdk.stats.JavaProcessStats$Builder.addAllGarbageCollectionStats(JavaProcessStats.java:1066)
        at com.android.tools.analytics.CommonMetricsData.getJavaProcessStats(CommonMetricsData.kt:179)
        at com.android.builder.profile.ProcessProfileWriter.createAndRecordMemorySample(ProcessProfileWriter.java:232)
        at com.android.builder.profile.ProcessProfileWriter.<init>(ProcessProfileWriter.java:96)
        at com.android.builder.profile.ProcessProfileWriterFactory.get(ProcessProfileWriterFactory.java:198)
        at com.android.builder.profile.ProcessProfileWriterFactory.initializeInternal(ProcessProfileWriterFactory.java:99)
        at com.android.builder.profile.ProcessProfileWriterFactory.initialize(ProcessProfileWriterFactory.java:85)
        at com.android.build.gradle.internal.profile.ProfilerInitializer.init(ProfilerInitializer.java:71)
        at com.android.build.gradle.BasePlugin.basePluginApply(BasePlugin.java:267)
        at com.android.build.gradle.BasePlugin.lambda$apply$0(BasePlugin.java:247)
        at com.android.build.gradle.BasePlugin$$Lambda$2/1794358109.run(Unknown Source)
        at com.android.build.gradle.internal.crash.CrashReporting.runAction(crash_reporting.kt:27)
        at com.android.build.gradle.BasePlugin.apply(BasePlugin.java:245)
        at com.android.build.gradle.BasePlugin.apply(BasePlugin.java:138)
        at org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:42)
        at org.gradle.api.internal.plugins.RuleBasedPluginTarget.applyImperative(RuleBasedPluginTarget.java:50)
        at org.gradle.api.internal.plugins.DefaultPluginManager.addPlugin(DefaultPluginManager.java:174)
        at org.gradle.api.internal.plugins.DefaultPluginManager.access$300(DefaultPluginManager.java:50)
        at org.gradle.api.internal.plugins.DefaultPluginManager$AddPluginBuildOperation.run(DefaultPluginManager.java:264)
...