Getting started with Android code samples - permission error

New for android. Running Eclipse on Ubuntu 9.10 with the Android SDK plugin installed and working. Trying to get some code samples from http://developer.android.com/resources/samples/get.html and following its procedure for loading these samples into Eclipse, you will get:

Parent of resource: /home/user/android-sdk/platforms/android-4/samples/Notepad/.project is marked as read-only.

chmod is not recursive, so I entered ~ / android-sdk / platform and "chmod 777 *" i.e. all folders in / platform. Still not working. This seems to be a bug in Eclipse that wants to create a project in the SDK folder, not in ~ / workspace.

+3
source share
3 answers

This is an old thread, but still a problem with the newest version of ADT.

chmod sdk, , .

:

sudo chmod -R yourProfileName YourProjectDir/

ProfileName - , . , , OSX. - → .

0

, " " / Eclipse.

, , .

0

. Chmod ():

chmod 777 android-sdk -R

, , Eclipse.

-1

Source: https://habr.com/ru/post/1742705/


All Articles