You are not logged in.

#1 2014-07-30 15:26:42

damjan
Member
Registered: 2006-05-30
Posts: 454

Compiling android programs on Arch

Hi all,
I'm trying to compile an Android program on my Archlinux desktop but it fails with:

$ ./gradlew
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':Tinfoil-for-Facebook'.
> Could not resolve all dependencies for configuration ':Tinfoil-for-Facebook:_debugCompile'.
   > Could not find any version that matches com.android.support:support-v4:20.+.
     Required by:
         Tinfoil-Facebook:Tinfoil-for-Facebook:unspecified

The application is https://github.com/velazcod/Tinfoil-Facebook

I have the following packages installed:

android-platform-20 4.4W_r01-1
android-sdk r23.0.2-1
android-sdk-platform-tools r20-1
android-support r20-1
repo-git 20110514-1

and ANDROID_HOME is set to /opt/android-sdk

Edit - I also have these installed. Don't know what else is relevant:

android-sdk-build-tools
jdk7-openjdk 7.u65_2.5.1-3
jre7-openjdk 7.u65_2.5.1-3
jre7-openjdk-headless 7.u65_2.5.1-3

Last edited by damjan (2014-07-30 15:43:53)

Offline

#2 2014-07-31 11:06:24

damjan
Member
Registered: 2006-05-30
Posts: 454

Re: Compiling android programs on Arch

Just for reference, adding local.properties with "sdk.dir=/opt/android-sdk" didn't change a thing.
Changing to the oracle jdk7 from AUR (7.65 at this moment) also didn't change a thing.

Offline

#3 2014-07-31 14:38:35

xero
Member
From: ~/
Registered: 2014-04-02
Posts: 86
Website

Re: Compiling android programs on Arch

have you tired android-studio from the aur?


▬▬ι═══════ﺤ
http://git.io/.files

Offline

Board footer

Powered by FluxBB