Hi, 安仲奇!

So, I wouldn't say jclouds is android friendly, yet. It still uses a lot of
reflection and we don't have a test module to ensure any level of
compatibility.

That said, we can improve upon this over time for sure. First steps I would
take is to use 1.8.1 (coming out this week), the okhttp driver, and use the
ApiMetadata arg to ContextBuilder (ex. newBuilder (new NovaApiMetadata())

Even better, open a jira and help us track progress as we can certainly
make things better (if still a work in progress) for 2.0

-A
On Oct 6, 2014 7:56 AM, "azq" <[email protected]> wrote:

>  Hi, everyone,
>
> My name is 安仲奇.
>
> I recently started using jclouds to develop clients for the internal
> OpenStack platform of my lab, and jclouds really helped me a lot, and
> everything worked fine in my Java Swing client.
>
> I ran into some problems when I tried to do the same on the Android
> platform, such as:
>
> When building a Keystone API (`newBuilder("openstack-keystone")`), an
> exception of
>
> ```
>     java.util.NoSuchElementException: key [openstack-keystone] not in the
> list of providers or apis: {}
> ```
>
> was throwed out.
>
> When getting the jclouds version (`JcloudsVersion.get()`), an exception
> of
>
> ```
>     java.lang.NullPointerException:
> META-INF/maven/org.apache.jclouds/jclouds-core/pom.properties
> ```
>
> was catched.
>
> I'm using the `1.8.0-SNAPSHOT` jar files, and I've imported every
> dependency jar downloaded by Maven to the `lib` folder of my Eclipse
> projcet.
>
> So, any ideas about what could be the problem? Is jclouds compatible
> with the Android platform?
>
> Best wishes!
>
> ---
>
> anzhongqi
> High Performance Computer Research Center
> Institute of Computing Technology, Chinese Academy of Sciences
>
>

Reply via email to