android studio 打包报错,困扰了好久,急急急
刘鸣 2016-10-08 10:04:41 今天使用gradle build 命令执行,build.gradle文件,打包生成apk文件过程中,提示 Position 7 : No resource identifier found for attribute 'elevation' in package 'android'
Position 7 : No resource identifier found for attribute 'elevation' in package 'android'
Position 7 : No resource identifier found for attribute 'elevation' in package 'android' Position 7 : No resource identifier found for attribute 'elevation' in package 'android' Position 6 : No resource identifier found for attribute 'elevation' in package 'android' Position 2 : No resource identifier found for attribute 'elevation' in package 'android' Position 19:27-82 : No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_right_selected_holo_dark').
Position 19:27-83 : No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_right_selected_holo_light'). Position 20:29-84 : No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_right_default_holo_light'). :LakalaClient:processPreDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':LakalaClient:processPreDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\SoftWare\AS_SDK\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
我全局收索了提示缺少的资源文件,'@drawable/abc_textfield_search_right_default_holo_light等,发现都是在build文件件中,也就是自动生成的文件,一直没有得到解决,做编译打包也有一段时间了 ,遇到过很多问题都能顺利的解决,唯独这个问题困扰了我好久,希望CSDN的大神们帮忙找一找原因啊,