Skip to content

Could not find Android Tools Plugin Gradle:2.3.3 while building guest_science_manager #72

@eran0926

Description

@eran0926

Hi!
I have encountered an error while building guest_science_manager following running_gs_app.md

Here is the error log:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'guest_science_manager'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:2.3.3.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom
         https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.969 secs

I think the reason of this is same to the issue #71 .
I've tried simply replace all jcenter in core_apks/guest_science_manager/build.gradle to mavenCentral and change gradle version to 2.3.0,
but there still some error occurred.

NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/astrobee/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':activity'.
> Could not resolve all dependencies for configuration ':activity:_debugApkCopy'.
   > Could not find org.apache.commons:com.springsource.org.apache.commons.logging:1.1.1.
     Required by:
         project :activity > org.ros.rosjava_core:rosjava:0.2.2
         project :activity > org.ros.rosjava_core:rosjava:0.2.2 > org.ros.rosjava_core:apache_xmlrpc_server:0.2.2
   > Could not find org.apache.commons:com.springsource.org.apache.commons.net:2.0.0.
     Required by:
         project :activity > org.ros.rosjava_core:rosjava:0.2.2
   > Could not find org.apache.commons:com.springsource.org.apache.commons.httpclient:3.1.0.
     Required by:
         project :activity > org.ros.rosjava_core:rosjava:0.2.2 > org.ros.rosjava_core:apache_xmlrpc_common:0.2.2
   > Could not find org.apache.commons:com.springsource.org.apache.commons.codec:1.3.0.
     Required by:
         project :activity > org.ros.rosjava_core:rosjava:0.2.2 > org.ros.rosjava_bootstrap:message_generation:0.3.3
   > Could not find org.apache.commons:com.springsource.org.apache.commons.io:1.4.0.
     Required by:
         project :activity > org.ros.rosjava_core:rosjava:0.2.2 > org.ros.rosjava_bootstrap:message_generation:0.3.3
   > Could not find org.apache.commons:com.springsource.org.apache.commons.lang:2.4.0.
     Required by:
         project :activity > org.ros.rosjava_core:rosjava:0.2.2 > org.ros.rosjava_bootstrap:message_generation:0.3.3

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 13.796 secs

Is there a workaround for this?

Thank you!

ps: My English is weak and unfamiliar about creating issues,.
If there is any impolite or something wrong, please tell me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions