amazon web services - Android AWS RekognitionClient error -
i trying use amazon web services recognition in android problem rekognitionclient. try initialize it, error:
no instance field endpointprefix of type ljava/lang/string; in class lcom/amazonaws/services/rekognition/amazonrekognitionclient; or superclasses (declaration of 'com.amazonaws.services.rekognition.amazonrekognitionclient' appears in /data/app/com.amazonaws.husebnerbot-2/base.apk)
i have tried can not find error. can me?
private void initializerekognitionsdk() { log.d(tag, "rekognition client"); cognitocredentialsprovider credentialsprovider = new cognitocachingcredentialsprovider( getapplicationcontext(), appcontext.getresources().getstring(r.string.identity_id_test), regions.fromname("us-east-1") ); amazonrekognitionclient = new amazonrekognitionclient(credentialsprovider); }
thank you!
Comments
Post a Comment