Can't Run 'app' in Android studio Execution failed for task ':app:mergeDebugResources' -
i'm beginner.. in fact installed android studio few days ago. anyway, when click run 'app' says:
executing tasks: [:app:assembledebug] configuration on demand incubating feature. :app:prebuild up-to-date :app:predebugbuild up-to-date :app:checkdebugmanifest :app:prereleasebuild up-to-date :app:preparecomandroidsupportappcompatv72220library up-to-date :app:preparecomandroidsupportsupportv42220library up-to-date :app:preparedebugdependencies :app:compiledebugaidl up-to-date :app:compiledebugrenderscript up-to-date :app:generatedebugbuildconfig up-to-date :app:generatedebugassets up-to-date :app:mergedebugassets up-to-date :app:generatedebugresvalues up-to-date :app:generatedebugresources up-to-date :app:mergedebugresources [fatal error] :6:7: il tipo di elemento "resources" deve terminare con la corrispondente tag finale "< /resources>". c:\users\x\androidstudioprojects\myapplication\app\src\main\res\values\styles.xml:5:6: error: il tipo di elemento "resources" deve terminare con la corrispondente tag finale "< /resources>". :app:mergedebugresources failed failure: build failed exception. * went wrong: execution failed task ':app:mergedebugresources'. > c:\users\x\androidstudioprojects\myapplication\app\src\main\res\values\styles.xml:5:6: error: il tipo di elemento "resources" deve terminare con la corrispondente tag finale "< /resources>". * try: run --stacktrace option stack trace. run --info or --debug option more log output. build failed total time: 7.517 secs
and if go in styles.xml have:
< resources> <!-- base application theme. --> <style name="theme.appcompat.light.darkactionbar" parent="base.theme.appcompat.light.darkactionbar" /> <!-- customize theme here. --> </style> < /resources>
so don't know.. what's problem? me! :(
your style being closed in line
<style name="theme.appcompat.light.darkactionbar" parent="base.theme.appcompat.light.darkactionbar" />
by />
</style>
looking open style tag doesn't exist. can delete or change />
>
just side note, best if post log file in english.
Comments
Post a Comment