You are not logged in.

#1 2018-06-12 16:56:56

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Android SDK permissions

Hi,

I've been trying to build my first ionic app. The error message is clear:

* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> Failed to install the following SDK components:
  [Android SDK Platform 26]
  The SDK directory (/opt/android-sdk) is not writeable,
  please update the directory permissions.

The remedy seems to be pretty straightforward: ArchWiki. Unfortunately, the above message persists. My permissions look perfectly good:

$ ls -l /opt/android-sdk/
total 20
drwxrwxr-x 2 root sdkusers 4096 Oct  2  2017 add-ons
drwxrwxr-x 3 root sdkusers 4096 Jun 12 18:05 build-tools
drwxrwxr-x 2 root sdkusers 4096 Jun 12 19:23 licenses
drwxrwxr-x 2 root sdkusers 4096 Oct  2  2017 platforms
drwxrwxr-x 6 root sdkusers 4096 Jun 12 19:23 tools
$ groups
wheel users docker sdkusers
$ ls -l /opt
total 44
drwxr-xr-x 13 root root      4096 Jun 10 10:20 android-ndk
drwxrwxr-x  7 root sdkusers  4096 Jun 12 19:23 android-sdk
drwxr-xr-x  6 root root     12288 Jun  7 22:23 dropbox
drwxr-xr-x  3 root root      4096 Feb  4  2015 google
drwxr-xr-x 30 root root      4096 May 29  2016 lampp
drwxr-xr-x  4 root root      4096 May 16  2016 LightTable
drwxr-xr-x  6 root root      4096 Jun  7 22:25 master-pdf-editor-5
drwxr-xr-x  2 root root      4096 Mar 18  2017 plantuml
drwxr-xr-x  4 root root      4096 Jun  7 22:25 sublime_text_3

Or do they?

Offline

Board footer

Powered by FluxBB