세상사는 이야기 / 도움이 되었다면 배너 클릭 부탁드려요~ →→→

2018년 8월 10일 금요일

[Unity Android] Failed to execute aapt

FireBase 작업중 갑자기 없던 에러가 발생
검색결과 다시 빌드 하라는 말만..

해결
라이브러리를 찾지 못해서 발생
Menu Asset -> Play Services Resolver -> Android Resolver를 다시 실행해서 라이브러리를 다시 받는다.




CommandInvokationFailure: Gradle build failed.
C:/Program Files/Java/jdk1.8.0_171\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2018.2.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"

stderr[
error: resource style/Theme.AppCompat.NoActionBar (aka com.temp.mf:style/Theme.AppCompat.NoActionBar) not found.
error: resource style/Theme.AppCompat.Dialog (aka com.temp.mf:style/Theme.AppCompat.Dialog) not found.
error: failed linking references.

Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt
at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)
at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)
at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)
at
...
..


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processReleaseResources'.
> Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 39s
]
stdout[
:preBuild UP-TO-DATE
:extractProguardFiles



댓글 없음:

댓글 쓰기