[General Questions and Answers] asheg-al-reem:
hello I'm new in the xda Developers Forums :o

first sorry for my english ... ^_^

i need help about decompile and recompile apk file

i'm use is apktool the last version

i successfully to decompile apk

how i'use this apktool >

first i install the framework-res.apk after that everything is ok

for install the framework-res.apk i'use this code

apktool if framework-res.apk

after that i use this code for decompile for my apk file

apktool d zello.apk

after that i success to decompile the apk file :D

C:\apktool>apktool d zello.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\sony\apktool\framework\
1.apk
I: Loaded.
I: Renamed manifest package found! Fixing...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

but when i try to recompile apk he gave me errors I do not know why

and my modding in this apk > i add a new language that is all

after that i try to decompile but he gave me

error...?:eek:

after that i try to decompile without change anything on this apk

but he gave me same errors

this is errors >

C:\apktool\zello\res\values\public.xml:1360: error: Public symbol

string/account
s_add declared here is not defined.
C:\apktool\zello\res\values\public.xml:1362: error: Public symbol

string/account
s_atwork declared here is not defined.
C:\apktool\zello\res\values\public.xml:1361: error: Public symbol

string/account
s_empty declared here is not defined.
C:\apktool\zello\res\values\public.xml:1359: error: Public symbol

string/account
s_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1366: error: Public symbol

string/add_acc
ount_atwork declared here is not defined.
C:\apktool\zello\res\values\public.xml:1367: error: Public symbol

string/add_acc
ount_atwork_info declared here is not defined.
C:\apktool\zello\res\values\public.xml:1368: error: Public symbol

string/add_acc
ount_atwork_link declared here is not defined.
C:\apktool\zello\res\values\public.xml:1365: error: Public symbol

string/add_acc
ount_existing declared here is not defined.
C:\apktool\zello\res\values\public.xml:1364: error: Public symbol

string/add_acc
ount_new declared here is not defined.
C:\apktool\zello\res\values\public.xml:1363: error: Public symbol

string/add_acc
ount_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1427: error: Public symbol

string/app_des
c declared here is not defined.
C:\apktool\zello\res\values\public.xml:1426: error: Public symbol

string/app_nam
e declared here is not defined.
C:\apktool\zello\res\values\public.xml:1418: error: Public symbol

string/blocked
_channels declared here is not defined.
C:\apktool\zello\res\values\public.xml:1419: error: Public symbol

string/blocked
_channels_empty declared here is not defined.
C:\apktool\zello\res\values\public.xml:1416: error: Public symbol

string/blocked
_contacts declared here is not defined.
C:\apktool\zello\res\values\public.xml:1417: error: Public symbol

string/blocked
_contacts_empty declared here is not defined.
C:\apktool\zello\res\values\public.xml:1344: error: Public symbol

string/button_
send declared here is not defined.
C:\apktool\zello\res\values\public.xml:1406: error: Public symbol

string/channel
_details_blocked_users declared here is not defined.
C:\apktool\zello\res\values\public.xml:1408: error: Public symbol

string/channel
_details_moderators declared here is not defined.
C:\apktool\zello\res\values\public.xml:1409: error: Public symbol

string/channel
_details_reported declared here is not defined.
C:\apktool\zello\res\values\public.xml:1407: error: Public symbol

string/channel
_details_trusted_users declared here is not defined.
C:\apktool\zello\res\values\public.xml:1411: error: Public symbol

string/complet
e_action_using declared here is not defined.
C:\apktool\zello\res\values\public.xml:1347: error: Public symbol

string/contact
s_channels declared here is not defined.
C:\apktool\zello\res\values\public.xml:1348: error: Public symbol

string/contact
s_suggested_channels declared here is not defined.
C:\apktool\zello\res\values\public.xml:1349: error: Public symbol

string/contact
s_suggested_channels_info declared here is not defined.
C:\apktool\zello\res\values\public.xml:1346: error: Public symbol

string/contact
s_users declared here is not defined.
C:\apktool\zello\res\values\public.xml:1350: error: Public symbol

string/contact
s_you declared here is not defined.
C:\apktool\zello\res\values\public.xml:1404: error: Public symbol

string/create_
channel_created declared here is not defined.
C:\apktool\zello\res\values\public.xml:1405: error: Public symbol

string/create_
channel_duplicate declared here is not defined.
C:\apktool\zello\res\values\public.xml:1403: error: Public symbol

string/create_
channel_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1341: error: Public symbol

string/default
_call_alert_text declared here is not defined.
C:\apktool\zello\res\values\public.xml:1420: error: Public symbol

