Google Cloud Storage Client Library uses unknown dependencies

I am trying to implement the Java Cloud Storage Client Library

com.google.appengine.tools:appengine-gcs-client:0.3.13

into the Java library project that will be used for Android (not directly into the Android project).

The library itself compiles fine, but then I encounter some strange errors "java.lang.NoClassDefFoundError" during compilation. I realized that these are the missing dependencies, and I already realized that Guava is one of the following:

com.google.guava:guava:17.0

But now he is requesting something from the App Engine:

java.lang.NoClassDefFoundError: com.google.appengine.api.utils.SystemProperty

What is it? How can I find out which library is missing? Can I somehow analyze the JAR? Or do you know if this is documented somewhere?

Remember that I am on the interface, not on the server, so I can not or perhaps should not embed the application in Android :(

:

:

:

compile 'joda-time:joda-time:2.3'
compile 'com.google.guava:guava:17.0'
compile 'com.google.appengine.tools:appengine-gcs-client:0.3.13@jar'

< > GCS Java Client Android Studio, Java Client . , - Eclipse, , : . https://developers.google.com/appengine/docs/java/googlecloudstorageclient/getstarted

, , com.google.appengine.api.utils.SystemProperty(, ). SystemProperty appengine-api-1.0-sdk-1.9.6.jar, , dexer. [ , , , .]

@jamrockRay , Eclipse, , , : java.lang.NoClassDefFoundError, GCS - . , :

java.lang.NoClassDefFoundError: com.google.appengine.api.utils.SystemProperty
at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createRawGcsService(GcsServiceFactory.java:45)
at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:38)
at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:34)

, Cloud Storage? .

Google: , GCS Java Client Android Studio? SystemProperty ? ? applicationId applicationVersion [ App Engine], -? ?

+4

Source: https://habr.com/ru/post/1545450/


All Articles