user2881726
user2881726

Reputation: 59

Android Studio with Subversion on Windows works fine, but keeps throwing errors

My environment is Android Studio, Win 7, Subversion.

Everything works fine, however, everything related to subversion, like commits, updates keeps throwing errors as if it didn't work.

But it worked! When I commit a change, my colleagues can update their files and my changes will be there. It's just these annoying random messages.

This is the message when I update the repository: Error:svn: E155000: Failed to add directory 'app/build/intermediates/res/debug': an unversioned directory of the same name already exists but it does work, because I can see the changes from my colleagues.

This is when I try to check in Error:Warning: post-commit FS processing had error 'attempt to write a readonly database'. So weird... it still working fine!

What's happening and how can I get rid of these error messages?

Thanks for any help.

Upvotes: 2

Views: 417

Answers (2)

user2881726
user2881726

Reputation: 59

I fixed the problem by going on the subversion server and adding permissions to write for the group on the file:

/home/svn/repos/db/rep-cache.db

Hope it helps someone else.

Upvotes: 2

55597
55597

Reputation: 2132

You need to add certain files to the ignore list of SVN.

Read up about the ignoring files part.

I have added the following items in my .gitignore, it should be the same for SVN:

gradle
.idea
*.iml
build
.DS_Store -- only in macs

Upvotes: -1

Related Questions