lundi 25 septembre 2017

how to include appengine testing dependencies in classpath ,using gradle in Android Studio

I am new to Google appEngine and testing. As mentioned in the link under 'Introducing the java testing utilities' to include the following dependencies :

    ${SDK_ROOT}/lib/impl/appengine-api.jar
    ${SDK_ROOT}/lib/impl/appengine-api-labs.jar
    ${SDK_ROOT}/lib/impl/appengine-api-stubs.jar
    ${SDK_ROOT}/lib/appengine-tools-api.jar

i am not able to understand how to include these dependencies in classpath from gradle in AndroidStudio. I have tried :

      // http://ift.tt/2jXVaGQ
      testCompile group: 'com.google.appengine', name: 'appengine-testing', version: '1.9.56'

      // http://ift.tt/2y2pYMH
      testCompile group: 'com.google.appengine', name: 'appengine-api-stubs', version: '1.9.56'

      compile group: 'com.google.appengine', name: 'appengine-api-labs', version: '1.9.56'

it compiles , but iam still getting the following errors:

    error: package com.google.appengine.tools.development.testing does not exist
    error: cannot find symbol class LocalServiceTestHelper

can anybody help me in resolving it.?

Aucun commentaire:

Enregistrer un commentaire