collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
872 stars 99 forks source link

How to Build in Linux ? #64

Closed liberodark closed 4 years ago

liberodark commented 4 years ago

Hi,

How to build the project ? For me is all time in failed.

./gradlew 
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

> Configure project : 
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/maven-metadata.xml
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/gdx-box2d-platform-1.9.11-20191122.122052-25.pom
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-parent/1.9.11-SNAPSHOT/maven-metadata.xml
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-parent/1.9.11-SNAPSHOT/gdx-parent-1.9.11-20191122.121928-25.pom
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-platform/1.9.11-SNAPSHOT/maven-metadata.xml
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-platform/1.9.11-SNAPSHOT/gdx-platform-1.9.11-20191122.121948-25-natives-armeabi.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/gdx-box2d-platform-1.9.11-20191122.122052-25-natives-armeabi.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-platform/1.9.11-SNAPSHOT/gdx-platform-1.9.11-20191122.121948-25-natives-armeabi-v7a.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-platform/1.9.11-SNAPSHOT/gdx-platform-1.9.11-20191122.121948-25-natives-x86.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-platform/1.9.11-SNAPSHOT/gdx-platform-1.9.11-20191122.121948-25-natives-arm64-v8a.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/gdx-box2d-platform-1.9.11-20191122.122052-25-natives-armeabi-v7a.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/gdx-box2d-platform-1.9.11-20191122.122052-25-natives-arm64-v8a.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/gdx-box2d-platform-1.9.11-20191122.122052-25-natives-x86.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-box2d-platform/1.9.11-SNAPSHOT/gdx-box2d-platform-1.9.11-20191122.122052-25-natives-x86_64.jar
Download https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/gdx/gdx-platform/1.9.11-SNAPSHOT/gdx-platform-1.9.11-20191122.121948-25-natives-x86_64.jar

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':android'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s

Or Try with InteliJ

image Fail too

liberodark commented 4 years ago

Sorry but you have close my issue for duplicate in #6 but that not explain how to buid the project for test. Please don't close this issue without information for make a build. I dont get APK just Linux or Windows Build.

Best Regards

collinsmith commented 4 years ago

I don't have any instructions for how to get the project built and running on other configurations than my own yet. You'll have to wait until I get time and can complete #6 -- which should hopefully cover compiling on another platform like linux as well. Please stop cluttering my issues.

6 should cover basic project setup and contributing guidelines for at least windows -- but I can probably do linux as well. At a glance, you've imported the project incorrectly, it should be a gradlized project and you should be building :desktop which compiles :core -- if that works, great let me know, otherwise you need to wait :(