2

That's it, actually. I prefer not to use Eclipse, and want to use the command line.

I've tried to just build it without doing anything special, but it gave me errors like:

package com.giderosmobile.android.player does not exist
cannot find symbol AudioDevice
 etc.

Also, if it's possible, I'd like to use another IDE and use the command line for the entire process. Is this possible? If yes, how?

This is my first question here on SO, so please correct me if I'm asking it wrong.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
Darkwater
  • 1,358
  • 2
  • 12
  • 25

1 Answers1

0

Well first, I noticed that there was no included ant build file, and it was missing several other things. So first things first...

{sdkdir}/tools/android update project --path [locationToProject]

Will generate your build files and everything else.

But it looks like from trying to build this failed because it wants to import location

com.giderosmobile.android.player.*

You might be missing that dependency or the package is named incorrectly...

[Edit]

I swapped this line:

import com.giderosmobile.android.player.*;

with

import com.giderosmobile.android.player.AudioDevice;
import com.giderosmobile.android.player.JavaNativeBridge;

And it built just fine using 'ant debug'. Hope that helps!

[Edit 2]

Move "gideros.jar" into the libs folder

RyanInBinary
  • 1,533
  • 3
  • 19
  • 47
  • This gives me the error `package com.giderosmobile.android.player does not exist` twice and the errors for not finding the classes trying to import. Any idea? – Darkwater Aug 07 '12 at 18:59
  • Thanks, it works now! (Of course it also works with `import com.giderosmobile.android.player.*;` now.) – Darkwater Aug 07 '12 at 20:11
  • Yes, it should work with your default import. I didn't realize that I had moved that file, after I made my initial comment. – RyanInBinary Aug 07 '12 at 20:16