Code Monkey home page Code Monkey logo

Comments (8)

NikoXu avatar NikoXu commented on August 20, 2024

@messense let me see. it should be ok with the latest.

from gtapp-android.

messense avatar messense commented on August 20, 2024

Is latest sdk published to maven central?

http://search.maven.org/#search%7Cga%7C1%7Cfc%3Acom.geetest.android.sdk

from gtapp-android.

NikoXu avatar NikoXu commented on August 20, 2024

@messense Sorry. I mean the ssl issue. We'll publish the sdk to maven central. After finish, we will mention you in this issues.

from gtapp-android.

NikoXu avatar NikoXu commented on August 20, 2024

@messense try add compile 'com.geetest.android.sdk:classes:1.0' to .gradle

from gtapp-android.

messense avatar messense commented on August 20, 2024

@NikoXu error.

* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-geetest'.
   > Could not resolve all dependencies for configuration ':react-native-geetest:_debugCompile'.
      > Could not find com.geetest.android.sdk:classes:1.0.
        Searched in the following locations:
            file:/Users/messense/.m2/repository/com/geetest/android/sdk/classes/1.0/classes-1.0.pom
            file:/Users/messense/.m2/repository/com/geetest/android/sdk/classes/1.0/classes-1.0.jar
            https://jcenter.bintray.com/com/geetest/android/sdk/classes/1.0/classes-1.0.pom
            https://jcenter.bintray.com/com/geetest/android/sdk/classes/1.0/classes-1.0.jar
            file:/Users/messense/workspace/bosondata/react-native-geetest/Example/node_modules/react-native/android/com/geetest/android/sdk/classes/1.0/classes-1.0.pom
            file:/Users/messense/workspace/bosondata/react-native-geetest/Example/node_modules/react-native/android/com/geetest/android/sdk/classes/1.0/classes-1.0.jar
            https://repo1.maven.org/maven2/com/geetest/android/sdk/classes/1.0/classes-1.0.pom
            https://repo1.maven.org/maven2/com/geetest/android/sdk/classes/1.0/classes-1.0.jar
            file:/Users/messense/Library/Android/sdk/extras/android/m2repository/com/geetest/android/sdk/classes/1.0/classes-1.0.pom
            file:/Users/messense/Library/Android/sdk/extras/android/m2repository/com/geetest/android/sdk/classes/1.0/classes-1.0.jar
            file:/Users/messense/Library/Android/sdk/extras/google/m2repository/com/geetest/android/sdk/classes/1.0/classes-1.0.pom
            file:/Users/messense/Library/Android/sdk/extras/google/m2repository/com/geetest/android/sdk/classes/1.0/classes-1.0.jar
        Required by:
            Example:react-native-geetest:unspecified

from gtapp-android.

NikoXu avatar NikoXu commented on August 20, 2024

maybe you miss the script below

allprojects {
    repositories {
        jcenter()
        mavenLocal()//本地
        maven { url "http://localhost:8081/nexus/content/groups/public/" }
    }
}

then

compile 'com.geetest.android.sdk:classes:1.0'

from gtapp-android.

messense avatar messense commented on August 20, 2024

@NikoXu 配置是这样的:

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

from gtapp-android.

messense avatar messense commented on August 20, 2024

你不是只 publish 到 http://localhost:8081/nexus/content/groups/public/ 了吧?

from gtapp-android.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.