Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/196.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
Android 反应本机+;安卓:为什么我会收到这样的信息应用程序:processDebugResources失败“;如何解决呢?_Android_React Native Android - Fatal编程技术网

Android 反应本机+;安卓:为什么我会收到这样的信息应用程序:processDebugResources失败“;如何解决呢?

Android 反应本机+;安卓:为什么我会收到这样的信息应用程序:processDebugResources失败“;如何解决呢?,android,react-native-android,Android,React Native Android,使用react native run android构建应用程序后,我收到以下错误消息: app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:2:AAPT:Tag属性包包含无效字符“-” app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:18:AAPT:Tag属性名称包含无效字符“-” app

使用react native run android构建应用程序后,我收到以下错误消息:

app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:2:AAPT:Tag属性包包含无效字符“-”

app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:18:AAPT:Tag属性名称包含无效字符“-”

app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:24:AAPT:Tag属性名称包含无效字符“-”

app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:2:Tag属性包包含无效字符'-'。 \app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:18:标记属性名称包含无效字符'-'。 app\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:24:标记属性名称包含无效字符'-'

:app:processDebugResources失败

失败:生成失败,出现异常

  • 出了什么问题: 任务“:app:processDebugResources”的执行失败
com.android.ide.common.process.ProcessException:未能执行aapt

你能就如何解决这个问题提出建议吗


谢谢。

嗯,破折号是问题的根源。将其替换为“.”以使其正常工作