The Linux guide for Android (https://bitbucket.org/MartinFelis/love- ... id_-_Linux) seems to be a bit outdated (Updated 2015-12-01) so I have some questions.
I am using Arch Linux.
I've already installed:
- Java SDK
- Android SDK
- Apache Ant
I also have those components installed:
- Android SDK Tools 25.1.7
- Android SDK Platform-tools 24
- Android SDK Build-tools 24
The guide also mentions "Android 4.4.2 (API 19)" and the "Android Support Library". The support library isn't available for download anymore and for the 4.4.2, isn't that outdated?
Which packages do I still have to install? I'm new to Android development and that Android environment seems to be pretty huge and I do not want to install packages on my system which I wont need
Also I am still missing the NDK, why the hell does that thing have to be over 700 MB
Android SDK Installation
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Android SDK Installation
The support library is still available for me, under Extras. As for installing api 19, yes, it's older, but it still works, and that's the version the build system targets. Note that you only need the SDK platform. It is probably possible to build it using a newer API, but you may have to edit the build files to accommodate that.rok wrote: The guide also mentions "Android 4.4.2 (API 19)" and the "Android Support Library". The support library isn't available for download anymore and for the 4.4.2, isn't that outdated?
You could always remove them..rok wrote:I do not want to install packages on my system which I wont need
Yeah, it's kind of annoying how massive both the SDK and the NDK are, apparently I've installed 5GiB worth of "android-stuff".rok wrote: Also I am still missing the NDK, why the hell does that thing have to be over 700 MB
Re: Android SDK Installation
So I've tried building again after installing a few more packages.
If I check "Obsolete" the "Android Support Library" shows up under Extras.
The current build files from the repository want me to use API 23, so 19 seems to be outdated as stated in the guide.
I am also getting an exception "[dx] Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0" and the build stops with the message:
BUILD FAILED
/opt/android-sdk/tools/ant/build.xml:888: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:890: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:902: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:283: null returned: 1
If I check "Obsolete" the "Android Support Library" shows up under Extras.
The current build files from the repository want me to use API 23, so 19 seems to be outdated as stated in the guide.
I am also getting an exception "[dx] Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0" and the build stops with the message:
BUILD FAILED
/opt/android-sdk/tools/ant/build.xml:888: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:890: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:902: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:283: null returned: 1
-
- Prole
- Posts: 32
- Joined: Thu Aug 28, 2014 8:38 am
- Location: Russia
- Contact:
Re: Android SDK Installation
You need JDK 8Unsupported major.minor version 52.0
Love2D Exporter (Soft)
Не следует обманывать инспектора (Love2D Game)
Новогодняя ёлка (Love2D Game)
Создание танка на движке Love2D (Love2D Tank, Article)
Love2D-Helpers (Tools)
Не следует обманывать инспектора (Love2D Game)
Новогодняя ёлка (Love2D Game)
Создание танка на движке Love2D (Love2D Tank, Article)
Love2D-Helpers (Tools)
Re: Android SDK Installation
This error happens due to a local misconfiguration, please refer to the issue queue for Android:
https://bitbucket.org/MartinFelis/love- ... ersion-520
https://bitbucket.org/MartinFelis/love- ... ersion-520
Who is online
Users browsing this forum: Ahrefs [Bot] and 9 guests