移动叔叔

标题: 回编译 Contacts.apk 失败 求大神指点 谢谢大家 [打印本页]

作者: 76455115    时间: 2017-1-1 00:56
标题: 回编译 Contacts.apk 失败 求大神指点 谢谢大家
本帖最后由 76455115 于 2017-1-1 11:21 编辑

W: warning: string 'the_laba_rice_porridge_festival' has no default translation.

W: warning: string 'the_mid_autumn_festival' has no default translation.
W: warning: string 'the_rains' has no default translation.
W: warning: string 'the_spring_festival' has no default translation.
W: warning: string 'to_activate_the_account' has no default translation.
W: warning: string 'today_at_time_fmt' has no default translation.
W: warning: string 'tomorrow_at_time_fmt' has no default translation.
W: warning: string 'tw_childrens_day' has no default translation.
W: warning: string 'tw_youth_day' has no default translation.
W: warning: string 'unknown_caller' has no default translation.
W: warning: string 'unknown_phone_number_detail_failed' has no default translati
on.
W: warning: string 'untitled_event' has no default translation.
W: warning: string 'voip_contacts_entry_header' has no default translation.
W: warning: string 'v褋ard_export_request_rejected_message' has no default trans
lation.
W: warning: string 'v褋ard_export_will_start_message' has no default translation
.
W: warning: string 'v褋ard_import_failed' has no default translation.
W: warning: string 'v褋ard_import_request_rejected_message' has no default trans
lation.
W: warning: string 'v褋ard_import_will_start_message' has no default translation
.
W: warning: string 'v褋ard_import_will_start_message_with_default_name' has no d
efault translation.
W: warning: string 'v褋ard_unknown_filename' has no default translation.
W: warning: string 'white_dews' has no default translation.
W: warning: string 'winter_begins' has no default translation.
W: warning: string 'winter_solstice' has no default translation.
W: warning: string 'yellowpage_mi_family' has no default translation.
W: warning: string 'yellowpage_navigation_network_location_enable' has no defaul
t translation.
W: warning: string 'yellowpage_navigation_network_location_enable_later' has no
default translation.
W: warning: string 'yellowpage_navigation_network_location_enabled' has no defau
lt translation.
W: warning: string 'yellowpage_navigation_network_location_not_enabled_summary'
has no default translation.
W: warning: string 'yellowpage_navigation_network_location_not_enabled_title' ha
s no default translation.
W: warning: string 'yellowpage_navigation_search_hint' has no default translatio
n.
W: D:\360安全浏览器下载\一键APKtool\Contacts\res\layout\cloud_state_view.xml:5:
error: Error: No resource found that matches the given name (at 'layout' with va
lue '@miui.system:layout/micloud_state_view').
W:打包 Contacts.apk 完成! 请检查过程中是否有错误提示

文件夹下没有生成相应的APK

================================================================================================
下面是Contacts\res\layout\cloud_state_view.xml 文件的代码
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <RelativeLayout android:id="@id/cloud_state_container" android:layout_width="fill_parent" android:layout_height="@dimen/cloud_state_view_height">
        <include android:id="@id/micloud_state_view" layout="@miui.system:layout/micloud_state_view" />
        <View android:id="@id/private_divider" android:background="@drawable/private_header_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_alignParentBottom="true" />
    </RelativeLayout>
</FrameLayout>

=================================================================================================









作者: 低调耍机    时间: 2017-1-1 07:38
资源丢失, 一键APKtool\Contacts\res\layout\cloud_state_view.xml文件第五行出错,删掉@miui.system:layout/micloud_state_view 这一行即可!放心删,以前反编译设置也报这样的错,删了就可以回编译了!
作者: 低调耍机    时间: 2017-1-1 07:40
是删掉第五行整,对了能把你的一键apktool发份给我吗?电脑版的apktool找不到合适的!
作者: 76455115    时间: 2017-1-1 10:59
本帖最后由 76455115 于 2017-1-1 11:34 编辑
低调耍机 发表于 2017-1-1 07:40
是删掉第五行整,对了能把你的一键apktool发份给我吗?电脑版的apktool找不到合适的!

链接: http://pan.baidu.com/s/1o8sEtnG 密码: j45s
作者: 76455115    时间: 2017-1-1 11:00
低调耍机 发表于 2017-1-1 07:38
资源丢失, 一键APKtool\Contacts\res\layout\cloud_state_view.xml文件第五行出错,删掉@miui.system:layo ...

谢谢  删除掉后  放回手机 改完权限  总提示停止运行

作者: 76455115    时间: 2017-1-1 11:59
删除应对资源后 怎么找到 smali中对应的资源 ?
作者: 低调耍机    时间: 2017-1-1 12:53
76455115 发表于 2017-1-1 11:00
谢谢  删除掉后  放回手机 改完权限  总提示停止运行

smali文件不需要改动吧,至于替换后报错。要么你改动的代码有问题,要么就是签名问题。
作者: 低调耍机    时间: 2017-1-1 12:55
76455115 发表于 2017-1-1 10:59
链接: http://pan.baidu.com/s/1o8sEtnG 密码: j45s

。。这个提取码是错的!
作者: 76455115    时间: 2017-1-1 16:06
低调耍机 发表于 2017-1-1 12:55
。。这个提取码是错的!

链接没问题啊.你加我微信76455115




欢迎光临 移动叔叔 (http://bbs.ydss.cn/) Powered by Discuz! X3.2