libgdx / gdx-liftoff

A modern setup tool for libGDX Gradle projects
Apache License 2.0
530 stars 50 forks source link

Giving an error to a correct directory for Android SDK #46

Closed ronjunevaldoz closed 3 years ago

ronjunevaldoz commented 3 years ago

Giving an error to a correct directory for Android SDK image

tommyettinger commented 3 years ago

What are the contents of E:/Android/Sdk ? For me, when I list the contents of a working Sdk directory, I get:

build-tools/
emulator/
extras/
licenses/
patcher/
platform-tools/
platforms/
skins/
sources/
system-images/
tools/

It would also help to know what version of Android SDK you have installed; maybe some newer versions don't validate correctly.

ronjunevaldoz commented 3 years ago

it was working correctly when using the official libgdx setup, same directory.

On Fri, 30 Apr 2021 at 15:56, Tommy Ettinger @.***> wrote:

What are the contents of E:/Android/Sdk ? For me, when I list the contents of a working Sdk directory, I get:

build-tools/ emulator/ extras/ licenses/ patcher/ platform-tools/ platforms/ skins/ sources/ system-images/ tools/

It would also help to know what version of Android SDK you have installed; maybe some newer versions don't validate correctly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tommyettinger/gdx-liftoff/issues/46#issuecomment-829916201, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFYAHRQQLK3EXFZCY2STUDTLJPENANCNFSM433KESLA .

ronjunevaldoz commented 3 years ago

It was working correctly when using libgdx setup, using same e:/Android/Sdk directory. Below is the screenshot for your reference.

image

bestiardo commented 3 years ago

It was working correctly when using libgdx setup, using same e:/Android/Sdk directory. Below is the screenshot for your reference.

image

create a tools folder. Works for me

tommyettinger commented 3 years ago

This should be fixed in https://github.com/tommyettinger/gdx-liftoff/releases/tag/v1.10.0.3 . It looks like tools was renamed to cmdline-tools in some recent version of the Android SDK, so now liftoff will check if either is present (as well as needing platforms) to validate an SDK directory.