fuzzycuffs
fuzzycuffs

Reputation: 139

How to compile a Android SDK

I have a file system for an Android SDK that I need to compile but I have no idea how. Basic structure looks like this:

enter image description here

Any ideas? I've tried importing into Android studio and running gradle commands. I've tried importing into eclipse (which didn't work).

Upvotes: 0

Views: 243

Answers (2)

fuzzycuffs
fuzzycuffs

Reputation: 139

Turns out it wasn't too bad.

I needed to import into Eclipse ADT (which is not longer supported I believe). Run once as a java project which generates a launch configuration then export as a runnable jar.

Upvotes: 0

avluis
avluis

Reputation: 327

That looks like an Eclipse project - if using Android Studio, you need to use the Import Project (Eclipse ADT, Gradle, etc.) option when importing.

If compiling fails, you may just need to reference the libraries the project is using - this should let you compile.

Upvotes: 1

Related Questions