문제

Very basic question. I plan to do our builds via Hudson and have android apk files available for download there. Is R.java in the /gen directory something that you check-in with you VCS? Or is it something that needs to be ignored and android sdk will generate every time if it doesn't exist?

도움이 되었습니까?

해결책

The entire gen folder is automatically generated and shouldn't be checked into VCS.

다른 팁

Nothing in gen should go into your repository. Add gen to your .gitignore to avoid mistakes/cluttered git status.

No, you don't have to include any of the gen/ files. You must exclude the gen directory itself, otherwise you could ran into problems when updating/committing to git or any other VCS.

You need to ignore this file. Ant build task create this file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top