gpt4 book ai didi

java - 上传到 Google Play 时出错 : android:label attribute: attribute is not a string value

转载 作者:行者123 更新时间:2023-12-01 11:22:00 24 4
gpt4 key购买 nike

我尝试将我的新 apk 上传到 Google Play 服务,但它显示当前错误消息:

Your APK cannot be analyzed using aapt. Error output:
Failed to run aapt dump badging:
ERROR getting 'android:label' attribute:attribute is not a string value

我尝试在网络上搜索此错误,本教程( ERROR getting 'android:label' attribute: attribute is not a string value )建议使用“aapt dump badging APKPATH”命令来查看错误所在。这是我得到的: http://postimg.org/image/u8d0unohv/

我真的不知道怎么读这个。有人可以帮助我识别错误吗?我的游戏有一个用于日语字符串的 value-jp 文件夹,这是 list 文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="br.ufrn.dimap.pairg.karutakanji.android"
android:versionCode="7"
android:versionName="0.1.12-beta" >

<supports-screens
android:largeScreens="true"
android:normalScreens="false"
android:smallScreens="false"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="600" />

<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="18" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<dependency>
<groupId>javax.mail</groupId>

<artifactId>mail</artifactId>
<version>1.4.5</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>

<artifactId>activation</artifactId>

<version>1.1.1</version>
</dependency>

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/tituloDoApp"
android:theme="@style/AppTheme" >
<meta-data
android:name="com.google.android.gms.games.APP_ID"
android:value="@string/app_id" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

<activity
android:name="com.karutakanji.EscolherCategoriasModoTreinamento"
android:label="@string/app_name"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.MainActivity"
android:label="@string/tituloDoApp"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.karutakanji.ModoCasual"
android:label="@string/title_activity_tela_inicial_multiplayer"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.ModoTreinamento"
android:label="@string/title_activity_modo_treinamento"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.DadosPartidasAnteriores"
android:label="@string/title_activity_dados_partidas_anteriores"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.MostrarDadosUmaPartida"
android:label="@string/title_activity_mostrar_dados_uma_partida"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.LojinhaMaceteKanjiActivity"
android:label="@string/title_activity_lojinha_macete_kanji"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.VerMaceteKanjiActivity"
android:label="@string/title_activity_ver_macete_kanji"
android:screenOrientation="portrait" >
</activity>

<service
android:name="com.karutakanji.BackgroundSoundService"
android:enabled="true" >
</service>

<activity
android:name="com.karutakanji.MostrarRegrasModoTreinamento"
android:label="@string/tituloDoApp"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.Configuracoes"
android:label="@string/title_activity_configuracoes"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.EscolherFormaDeJogoTreinamento"
android:label="@string/title_activity_escolher_forma_de_jogo_treinamento"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.ModoCompeticao"
android:label="@string/title_activity_modo_competicao"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.RankingCompeticao"
android:label="@string/title_activity_ranking_competicao"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.EsqueceuSenha"
android:label="@string/title_activity_esqueceu_senha"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.karutakanji.MostrarPalavrasUmaPartida"
android:label="@string/title_activity_mostrar_palavras_uma_partida"
android:screenOrientation="portrait" >
</activity>
</application>

</manifest>

最佳答案

您的某些标签似乎不合适。确保遵循正确的结构,可以在 Here 中找到。看着Manifest page “依赖关系”标签似乎无效,因为它不在“可以包含”列表中。

关于java - 上传到 Google Play 时出错 : android:label attribute: attribute is not a string value,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31118367/

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