Hi,
My name is Giovanni and I write form Italy, which I’0m sorry if my english is very poor.
I wanted to try MOE plugin (last version) for Android Studio on Windows 10.
I create a simple project, classic Hello World.
I use a MACOS Catalina as remote build server.
On Macos there is installed Xcode last version and Java SDK version 8.
I configurated my MacOs for remote build service activing SSH remote login.
The build failed, because on Macos, MOE doesn’t find all dependences, it cannot find org.multi-os-engine:moe-gradle:1.7.2.
I think that I must set something into my project for reading them from my Windows Android project, because SDK there is on Windows.
Could you help me, please?
Here you are that it wrote me:
"
Configure project :apple
Using already downloaded SDK: C:\Users\giovanni.moe-community\moe-sdk-1.7.2
Task :common:compileJava UP-TO-DATE
Task compileJava UP-TO-DATE
Task processResources NO-SOURCE
Task classes UP-TO-DATE
Task :common:processResources NO-SOURCE
Task :common:classes UP-TO-DATE
Task :common:jar UP-TO-DATE
Task moeMainProGuard UP-TO-DATE
Task moeMainRetrolambda UP-TO-DATE
Task moeGenerateUIObjCInterfaces UP-TO-DATE
Task moeMainDex UP-TO-DATE
=======================================================
STARTING REMOTE TASK - FILE UPLOAD: prepare - gradlew
Local Root: C:\Users\giovanni.moe-community\moe-sdk-1.7.2\tools
Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup
– gradlew.zip (1005,30 kB/s)
<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>
===========================================================
STARTING REMOTE TASK - COMMAND EXECUTION: install MOE SDK
Command: cd /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup && unzip /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup/gradlew.zip && cd gradlew && echo ‘distributionBase=GRADLE_USER_HOME’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘distributionPath=wrapper/dists’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘zipStoreBase=GRADLE_USER_HOME’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘zipStorePath=wrapper/dists’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘distributionUrl=https://services.gradle.org/distributions/gradle-2.14-bin.zip’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘buildscript {’ >> build.gradle && echo ’ repositories {’ >> build.gradle && echo ’ jcenter()’ >> build.gradle && echo ’ }’ >> build.gradle && echo ’ dependencies {’ >> build.gradle && echo ’ classpath group: “org.multi-os-engine”, name: “moe-gradle”, version: “1.7.2”’ >> build.gradle && echo ’ }’ >> build.gradle && echo ‘}’ >> build.gradle && echo ‘’ >> build.gradle && echo ‘apply plugin: “moe-sdk”’ >> build.gradle && echo ‘task printSDKRoot << { print “REMOTE_MOE_SDK_ROOT___1234567890:${moe.sdk.root}” }’ >> build.gradle && ./gradlew printSDKRoot -s && cd … && rm -rf gradlew && rm -f gradlew.zip
Task moeRemoteServerSetup
MOE Remote Build - REMOTE_HOME=/Users/joe
MOE Remote Build - REMOTE_BUILD_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup
=========================================================
REMOTE TASK FAILED - COMMAND EXECUTION: install MOE SDK
Archive: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup/gradlew.zip
creating: gradlew/
creating: gradlew/gradle/
creating: gradlew/gradle/wrapper/
inflating: gradlew/gradle/wrapper/gradle-wrapper.jar
inflating: gradlew/gradlew
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘gradlew’.
Could not resolve all dependencies for configuration ‘:classpath’.
Could not find org.multi-os-engine:moe-gradle:1.7.2.
Searched in the following locations:
https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.pom
https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.jar
Required by:
:gradlew:unspecified
-
Try:
Run with --info or --debug option to get more log output. -
Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project ‘gradlew’.
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:57)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ‘:classpath’.
at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.rethrowFailure(DefaultLenientConfiguration.java:62)
at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.rethrowFailure(DefaultResolvedConfiguration.java:36)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver$FilesAggregatingResolvedConfiguration.rethrowFailure(SelfResolvingDependencyConfigurationResolver.java:112)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver$ErrorHandlingResolvedConfiguration.rethrowFailure(ErrorHandlingConfigurationResolver.java:189)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:669)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getFiles(DefaultConfiguration.java:293)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getFiles(Unknown Source)
at org.gradle.api.internal.initialization.DefaultScriptHandler.getScriptClassPath(DefaultScriptHandler.java:69)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.defineScriptHandlerClassScope(DefaultPluginRequestApplicator.java:186)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:75)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:157)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
… 43 more
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.multi-os-engine:moe-gradle:1.7.2.
Searched in the following locations:
https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.pom
https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.jar
Required by:
:gradlew:unspecified
at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:38)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:88)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:59)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:80)
at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:44)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:564)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:574)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:260)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:234)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:141)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:79)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:90)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:80)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:80)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:372)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:347)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:340)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:667)
… 53 more
BUILD FAILED
Total time: 8.492 secs
Task moeRemoteServerSetup FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘moeRemoteServerSetup’.
Remote command execution failed
-
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https ://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED8 actionable tasks: 1 executed, 7 up-to-date
in 16s
Multi-OS Engine module build failed
"