string/delete_
account_confirm declared here is not defined.
C:\apktool\zello\res\values\public.xml:1422: error: Public symbol

string/delete_
account_error declared here is not defined.
C:\apktool\zello\res\values\public.xml:1421: error: Public symbol

string/delete_
account_progress declared here is not defined.
C:\apktool\zello\res\values\public.xml:1413: error: Public symbol

string/delete_
picture declared here is not defined.
C:\apktool\zello\res\values\public.xml:1345: error: Public symbol

string/echo_hi
nt declared here is not defined.
C:\apktool\zello\res\values\public.xml:1410: error: Public symbol

string/edit_ch
annel_updated declared here is not defined.
C:\apktool\zello\res\values\public.xml:1306: error: Public symbol

string/error_a
ccount_creation_exceeded declared here is not defined.
C:\apktool\zello\res\values\public.xml:1293: error: Public symbol

string/error_b
rute_force declared here is not defined.
C:\apktool\zello\res\values\public.xml:1305: error: Public symbol

string/error_d
aily_account_creation_exceeded declared here is not defined.
C:\apktool\zello\res\values\public.xml:1309: error: Public symbol

string/error_d
uplicate_username declared here is not defined.
C:\apktool\zello\res\values\public.xml:1316: error: Public symbol

string/error_e
mpty_channel_name declared here is not defined.
C:\apktool\zello\res\values\public.xml:1317: error: Public symbol

string/error_e
mpty_network declared here is not defined.
C:\apktool\zello\res\values\public.xml:1313: error: Public symbol

string/error_e
mpty_password declared here is not defined.
C:\apktool\zello\res\values\public.xml:1312: error: Public symbol

string/error_e
mpty_username declared here is not defined.
C:\apktool\zello\res\values\public.xml:1315: error: Public symbol

string/error_i
nvalid_current_password declared here is not defined.
C:\apktool\zello\res\values\public.xml:1318: error: Public symbol

string/error_i
nvalid_network declared here is not defined.
C:\apktool\zello\res\values\public.xml:1307: error: Public symbol

string/error_i
nvalid_username_character declared here is not defined.
C:\apktool\zello\res\values\public.xml:1298: error: Public symbol

string/error_k
icked declared here is not defined.
C:\apktool\zello\res\values\public.xml:1302: error: Public symbol

string/error_l
icense_expired declared here is not defined.
C:\apktool\zello\res\values\public.xml:1301: error: Public symbol

string/error_l
icense_problem declared here is not defined.
C:\apktool\zello\res\values\public.xml:1304: error: Public symbol

string/error_n
etwork_suspended declared here is not defined.
C:\apktool\zello\res\values\public.xml:1297: error: Public symbol

string/error_n
o_connection declared here is not defined.
C:\apktool\zello\res\values\public.xml:1308: error: Public symbol

string/error_n
ot_signed_in declared here is not defined.
C:\apktool\zello\res\values\public.xml:1314: error: Public symbol

string/error_p
asswords_dont_match declared here is not defined.
C:\apktool\zello\res\values\public.xml:1311: error: Public symbol

string/error_s
hort_password declared here is not defined.
C:\apktool\zello\res\values\public.xml:1310: error: Public symbol

string/error_s
hort_username declared here is not defined.
C:\apktool\zello\res\values\public.xml:1300: error: Public symbol

string/error_s
ign_in_busy declared here is not defined.
C:\apktool\zello\res\values\public.xml:1294: error: Public symbol

string/error_s
ign_in_error declared here is not defined.
C:\apktool\zello\res\values\public.xml:1295: error: Public symbol

string/error_s
ign_in_unavailable declared here is not defined.
C:\apktool\zello\res\values\public.xml:1296: error: Public symbol

string/error_s
upernode_unavailable declared here is not defined.
C:\apktool\zello\res\values\public.xml:1299: error: Public symbol

string/error_u
pdate declared here is not defined.
C:\apktool\zello\res\values\public.xml:1303: error: Public symbol

string/error_w
rong_network declared here is not defined.
C:\apktool\zello\res\values\public.xml:1370: error: PubException in

thread "main
" lic symbol string/existing_account_atwork_title declared here is not

defined.
C:\apktool\zello\res\values\public.xml:1369: error: Public symbol

string/existin
g_account_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1339: error: Public symbol

string/history
_blocked declared here is not defined.
C:\apktool\zello\res\values\public.xml:1340: error: Public symbol

string/history
_blocked_by_moderator declared here is not defined.
C:\apktool\zello\res\values\public.xml:1335: error: Public symbol

string/history
_more declared here is not defined.
C:\apktool\zello\res\values\public.xml:1336: error: Public symbol

