본문 바로가기
개발/안드로이드

안드로이드 스튜디오가 1.0으로 업데이트 되면서 2

by GreatCoding 2014. 12. 23.

안드로이드 스튜디오가 1.0으로 버전이 된 후,

기존에 잘 사용하던 프로젝트에서 빌드를 하려고 하니 Gradle에서 아래와 같은 에러를 내뱉었다.


Error:(25, 0) Could not find property 'processResources' on com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated@52c4794f.


역시 구글신께 문의드리니 스택오버플로우에서 친절히 답을 구할 수 있었다.


gradle 파일에서

apt {

    arguments {

// 이와 같이 되있는 문장을 아래의 문장으로 바꾸어 주세요.

//        androidManifestFile variant.processResources.manifestFile

        androidManifestFile variant.outputs[0].processResources.manifestFile

        resourcePackageName 'net.finesoft.linkerbell'

    }

}

댓글