Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.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 Android Studio:无法识别的密钥存储条目+&引用;此处不允许使用android属性“;在Manifest.xml中_Java_Android - Fatal编程技术网

Java Android Studio:无法识别的密钥存储条目+&引用;此处不允许使用android属性“;在Manifest.xml中

Java Android Studio:无法识别的密钥存储条目+&引用;此处不允许使用android属性“;在Manifest.xml中,java,android,Java,Android,我在Android Studio上遇到了一个新问题:当我想要创建项目时,构建输出显示:“无法识别的密钥存储条目””。 更具体地说,一个错误似乎出现在配置项目部分(在构建输出中) 另外,当我查看Manifest.xml时,它说这里不允许使用android属性。每个示例:“属性android::layout_width在此不允许”。此外,关于行“xmlns:app=”http://schemas.android.com/apk/res-auto“显示此消息:未注册URI(设置|语言与框架|架构与DT

我在Android Studio上遇到了一个新问题:当我想要创建项目时,构建输出显示:“无法识别的密钥存储条目””。 更具体地说,一个错误似乎出现在配置项目部分(在构建输出中)

另外,当我查看Manifest.xml时,它说这里不允许使用android属性。每个示例:“属性android::layout_width在此不允许”。此外,关于行“xmlns:app=”http://schemas.android.com/apk/res-auto“显示此消息:未注册URI(设置|语言与框架|架构与DTD)

我已经在互联网上检查了所有我能检查的东西…所以我不知道该做什么。我已经做了: -使缓存无效/重新启动 -删除。升级并重新生成项目 -重新安装Android Studio

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schemas.android.com/apk/res/android
http://schemas.android.com/apk/res/android ">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World!"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

</android.support.constraint.ConstraintLayout>
在我创建的每个项目中都会发生这种情况。“无法识别的密钥存储条目”可能意味着
签名配置
与任何密钥都不匹配

并删除这些行:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.android.com/apk/res/android http://schemas.android.com/apk/res/android "
以下是最常见的名称空间:

xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"

在构建项目一次后,不是每隔一行都应该是红色的。

删除这两行后,问题没有得到解决。如果名称空间为“xmlns:android=”“是正确的否?尝试像这样更新xmlns:android=“”
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"