我使用Apktool对APK文件进行了反编译并做了一些更改,然后我尝试重新编译它,我收到了这个错误。
aapt: warning: string 'auth_client_needs_enabling_title' has no default translation in C:\Users\Dell\android-sdks\platform-tools\MageSimi\SimiCart_com.magestore.simicart_2.0_5\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_needs_installation_title' has no default translation in C:\Users\Dell\android-sdks\platform-tools\MageSimi\SimiCart_com.magestore.simicart_2.0_5\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_needs_update_title' has no default translation in C:\Users\Dell\android-sdks\platform-tools\MageSimi\SimiCart_com.magestore.simicart_2.0_5\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_play_services_err_notification_msg' has no default translation in C:\Users\Dell\android-sdks\platform-tools\MageSimi\SimiCart_com.magestore.simicart_2.0_5\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_requested_by_msg' has no default translation in C:\Users\Dell\android-sdks\platform-tools\MageSimi\SimiCart_com.magestore.simicart_2.0_5\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_using_bad_version_title' has no default translation in C:\Users\Dell\android-sdks\platform-tools\MageSimi\SimiCart_com.magestore.simicart_2.0_5\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
我去了我的资源文件,已有翻译可用。 如何解决此错误。请帮助我在紧迫的期限内。 非常感谢您提前
答案 0 :(得分:3)
确保文件中有<string ...>...</string>
条记录&#39; C:\\ ... RES \值\ strings.xml中&#39;文件。您应该能够使用您喜爱的XML编辑器使用Windows资源管理器打开此文件,或者如果您通过单击未标记标志的strings.xml文件并且没有对其名称具有任何权限而使用该文件。在以下屏幕截图中,文件突出显示:
在此XML文件中,您必须为资源auth_client_needs_installation_title
,auth_client_play_services_err_notification_msg
,auth_client_needs_update_title
,auth_client_requested_by_msg
和auth_client_using_bad_version_title
答案 1 :(得分:3)
如果要将ADT项目迁移到新的Android Studio,Lukas提到res文件夹中的strings.xml需要定义以下附加字符串。
<string name="auth_client_needs_enabling_title"></string>
<string name="auth_client_needs_installation_title"></string>
<string name="auth_client_needs_update_title"></string>
<string name="auth_client_play_services_err_notification_msg"></string>
<string name="auth_client_requested_by_msg"></string>
<string name="auth_client_using_bad_version_title"></string>
如果未显示资源文件夹,请右键单击该模块并选择“打开模块设置”,然后找到该模块,然后在“标记为:”中选择资源文件夹(我的名为res)及上方选择资源。