Skip to content

There is a problem with 'Sync Project with Gradle Files' #7

@Exe-Design

Description

@Exe-Design

I edit the build.gradle(Module.gsdk.groundsdkdemo) file according to the steps on the official groundsdk-android.
But the AS shows 'Failed to resolve: com.parrot.drone.groundsdk:groundsdk:7.0
Show in Project Structure dialog
Affected Modules: groundsdkdemo'
I am not sure what the problem is.

Document content
apply plugin: 'com.android.application'

android {
defaultConfig {
minSdkVersion 24
// Google Geo API key. Put your own key to enable google Maps related features in demo.
resValue 'string', 'gsdkdemo_google_geo_api_key', ''
}

lintOptions {
       disable 'StringFormatInvalid', 'IconMissingDensityFolder', 'NonConstantResourceId'
      checkDependencies true
}

// Add java 8 compatibility needed by Ground SDK
compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
}

}

repositories {
// Add jcenter repository (if not already present)
jcenter()
google()
}

dependencies {
runtimeOnly project(':arsdkengine')

      implementation project(':groundsdk')
      implementation project(':sdkcore')

     implementation androidXLocalBroadcastManager
     implementation googlePlayServicesLocation
     implementation 'com.google.android.gms:play-services-maps:17.0.0'
     implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
     implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
     implementation 'com.google.android.material:material:1.3.0'

     implementation 'com.parrot.drone.groundsdk:groundsdk:7.0'
    runtimeOnly 'com.parrot.drone.groundsdk:arsdkengine:7.0'

}

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