lundi 12 octobre 2015

Error:(21, 41) error: package com.amazonaws.services.dynamodbv2 does not exist?

I am trying to import http://ift.tt/1wroCPF . in Android Studio .

I am getting error :

Error:(21, 41) error: package com.amazonaws.services.dynamodbv2 does not exist ?

I have take a reference with this AWS DynamoDB tutorial does not import certain classes question.

but it not solve my problem .

My screen look like this it will help you to understand my Project structure.

enter image description here

and the build.gradel

apply plugin: 'com.android.application'

android {
    compileSdkVersion 10
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "com.amazonaws.demo.userpreferencesom"
        minSdkVersion 10
        targetSdkVersion 20
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt')
        }
    }


    dependencies {
        repositories {
            mavenCentral()
        }

        compile 'com.google.android.gms:play-services:6.1.+'
        compile 'com.amazonaws:aws-android-sdk-core:2.2.+'
        compile fileTree(include: '*.jar', dir: 'libs')
    }}

Thank you .




Aucun commentaire:

Enregistrer un commentaire