gpt4 book ai didi

android - 错误 : Suspicious namespace and prefix combination [NamespaceTypo] when I try create Signed APK

转载 作者:IT王子 更新时间:2023-10-29 00:00:29 26 4
gpt4 key购买 nike

我用 Google 搜索了我的问题,但找不到解决方案。
当我尝试创建签名的 APK 时,我收到此错误:

 Error:(6) Error: Suspicious namespace and prefix combination [NamespaceTypo]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "NamespaceTypo":
track these down.
xmlns:app="http://schemas.android.com/tools"
obscure error messages. This check looks for potential misspellings to help
Accidental misspellings in namespace declarations can lead to some very

这是这个布局文件的 fragment :

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fab="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/tools"
app:layout_behavior="@null"
android:layout_gravity="bottom|right">

最佳答案

用这个改变代码 xmlns:app="http://schemas.android.com/tools":

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

它使我的工作。

关于android - 错误 : Suspicious namespace and prefix combination [NamespaceTypo] when I try create Signed APK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34159322/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com