ADT bundle and jME SDK

Hi all,

I’m having trouble with the jME SDK and the Android ADT bundle. The ADT bundle is Eclipse and the Android SDK bundled. With the ADT bundle the Android SDK is structured like this:

  • android-sdk:
  • SDK manager
  • sdk
  • eclipse

The Android SDK is now inside the android-sdk folder. I have selected the android-sdk\sdk in the options, but now it goes wrong with building:
Replacing bullet library with android native version.
Expanding: G:\Development\GameDev\jMP\CarGame\engine\mobile\libs\jME3-bullet-natives-android.jar into G:\Development\GameDev\jMP\CarGame\engine\mobile\libs
Deleting: G:\Development\GameDev\jMP\CarGame\engine\mobile\libs\jME3-bullet-natives-android.jar
Deleting directory G:\Development\GameDev\jMP\CarGame\engine\mobile\libs\x86
Copying 1 file to G:\Development\GameDev\jMP\CarGame\engine\mobile\libs
G:\Development\GameDev\jMP\CarGame\engine\nbproject\mobile-impl.xml:21: The following error occurred while executing this line:
G:\Development\GameDev\jMP\CarGame\engine\mobile\build.xml:90: Cannot find F:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml imported from G:\Development\GameDev\jMP\CarGame\engine\mobile\build.xml

The sdk folder is removed from the path to tools\ant\build.xml, so that’s the reason the tools\ant\build.xml isn’t found.

Can the jME SDK be changed so that it also works with the Android ADT bundle ?

Thanks in advance.

Regards,

Vortex

I don’t even know what an “ADT bundle” is but the project in the “mobile” folder is a normal android project that is created by the android tool, so you can extend it with that “ADT” like any other project. Maybe this allows you to widen your search.

@normen: I mean this (taken from developer.android.com):
If you’re a new Android developer, we recommend you download the ADT Bundle to quickly start developing apps. It includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Eclipse + ADT plugin
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulator

That’s what I meant by saying that the folder structure is different than with the SDK Tools Only download. I think you should make a change to the SDK or make a notice in the manual.

@iwgeric: Are you aware of this issue ?

@Vortex: Then I request that google mentions this in the eclipse-specific download… Either way, you go your own way, you read the manual. It tells you its a normal android project.

It works again with the SDK Tools Only download. Hopefully this whole story is useful for someone in the future… XD

@Vortex. from what I can tell, the bundled SDK+Eclipse package is not meant to be used outside of eclipse. If you want to use it with the JME SDK, I believe you’ll need to also download the standalone Android SDK package like usual.

If you already have an IDE you want to use for Android app development, setting up a new SDK requires that you download the SDK Tools, then select additional Android SDK packages to install (such as the Android platform and system image). If you'll be using an existing version of Eclipse, then you can add the ADT plugin to it.

@Vortex, it helped me, man. I was suspecting exactly that and when I saw your post, I fixed what was wrong.
In fact, this happened last month, but I forgot to come here to thank you. So… thanks!

@iwgeric : Thanks for looking at the website.

@jmarcoscl : It’s nice to hear that it was helpful for you. XD