Skip to content

Blob creation fails when deploying in an Android device #995

Closed
@rafaelsf80

Description

Hello,

Trying to deploy this snippet code into an Android device, I got the a NoSuchMethodError run-time exception saying that crc32c() static method does not exist in class com.google.common.hash.Hashing.

The exception is thrown at line where the blob is created:
Blob blob = storage.create(blobInfo, "Hello, Cloud Storage!".getBytes(UTF_8));

The whole Android code here.
Any suggestion would be appreciated.

Metadata

Assignees

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