Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/357.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/208.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java …/sdk/platform tools/adb,启动服务器失败_Java_Android_Gradle - Fatal编程技术网

Java …/sdk/platform tools/adb,启动服务器失败

Java …/sdk/platform tools/adb,启动服务器失败,java,android,gradle,Java,Android,Gradle,我最近开始做一个android项目,它可以访问麦克风资源来保存声音文件,但是由于我一直遇到大量的构建错误,我至今无法对它进行测试。我不确定如何获得更具体的错误,因为我还没有收到堆栈跟踪,所以我将粘贴gradle build窗口给我的错误消息示例: .../app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/values-v17/values-v17.xml Error:(10, 21)

我最近开始做一个android项目,它可以访问麦克风资源来保存声音文件,但是由于我一直遇到大量的构建错误,我至今无法对它进行测试。我不确定如何获得更具体的错误,因为我还没有收到堆栈跟踪,所以我将粘贴gradle build窗口给我的错误消息示例:

.../app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/values-v17/values-v17.xml
Error:(10, 21) No resource found that matches the given name: attr 'android:paddingEnd'.
Error:(10, 21) No resource found that matches the given name: attr 'android:paddingEnd'.
Error:(6, 21) No resource found that matches the given name: attr 'android:textAlignment'.
Error:(13, 21) No resource found that matches the given name: attr 'android:paddingStart'.
Error:(17, 21) No resource found that matches the given name: attr 'android:layout_marginEnd'.
Error:(10, 21) No resource found that matches the given name: attr 'android:paddingEnd'.
.../app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/values-v21/values-v21.xml
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.

你知道是什么错误造成的吗?提前谢谢

看起来像是某种路径错误。生成找不到库,或者库未安装。检查SDK路径是否正确,然后使用SDK管理器确保您拥有适合目标构建级别的正确android软件包,并执行项目清理。这看起来像是某种路径错误。生成找不到库,或者库未安装。检查SDK路径是否正确,然后使用SDK管理器确保您拥有适合目标构建级别的正确android软件包,并进行项目清理