string/history
_user_blocked declared here is not defined.
C:\apktool\zello\res\values\public.xml:1337: error: Public symbol

string/history
_user_blocked_by_moderator declared here is not defined.
C:\apktool\zello\res\values\public.xml:1338: error: Public symbol

string/history
_user_blocked_by_you declared here is not defined.
C:\apktool\zello\res\values\public.xml:1343: error: Public symbol

string/menu_se
nd_call_alert declared here is not defined.
C:\apktool\zello\res\values\public.xml:1371: error: Public symbol

string/profile
_about declared here is not defined.
C:\apktool\zello\res\values\public.xml:1401: error: Public symbol

string/profile
_blocked_channels declared here is not defined.
C:\apktool\zello\res\values\public.xml:1400: error: Public symbol

string/profile
_blocked_contacts declared here is not defined.
C:\apktool\zello\res\values\public.xml:1398: error: Public symbol

string/profile
_change_password declared here is not defined.
C:\apktool\zello\res\values\public.xml:1394: error: Public symbol

string/profile
_changed_alert declared here is not defined.
C:\apktool\zello\res\values\public.xml:1389: error: Public symbol

string/profile
_channel_categories declared here is not defined.
C:\apktool\zello\res\values\public.xml:1390: error: Public symbol

string/profile
_channel_categories_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1387: error: Public symbol

string/profile
_channel_explicit declared here is not defined.
C:\apktool\zello\res\values\public.xml:1392: error: Public symbol

string/profile
_channel_owner declared here is not defined.
C:\apktool\zello\res\values\public.xml:1386: error: Public symbol

string/profile
_channel_password declared here is not defined.
C:\apktool\zello\res\values\public.xml:1388: error: Public symbol

string/profile
_channel_promote declared here is not defined.
C:\apktool\zello\res\values\public.xml:1391: error: Public symbol

string/profile
_channel_subscribers declared here is not defined.
C:\apktool\zello\res\values\public.xml:1379: error: Public symbol

string/profile
_channel_type declared here is not defined.
C:\apktool\zello\res\values\public.xml:1383: error: Public symbol

string/profile
_channel_type_broadcast declared here is not defined.
C:\apktool\zello\res\values\public.xml:1382: error: Public symbol

string/profile
_channel_type_broadcast_text declared here is not defined.
C:\apktool\zello\res\values\public.xml:1385: error: Public symbol

string/profile
_channel_type_moderated declared here is not defined.
C:\apktool\zello\res\values\public.xml:1384: error: Public symbol

string/profile
_channel_type_moderated_text declared here is not defined.
C:\apktool\zello\res\values\public.xml:1381: error: Public symbol

string/profile
_channel_type_open declared here is not defined.
C:\apktool\zello\res\values\public.xml:1380: error: Public symbol

string/profile
_channel_type_open_text declared here is not defined.
C:\apktool\zello\res\values\public.xml:1396: error: Public symbol

string/profile
_create_channel_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1395: error: Public symbol

string/profile
_create_profile_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1399: error: Public symbol

string/profile
_delete_account declared here is not defined.
C:\apktool\zello\res\values\public.xml:1374: error: Public symbol

string/profile
_languages declared here is not defined.
C:\apktool\zello\res\values\public.xml:1375: error: Public symbol

string/profile
_languages_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1372: error: Public symbol

string/profile
_location declared here is not defined.
C:\apktool\zello\res\values\public.xml:1376: error: Public symbol

string/profile
_name declared here is not defined.
C:\apktool\zello\res\values\public.xml:1393: error: Public symbol

string/profile
_property_not_set declared here is not defined.
C:\apktool\zello\res\values\public.xml:1402: error: Public symbol

string/profile
_tos declared here is not defined.
C:\apktool\zello\res\values\public.xml:1378: error: Public symbol

string/profile
_user_member_since declared here is not defined.
C:\apktool\zello\res\values\public.xml:1377: error: Public symbol

string/profile
_user_name declared here is not defined.
C:\apktool\zello\res\values\public.xml:1397: error: Public symbol

string/profile
_user_volume declared here is not defined.
C:\apktool\zello\res\values\public.xml:1373: error: Public symbol

string/profile
_website declared here is not defined.
C:\apktool\zello\res\values\public.xml:1358: error: Public symbol

string/recents
declared here is not defined.
C:\apktool\zello\res\values\public.xml:1424: error: Public symbol

string/select_
contact_channel_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1425: error: Public symbol

string/select_
contact_recent_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1423: error: Public symbol

string/select_
contact_user_title declared here is not defined.
C:\apktool\zello\res\values\public.xml:1415: error: Public symbol

string/select_
from_gallery declared here is not defined.
C:\apktool\zello\res\values\public.xml:1412: error: Public symbol

string/select_
image declared here is not defined.
C:\apktool\zello\res\values\public.xml:1414: error: Public symbol

string/take_fr
om_camera declared here is not defined.
C:\apktool\zello\res\values\public.xml:1357: error: Public symbol

string/time_ag
o declared here is not defined.
C:\apktool\zello\res\values\public.xml:1351: error: Public symbol

string/time_ho
ur declared here is not defined.
C:\apktool\zello\res\values\public.xml:1352: error: Public symbol

string/time_ho
urs declared here is not defined.
C:\apktool\zello\res\values\public.xml:1353: error: Public symbol

string/time_mi
nute declared here is not defined.
C:\apktool\zello\res\values\public.xml:1354: error: Public symbol

string/time_mi
nutes declared here is not defined.
C:\apktool\zello\res\values\public.xml:1355: error: Public symbol

string/time_se
cond declared here is not defined.
C:\apktool\zello\res\values\public.xml:1356: error: Public symbol

string/time_se
conds declared here is not defined.
C:\apktool\zello\res\values\public.xml:1327: error: Public symbol

string/toast_a
uto_busy_off declared here is not defined.
C:\apktool\zello\res\values\public.xml:1326: error: Public symbol

string/toast_a
uto_busy_on declared here is not defined.
C:\apktool\zello\res\values\public.xml:1333: error: Public symbol

string/toast_b
t_ptt_connected declared here is not defined.
C:\apktool\zello\res\values\public.xml:1334: error: Public symbol

string/toast_b
t_ptt_disconnected declared here is not defined.
C:\apktool\zello\res\values\public.xml:1329: error: Public symbol

string/toast_c
all_alert_failed declared here is not defined.
C:\apktool\zello\res\values\public.xml:1319: error: Public symbol

string/toast_c
hannel_blocked declared here is not defined.
C:\apktool\zello\res\values\public.xml:1320: error: Public symbol

string/toast_c
hannel_busy declared here is not defined.
C:\apktool\zello\res\values\public.xml:1321: error: Public symbol

string/toast_c
hannel_full declared here is not defined.
C:\apktool\zello\res\values\public.xml:1322: error: Public symbol

string/toast_c
hannel_kicked declared here is not defined.
C:\apktool\zello\res\values\public.xml:1328: error: Public symbol

string/toast_c
hannel_kicked_other_user declared here is not defined.
C:\apktool\zello\res\values\public.xml:1331: error: Public symbol

string/toast_c
hannel_profile_update_failed declared here is not defined.
C:\apktool\zello\res\values\public.xml:1323: error: Public symbol

string/toast_c
hannel_readonly declared here is not defined.
C:\apktool\zello\res\values\public.xml:1324: error: Public symbol

string/toast_c
hannel_speeding declared here is not defined.
C:\apktool\zello\res\values\public.xml:1325: error: Public symbol

string/toast_d
irect_communication_prohibited declared here is not defined.
C:\apktool\zello\res\values\public.xml:1330: error: Public symbol

string/toast_p
rofile_update_failed declared here is not defined.
C:\apktool\zello\res\values\public.xml:1332: error: Public symbol

string/toast_r
ecording_device_error declared here is not defined.
C:\apktool\zello\res\values\public.xml:1342: error: Public symbol

string/x_sent_
you_an_alert declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException:

brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 3,

--target-sd
k-version, 17, -F, C:\Users\sony\AppData\Local\Temp

\APKTOOL22059872367402669
66.tmp, -I, C:\Users\sony\apktool\framework\1.apk, -S, C:\apktool\zel
lo\res, -M, C:\apktool\zello\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException:

could not
exec command: [aapt, p, --min-sdk-version, 3, --target-sdk-version,

17, -F, C:\
Users\sony\AppData\Local\Temp\APKTOOL2205987236740266966.tmp, -I, C:

\Users\a
sony\apktool\framework\1.apk, -S, C:\apktool\zello\res, -M, C:\apktool
\zello\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage

(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p,

--min-sd
k-version, 3, --target-sdk-version, 17, -F, C:\Users\sony\AppData

\Local\Temp
\APKTOOL2205987236740266966.tmp, -I, C:\Users\sony\apktool\framework\
1.apk, -S, C:\apktool\zello\res, -M, C:\apktool\zello

\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage

(AndrolibResources.jav
a:355)
... 6 more

i'use all this code in my this work

apktool if framework-res.apk
apktool d zello.apk
apktool b zello
apktool b -f -d zello.apk

can anyone help me please..:(

​