[Help] APKTOOL compile problem - Sprint Samsung Galaxy Note 3
Hi brothers
will, I'm having problem with the apktool, when i want to compile an edited apk i got so many errors I don't know why!!
first let's take a look at decompiling
PHP:
C:\Users\Notebook\apktool>apktool d hotspotshield.android.vpn.apk
I: Using Apktool 2.0.0-Beta7 on hotspotshield.android.vpn.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Notebook\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table...
I: Baksmaling...
Cleaning up unclosed ZipFile for archive C:\Users\Notebook\apktool\framework\1.a
pk
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
everything went ok!!
but, after I've changed the main.xml file ( changing the app_name so i can install 2 of the same app) i got this errors
PHP:
C:\Users\Notebook\apktool>apktool b hotspotshield.android.vpn.apk
I: Using Apktool 2.0.0-Beta7 on hotspotshield.android.vpn.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:244)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:240)
... 4 more
C:\Users\Notebook\apktool>apktool b hotspotshield.android.vpn
I: Using Apktool 2.0.0-Beta7 on hotspotshield.android.vpn
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'billing_supported_message' has no default translation in
C:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru t
r zh
aapt: warning: string 'btn_' has no default translation in C:\Users\Notebook\apk
tool\hotspotshield.android.vpn\res; found: zh
aapt: warning: string 'btn_network_settings' has no default translation in C:\Us
ers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'btn_rate_app' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar ru tr
aapt: warning: string 'err_auth' has no default translation in C:\Users\Notebook
\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_auth_failed' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_beta_code' has no default translation in C:\Users\Not
ebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_connection' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_google_account' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_led' has no default translation in C:\Users\Notebook\
apktool\hotspotshield.android.vpn\res; found: zh
aapt: warning: string 'err_manual_setup' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_network_connection' has no default translation in C:\
Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr z
h
aapt: warning: string 'err_open_market' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_profile2' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_proxy' has no default translation in C:\Users\Noteboo
k\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_proxy_settings' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_setup_proxy' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_unexpected_open_page' has no default translation in C
:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr
zh
aapt: warning: string 'err_vpn_prereq_failed' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'gco_month' has no default translation in C:\Users\Noteboo
k\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'gco_not_renewed' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'gco_year' has no default translation in C:\Users\Notebook
\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'msg_offerbus_help' has no default translation in C:\Users
\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'msg_please_wait' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'msg_request_beta' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_1' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_2' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_3' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_4' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'share_email_subj' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'share_text' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'tapjoy_ask_purchase' has no default translation in C:\Use
rs\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_earn' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_earn_desc' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_month' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_month_desc' has no default translation in C:\Users
\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_not_enough' has no default translation in C:\Users
\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_not_enough_desc' has no default translation in C:\
Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_purchase' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_purchase_desc' has no default translation in C:\Us
ers\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_year' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_year_desc' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_your_credits' has no default translation in C:\Use
rs\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'title_bandwidth' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'title_beta' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: es fr ru tr zh
aapt: warning: string 'title_congratulations' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'title_purchase' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_acc_code_tab' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_activate_tab' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_activate_text_tab' has no default translation in C:\Us
ers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_bandwidth_tab' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_bandwidth_text_tab' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_buy_tab' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_buy_text_tab' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_connect_text_tab_elite' has no default translation in
C:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru t
r zh
aapt: warning: string 'ui_connect_text_tab_free' has no default translation in C
:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr
zh
aapt: warning: string 'ui_earn_tab' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_earn_text_tab' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_google_checkout' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_help_tab' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_privacy_tab' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_reset_tab' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_restore_tab' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_send_email' has no default translation in C:\Users\Not
ebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_send_sms' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_share_tab' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_start_tab' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_stop_tab' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_tos_tab' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_uninstall_tab' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_uninstall_text_tab' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_wait' has no default translation in C:\Users\Notebook\
apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'warn_enable_3G' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'warn_proxy_not_set' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'warn_restore_proxy_settings' has no default translation i
n C:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru
tr zh
aapt: warning: string 'warn_setup_proxy' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
I: Copying libs...
I: Building apk file...
C:\Users\Notebook\apktool>
so what is wrong with it?
..
anyway .. i signed it with this code
PHP:
java -jar signapk.jar certificate.pem key.pk8 (apk name) (save apk name)
it was good but when i install it in my note 3 .. it says: do you want to update the app?!!
wtf!!!
now how can i install 2 or 3 from the same app
plz help
Ok I haven't a clue what ur trying to do..lol.....but it is really good practice to decompile and then compile without making any edits....Have you tried that? This gives you an idea of what kinda he'll you may be in for..lol. Lots of apks give off warnings. You are usually good as long as there are no errors.
http://i.imgur.com/qrByUGN.jpg
Also...
You need to edit android label in the manifest.
And the string names in strings.xml
Sent from my SM-N900P using Tapatalk
take a look at this .. everything is ok
but still the app is force close for a reason that i can't find
C:\Users\Notebook\apktool>apktool d hotspotshield.android.vpn.apk
I: Using Apktool 2.0.0-Beta7 on hotspotshield.android.vpn.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Notebook\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
Cleaning up unclosed ZipFile for archive C:\Users\Notebook\apktool\framework\1.a
pk
I: Decoding values */* XMLs...
I: Loading resource table...
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
C:\Users\Notebook\apktool>apktool b hotspotshield.android.vpn
I: Using Apktool 2.0.0-Beta7 on hotspotshield.android.vpn
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'billing_supported_message' has no default translation in
C:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru t
r zh
aapt: warning: string 'btn_' has no default translation in C:\Users\Notebook\apk
tool\hotspotshield.android.vpn\res; found: zh
aapt: warning: string 'btn_network_settings' has no default translation in C:\Us
ers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'btn_rate_app' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar ru tr
aapt: warning: string 'err_auth' has no default translation in C:\Users\Notebook
\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_auth_failed' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_beta_code' has no default translation in C:\Users\Not
ebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_connection' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_google_account' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_led' has no default translation in C:\Users\Notebook\
apktool\hotspotshield.android.vpn\res; found: zh
aapt: warning: string 'err_manual_setup' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_network_connection' has no default translation in C:\
Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr z
h
aapt: warning: string 'err_open_market' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_profile2' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_proxy' has no default translation in C:\Users\Noteboo
k\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_proxy_settings' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_setup_proxy' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'err_unexpected_open_page' has no default translation in C
:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr
zh
aapt: warning: string 'err_vpn_prereq_failed' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'gco_month' has no default translation in C:\Users\Noteboo
k\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'gco_not_renewed' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'gco_year' has no default translation in C:\Users\Notebook
\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'msg_offerbus_help' has no default translation in C:\Users
\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'msg_please_wait' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'msg_request_beta' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_1' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_2' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_3' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'progress_wait_4' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'share_email_subj' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'share_text' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'tapjoy_ask_purchase' has no default translation in C:\Use
rs\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_earn' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_earn_desc' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_month' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_month_desc' has no default translation in C:\Users
\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_not_enough' has no default translation in C:\Users
\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_not_enough_desc' has no default translation in C:\
Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_purchase' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_purchase_desc' has no default translation in C:\Us
ers\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_year' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_year_desc' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'tapjoy_your_credits' has no default translation in C:\Use
rs\Notebook\apktool\hotspotshield.android.vpn\res; found: ru
aapt: warning: string 'title_bandwidth' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'title_beta' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: es fr ru tr zh
aapt: warning: string 'title_congratulations' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'title_purchase' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_acc_code_tab' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_activate_tab' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_activate_text_tab' has no default translation in C:\Us
ers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_bandwidth_tab' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_bandwidth_text_tab' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_buy_tab' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_buy_text_tab' has no default translation in C:\Users\N
otebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_connect_text_tab_elite' has no default translation in
C:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru t
r zh
aapt: warning: string 'ui_connect_text_tab_free' has no default translation in C
:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr
zh
aapt: warning: string 'ui_earn_tab' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_earn_text_tab' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_google_checkout' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_help_tab' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_privacy_tab' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_reset_tab' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_restore_tab' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_send_email' has no default translation in C:\Users\Not
ebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_send_sms' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_share_tab' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_start_tab' has no default translation in C:\Users\Note
book\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_stop_tab' has no default translation in C:\Users\Noteb
ook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_tos_tab' has no default translation in C:\Users\Notebo
ok\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_uninstall_tab' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_uninstall_text_tab' has no default translation in C:\U
sers\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'ui_wait' has no default translation in C:\Users\Notebook\
apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'warn_enable_3G' has no default translation in C:\Users\No
tebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'warn_proxy_not_set' has no default translation in C:\User
s\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
aapt: warning: string 'warn_restore_proxy_settings' has no default translation i
n C:\Users\Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru
tr zh
aapt: warning: string 'warn_setup_proxy' has no default translation in C:\Users\
Notebook\apktool\hotspotshield.android.vpn\res; found: ar de es fr ru tr zh
I: Copying libs...
I: Building apk file...
Cleaning up unclosed ZipFile for archive C:\Users\Notebook\AppData\Local\Temp\AP
KTOOL4774137099978906073.tmp
C:\Users\Notebook\apktool>
Click to expand...
Click to collapse
and as you know, warnings are not errors thus the APK has built
I install the second hotspot shield vpn (which i've done) but it keeps force closing
Do you get the exact same string errors if you rebuild it with no changes?
They will let it build for sure as it's just a string warning.
However I have seen apps fc because they are checking a specific string.
Though you could also pull a log cat of the crash and check the actual crash errors also.
Sent from my SM-N900P using Tapatalk
Me-Nex S said:
take a look at this .. everything is ok
but still the app is force close for a reason that i can't find
and as you know, warnings are not errors thus the APK has built
I install the second hotspot shield vpn (which i've done) but it keeps force closing
Click to expand...
Click to collapse
Roll back to Smali and Backsmali 2.0. The beta has newer revs that crash at times (should be the October build).
Sent from my SM-N900P using Xparent BlueTapatalk 2
micmars said:
Roll back to Smali and Backsmali 2.0. The beta has newer revs that crash at times (should be the October build).
Sent from my SM-N900P using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
i already did that, same error same thing
mjcollum said:
Do you get the exact same string errors if you rebuild it with no changes?
They will let it build for sure as it's just a string warning.
However I have seen apps fc because they are checking a specific string.
Though you could also pull a log cat of the crash and check the actual crash errors also.
Sent from my SM-N900P using Tapatalk
Click to expand...
Click to collapse
yes, im getting the seme warnings even without changes, here is the catlog
--------- beginning of /dev/log/main
I/dalvikvm( 8523): Turning on JNI app bug workarounds for target SDK version 11...
E/Term ( 8523): onCreate
D/Term ( 8523): TermService started
I/TermService( 8523): Activity called onBind()
I/Term ( 8523): Bound to TermService
I/TermService( 8523): Activity binding to service
D/dalvikvm( 8523): Trying to load lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x42b0e4e8
D/dalvikvm( 8523): Added shared lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x42b0e4e8
I/libjackpal-androidterm( 8523): JNI_OnLoad
I/Term ( 8523): waiting for: 8550
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
D/AbsListView( 8523): Get MotionRecognitionManager
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): onDetachedFromWindow
D/AbsListView( 8523): unregisterIRListener() is called
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
D/AbsListView( 8523): Get MotionRecognitionManager
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): onDetachedFromWindow
D/AbsListView( 8523): unregisterIRListener() is called
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
D/AbsListView( 8523): Get MotionRecognitionManager
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): onDetachedFromWindow
D/AbsListView( 8523): unregisterIRListener() is called
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
E/Term ( 8523): onCreate
I/Term ( 8523): Bound to TermService
I/TermService( 8523): Activity binding to service
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
I/Term ( 8523): Subprocess exited: 129
E/Term ( 8523): onCreate
D/Term ( 8523): TermService started
I/TermService( 8523): Activity called onBind()
I/Term ( 8523): Bound to TermService
I/TermService( 8523): Activity binding to service
I/Term ( 8523): waiting for: 14920
D/dalvikvm( 8523): JIT code cache reset in 0 ms (4096 bytes 3/0)
D/dalvikvm( 8523): GC_CONCURRENT freed 3509K, 24% free 21507K/27976K, paused 11ms+10ms, total 85ms
D/AbsListView( 8523): [unregisterDoubleTapMotionListener]
I/MotionRecognitionManager( 8523): .unregisterListener : / listener count = 0->0,
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): [unregisterDoubleTapMotionListener]
I/MotionRecognitionManager( 8523): .unregisterListener : / listener count = 0->0,
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): [unregisterDoubleTapMotionListener]
I/MotionRecognitionManager( 8523): .unregisterListener : / listener count = 0->0,
D/AbsListView( 8523): unregisterIRListener() is called
D/dalvikvm( 8523): GC_CONCURRENT freed 5323K, 36% free 18142K/27976K, paused 4ms+6ms, total 57ms
D/dalvikvm( 8523): GC_CONCURRENT freed 1933K, 36% free 18136K/27976K, paused 3ms+3ms, total 31ms
D/dalvikvm( 8523): GC_FOR_ALLOC freed 972K, 36% free 17990K/27976K, paused 53ms, total 54ms
I/dalvikvm-heap( 8523): Grow heap (frag case) to 24.791MB for 2536936-byte allocation
D/AbsListView( 8523): Get MotionRecognitionManager
D/dalvikvm( 8523): GC_CONCURRENT freed 170K, 28% free 20320K/27976K, paused 6ms+14ms, total 71ms
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): onDetachedFromWindow
D/AbsListView( 8523): unregisterIRListener() is called
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
D/AbsListView( 8523): Get MotionRecognitionManager
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/dalvikvm( 8523): GC_CONCURRENT freed 1262K, 25% free 20997K/27976K, paused 3ms+21ms, total 69ms
D/AbsListView( 8523): [unregisterDoubleTapMotionListener]
I/MotionRecognitionManager( 8523): .unregisterListener : / listener count = 0->0,
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): onDetachedFromWindow
D/AbsListView( 8523): unregisterIRListener() is called
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
D/AbsListView( 8523): Get MotionRecognitionManager
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
W/ResourceType( 8523): Invalid package identifier when getting bag for resource number 0xffffffff
D/AbsListView( 8523): unregisterIRListener() is called
D/AbsListView( 8523): onDetachedFromWindow
D/AbsListView( 8523): unregisterIRListener() is called
E/ViewRootImpl( 8523): sendUserActionEvent() mView == null
W/IInputConnectionWrapper( 8523): showStatusIcon on inactive InputConnection
D/timestamp( 8523): [PERF][Hovering] Focused ( view : com.android.internal.view.menu.ActionMenuItemView{43286ae0 VFED..CL ......I. 0,0-168,144 #7f0b0004 app:id/menu_new_window} )
D/timestamp( 8523): [PERF][Hovering] Focused ( view : com.android.internal.view.menu.ActionMenuItemView{432880a8 VFED..CL ......I. 168,0-336,144 #7f0b0005 app:id/menu_close_window} )
D/HoverPopupWindow( 8523): dismissPopup(), remove message : com.android.internal.view.menu.ActionMenuItemView{43286ae0 VFED..CL ....H.I. 0,0-168,144 #7f0b0004 app:id/menu_new_window}
D/HoverPopupWindow( 8523): dismissPopup(), remove message : com.android.internal.view.menu.ActionMenuItemView{432880a8 VFED..CL ....H.I. 168,0-336,144 #7f0b0005 app:id/menu_close_window}
D/timestamp( 8523): [PERF][Hovering] Focused ( view : com.android.internal.view.menu.ActionMenuItemView{432880a8 VFED..CL ......I. 168,0-336,144 #7f0b0005 app:id/menu_close_window} )
D/HoverPopupWindow( 8523): dismissPopup(), remove message : com.android.internal.view.menu.ActionMenuItemView{432880a8 VFED..CL ....H.I. 168,0-336,144 #7f0b0005 app:id/menu_close_window}
D/timestamp( 8523): [PERF][Hovering] Focused ( view : com.android.internal.view.menu.ActionMenuItemView{432880a8 VFED..CL ...P..I. 168,0-336,144 #7f0b0005 app:id/menu_close_window} )
D/HoverPopupWindow( 8523): dismissPopup(), remove message : com.android.internal.view.menu.ActionMenuItemView{432880a8 VFED..CL ......I. 168,0-336,144 #7f0b0005 app:id/menu_close_window}
D/timestamp( 8523): [PERF][Hovering] Focused ( view : android.widget.TextView{43119488 V.ED.... ......I. 0,0-930,120 #102000b android:id/message} )
D/timestamp( 8523): [PERF][Hovering] Focused ( view : android.widget.Button{4311cfe0 VFED..C. ......I. 466,0-930,144 #1020019 android:id/button1} )
D/timestamp( 8523): [PERF][Hovering] Focused ( view : android.widget.Button{4311cfe0 VFED..C. ...P..I. 466,0-930,144 #1020019 android:id/button1} )
Invalid package identifier.
It doesn't appear to be an issue with apktool
It appears to be a coding problem.
Android resource id always has a package identifier.
Possible issue is two apps with the same id.
Must edit manifest and strings.
Here this might help
http://stackoverflow.com/questions/5443304/how-to-change-an-android-apps-name
Sent from my SM-N900P using Tapatalk
probably that was the error, will try to trace the main xml again to see where is the duplication
can you plz take a look at the edited APKs - feel free to install them for testing
BBM4
https://www.mediafire.com/?6d01nnt7fe20nz9
INSTA2
https://www.mediafire.com/?2nia5vvt7x85z3o
plz delete this comment, duplicated
Related
[Q] Help re decompiling/recompiling
Will someone please help me to figure this out i have jdk6, android sdk installed, my path is set up correctly and im using wanams apk manager im running all this from root of c drive I want to Set Logs type to "View by All Call Logs" - Hide SMS from Call Logs i have decompiled, made the changes and it recompiles perfect i drop it into my rom, perform a wipe and flash - my contacts then fc's on me...i just cant figure out why... i have attached my modded file if someone could take a look Click to expand... Click to collapse And for enabling call recording, i get this: Code: -------------------------------------------------------------------------- |23/07/2012 -- 10:58:15.51| -------------------------------------------------------------------------- java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f or-modding/signedSecPhone.apk Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f or-modding/unsignedSecPhone.apk I: Baksmaling... I: Loading resource table... I: Loaded. I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk I: Loaded. I: Decoding file-resources... S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-xhdpi/c all_video_call_icon_dim.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-xhdpi/c all_video_call_icon_dim.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-land-xh dpi/call_video_call_icon_dim.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-land-xh dpi/call_video_call_icon_dim.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-land-xh dpi/call_video_call_icon.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-xhdpi/c all_video_call_icon.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-xhdpi/c all_video_call_icon.png S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-land-xh dpi/call_video_call_icon.png I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... I: Checking whether sources has changed... I: Smaling... Exception in thread "main" brut.androlib.AndrolibException: Could not smali file : [email protected] at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45) at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33) at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35) at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222) at brut.androlib.Androlib.buildSources(Androlib.java:179) at brut.androlib.Androlib.build(Androlib.java:170) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:182) at brut.apktool.Main.main(Main.java:67) The system cannot find the file specified. Press any key to continue . . . EDIT I then decompiled and recompiled without making changes and got this different set of errors Code: -------------------------------------------------------------------------- |23/07/2012 -- 11:13:01.23| -------------------------------------------------------------------------- java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f or-modding/signedSecPhone.apk Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f or-modding/unsignedSecPhone.apk I: Baksmaling... I: Loading resource table... W: Skipping "android" package group I: Loaded. I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk I: Loaded. I: Decoding file-resources... I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... aapt: warning: string 'auto_dialing_guide' has no default translation in C:\Apk_ Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'autodialing_enable_1' has no default translation in C:\Ap k_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'autodialing_enable_2' has no default translation in C:\Ap k_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'autodialing_enable_3' has no default translation in C:\Ap k_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'autodialing_enable_disable' has no default translation in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'autodialing_guide_1' has no default translation in C:\Apk _Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'autodialing_guide_2' has no default translation in C:\Apk _Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'callFailed_timeout_408_487' has no default translation in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: pt aapt: warning: string 'country_setting_1' has no default translation in C:\Apk_M anager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'country_setting_2' has no default translation in C:\Apk_M anager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'country_setting_3' has no default translation in C:\Apk_M anager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'reject_cause_location_reg_fail' has no default translatio n in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: pt aapt: warning: string 'reject_cause_location_registering' has no default transla tion in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: iw pt aapt: warning: string 'reject_cause_skt_registering' has no default translation in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: iw pt aapt: warning: string 'target_country_setting' has no default translation in C:\ Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko aapt: warning: string 'what_is_autodialing' has no default translation in C:\Apk _Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es\strings.xml:195: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es\strings.xml:196: error: Unexpected end tag string C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es-rUS\strings.xml: 200: error: Multiple substitutions specified in non-positional format; did you m ean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es-rUS\strings.xml: 201: error: Unexpected end tag string C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-it\strings.xml:197: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-it\strings.xml:198: error: Unexpected end tag string Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK TOOL6557143836137260780.tmp, -I, C:\Users\****\apktool\framework\1.apk, -S, C:\Ap k_Manager_ICS\other\..\projects\SecPhone.apk\res, -M, C:\Apk_Manager_ICS\other\. .\projects\SecPhone.apk\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:193) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301) at brut.androlib.Androlib.buildResources(Androlib.java:248) at brut.androlib.Androlib.build(Androlib.java:171) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:182) at brut.apktool.Main.main(Main.java:67) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\****\AppData\Local\Temp\APKTOOL6557143836137260780.tmp, -I, C:\Users\****\apk tool\framework\1.apk, -S, C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\AndroidManifest.xml] at brut.util.OS.exec(OS.java:83) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:191) ... 6 more The system cannot find the file specified. Press any key to continue . . . C:\Apk_Manager_ICS> i tried doing this with apktool only and got this: Code: icrosoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\****>apktool d "E:\Phone\Android\Galaxy SIII\XXBLG1 **\system\app\SecContacts.apk" I: Baksmaling... I: Loading resource table... W: Skipping "android" package group I: Loaded. I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk I: Loaded. I: Decoding file-resources... I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... C:\Users\****>apktool b C:\Users\****\SecContacts I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK TOOL289705730655537096.tmp, -I, C:\Users\****\apktool\framework\1.apk, -S, C:\Use rs\****\SecContacts\res, -M, C:\Users\****\SecContacts\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:193) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301) at brut.androlib.Androlib.buildResources(Androlib.java:248) at brut.androlib.Androlib.build(Androlib.java:171) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:182) at brut.apktool.Main.main(Main.java:67) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\****\AppData\Local\Temp\APKTOOL289705730655537096.tmp, -I, C:\Users\****\apkt ool\framework\1.apk, -S, C:\Users\****\SecContacts\res, -M, C:\Users\****\SecConta cts\AndroidManifest.xml] at brut.util.OS.exec(OS.java:87) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:191) ... 6 more Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2 , The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at brut.util.OS.exec(OS.java:78) ... 7 more Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th e file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 11 more Click to expand... Click to collapse i just want to make my own mods instead of using someone elses files....
still cant get it fixed...does anyone want to help? I thought this was a developer forum...
framework-res.apk wont compile properly after decompiling an making NO changes Code: |23/07/2012 -- 14:38:03.56| -------------------------------------------------------------------------- java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f or-modding/signedframework-res.apk Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f or-modding/unsignedframework-res.apk I: Loading resource table... I: Loaded. I: Decoding file-resources... I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... W: Could not find sources I: Checking whether resources has changed... I: Building resources... aapt: warning: string 'feature_stock_edaily_closed' has no default translation i n C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: es_US iw ja ko pt_BR zh_CN zh_HK zh_TW aapt: warning: string 'feature_stock_edaily_delayed' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: es_US iw j a ko pt_BR zh_CN zh_HK zh_TW aapt: warning: string 'permdesc_fm_receiver' has no default translation in C:\Ap k_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'permlab_fm_receiver' has no default translation in C:\Apk _Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_allowAttachments' has no default translation i n C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_allow_smimeencryptionalgonegotiation' has no d efault translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res ; found: en_US aapt: warning: string 'policydesc_allow_smimesoftcerts' has no default translati on in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_limitAttachments' has no default translation i n C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_max_calendarage' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_max_emailage' has no default translation in C: \Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_max_emailbodytruncsize' has no default transla tion in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_max_htmlemailbodytruncsize' has no default tra nslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: e n_US aapt: warning: string 'policydesc_require_encryptedsmimemessages' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; foun d: en_US aapt: warning: string 'policydesc_require_encryptionsmimealgorithm' has no defau lt translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fo und: en_US aapt: warning: string 'policydesc_require_manualsyncroaming' has no default tran slation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en _US aapt: warning: string 'policydesc_require_signedsmimealgorithm' has no default t ranslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policydesc_require_signedsmimemessages' has no default tr anslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_allowAttachments' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_allow_smimeencryptionalgonegotiation' has no de fault translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_allow_smimesoftcerts' has no default translatio n in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_limitAttachments' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_max_calendarage' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_max_emailage' has no default translation in C:\ Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_max_emailbodytruncsize' has no default translat ion in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_max_htmlemailbodytruncsize' has no default tran slation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en _US aapt: warning: string 'policylab_require_encryptedsmimemessages' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found : en_US aapt: warning: string 'policylab_require_encryptionsmimealgorithm' has no defaul t translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fou nd: en_US aapt: warning: string 'policylab_require_manualsyncroaming' has no default trans lation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_ US aapt: warning: string 'policylab_require_signedsmimealgorithm' has no default tr anslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US aapt: warning: string 'policylab_require_signedsmimemessages' has no default tra nslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: e n_US aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no defau lt translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fo und: en_GB en_US es pt aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB en_U S es pt aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no defau lt translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fo und: en_GB en_US es pt C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79 : error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79 : error: Found tag </item> where </plurals> is expected C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals .xml:79: error: Multiple substitutions specified in non-positional format; did y ou mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals .xml:79: error: Found tag </item> where </plurals> is expected C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals .xml:79: error: Multiple substitutions specified in non-positional format; did y ou mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals .xml:79: error: Found tag </item> where </plurals> is expected C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml :79: error: Multiple substitutions specified in non-positional format; did you m ean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml :79: error: Found tag </item> where </plurals> is expected C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml :79: error: Multiple substitutions specified in non-positional format; did you m ean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml :79: error: Found tag </item> where </plurals> is expected C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc260- en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc260- en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc410- en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc410- en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce ption: could not exec command: [aapt, p, -F, C:\Users\DSA\AppData\Local\Temp\APK TOOL3382395325731499172.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framew ork-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\Andr oidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:193) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301) at brut.androlib.Androlib.buildResources(Androlib.java:248) at brut.androlib.Androlib.build(Androlib.java:171) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:182) at brut.apktool.Main.main(Main.java:67) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\****\AppData\Local\Temp\APKTOOL3382395325731499172.tmp, -x, -S, C:\Apk_Manag er_ICS\other\..\projects\framework-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\ projects\framework-res.apk\AndroidManifest.xml] at brut.util.OS.exec(OS.java:83) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:191) ... 6 more The system cannot find the file specified. Press any key to continue . . .
Try taking a look at this thread in Android development http://forum.xda-developers.com/showthread.php?t=1752201 Sent from my GT-I9300 using Tapatalk 2
_neutron_ said: still cant get it fixed...does anyone want to help? I thought this was a developer forum... Click to expand... Click to collapse It is but expecting a developer to be at your instant service is stupid . A developer who knows the answer has to see your post first they don't sit here waiting but are in their hidey holes developing . jje
I've had this exact same issue decompiling and recompiling. I'm going to try my Linux box next if I don't get any joy
JJEgan said: It is but expecting a developer to be at your instant service is stupid . A developer who knows the answer has to see your post first they don't sit here waiting but are in their hidey holes developing . jje Click to expand... Click to collapse Thanks for the name calling the first time you speak to me...from behind a pc on the web no less....very manly of you JJ
_neutron_ said: Thanks for the name calling the first time you speak to me...from behind a pc on the web no less....very manly of you JJ Click to expand... Click to collapse If it helps you, you can install S Voice and disable the double click from the settings of the app. That just decreased my home button time significantly.
_neutron_ said: Thanks for the name calling the first time you speak to me...from behind a pc on the web no less....very manly of you JJ Click to expand... Click to collapse I have a feeling no developer will help you when you have that kind of attitude. I was going to post here earlier until I saw the smart comment you made in your second post. Sent from my GT-I9300 using xda premium
Kryten2k35 said: If it helps you, you can install S Voice and disable the double click from the settings of the app. That just decreased my home button time significantly. Click to expand... Click to collapse Thanks but thats not what im after im building a rom - i can mod/decompile/recompile .jar files perfect, i know how to set a rom up blah blah blah - i just cant decompile ANY apks without an error or the relevant app fc'ing on me when flashed The only things i have on my pc are the android sdk, the jdk, a firmware, some mods and multiple apk editing software - i have re-flashed windows and everything else around 20 times. i have followed 19 different tutorials, downloaded 13 different packages that people say will allow me to do what i want but they dont i know i have the relevant programs installed correctly, and i know my path is correct (otherwise apk manager wouldnt pick java up and wont work) I just wanted to know what all the people on this forum are using as they are bringing ou mods and roms every day...not everyone uses linux i have some background knowledge in android and know how to read smali/xml files, i know how to make the mods and where the mods needs to go....i just cannot get the decompiling/recompiling sorted at all....this has taken me months to get this sorted
nodstuff said: I have a feeling no developer will help you when you have that kind of attitude. I was going to post here earlier until I saw the smart comment you made in your second post. Sent from my GT-I9300 using xda premium Click to expand... Click to collapse i suppose im meant to feel like im missing out on your expertise now? my second post in this thread was THAT BAD it caused you to not want to help AND to make a derogatory comment? i think you need to get out more and JJ calling me stupid is ok because he has a lot of posts and thanks? hypocrite much?
I didn't make any derogatory comment, I was merely stating facts. You won't get far here when you behave like that. You are very angry and there is no need for it. Sent from my GT-I9300 using xda premium
nodstuff said: I didn't make any derogatory comment, I was merely stating facts. You won't get far here when you behave like that. You are very angry and there is no need for it. Sent from my GT-I9300 using xda premium Click to expand... Click to collapse lol, and your opinion counts for....? i thought so im not angry (i love being called angry by a person on the web based on the content of one post - baseless drivel), frustrated yes...theres a difference 'o great one'
_neutron_ said: Thanks but thats not what im after im building a rom - i can mod/decompile/recompile .jar files perfect, i know how to set a rom up blah blah blah - i just cant decompile ANY apks without an error or the relevant app fc'ing on me when flashed The only things i have on my pc are the android sdk, the jdk, a firmware, some mods and multiple apk editing software - i have re-flashed windows and everything else around 20 times. i have followed 19 different tutorials, downloaded 13 different packages that people say will allow me to do what i want but they dont i know i have the relevant programs installed correctly, and i know my path is correct (otherwise apk manager wouldnt pick java up and wont work) I just wanted to know what all the people on this forum are using as they are bringing ou mods and roms every day...not everyone uses linux i have some background knowledge in android and know how to read smali/xml files, i know how to make the mods and where the mods needs to go....i just cannot get the decompiling/recompiling sorted at all....this has taken me months to get this sorted Click to expand... Click to collapse I'm in the same position. I have JD for Eclipse installed and such, but I can't get APK's to recompile at all. I get the exact same errors.
Nobody around here is going to hold your hand and help you out with an attitude like that. Sent from my GT-I9300 using Tapatalk 2
1. Use APKTool directly instead of wrappers. You learn more this way, I promise. 2. You need a newer aapt.exe in your PATH. Grab the Windows platform-tools from here: http://www.hariadi.org/android/manually-download-of-android-sdk-tools-and-sdk-platform-tools/, take the aapt.exe and place it in a folder that's in your %PATH% (or install the Android SDK) 3. APKTool ships with an older framework-res. Grab /system/framework/framework-res.apk (and optionally twframework-res.apk) and run "apktool if framework-res.apk" (I haven't read your post fully so there may be something I missed, but the above should get you started)
qwerty12 said: 1. Use APKTool directly instead of wrappers. You learn more this way, I promise. 2. You need a newer aapt.exe in your PATH. Grab the Windows platform-tools from here: http://www.hariadi.org/android/manually-download-of-android-sdk-tools-and-sdk-platform-tools/, take the aapt.exe and place it in a folder that's in your %PATH% (or install the Android SDK) 3. APKTool ships with an older framework-res. Grab /system/framework/framework-res.apk (and optionally twframework-res.apk) and run "apktool if framework-res.apk" (I haven't read your post fully so there may be something I missed, but the above should get you started) Click to expand... Click to collapse Thanks fella Ive got all that sorted, using apktool returns errors also...so im not sure As i mentioned i can de/recompile .jar files no problem...and some 'normal' system apks work fine...its only the important ones that i want to mod that are causing issues
_neutron_ said: using apktool returns errors also...so im not sure Click to expand... Click to collapse Could you give me a log of what happens when you use APKTool directly, please? To decompile android.policy.jar I have to use this version (I don't recommend using it for everything as it doesn't format the resources' XML correctly - but it's fine for making edits with) or I get a "bad magic value" error
Will do, im not at home right now edit: complete log of using apktool As you can see, it loads and decompiles fine, but wont recompile an unmodified framework Code: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\****>apktool Apktool v1.4.5 - a tool for reengineering Android apk files Copyright 2010 Ryszard Wi?niewski <[email protected]> Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...] COMMANDs are: d[ecode] [OPTS] <file.apk> [<dir>] Decode <file.apk> to <dir>. OPTS: -s, --no-src Do not decode sources. -r, --no-res Do not decode resources. -d, --debug Decode in debug mode. Check project page for more info. -f, --force Force delete destination directory. -t <tag>, --frame-tag <tag> Try to use framework files tagged by <tag>. --keep-broken-res Use if there was an error and some resources were dropped, e.g.: "Invalid config flags detected. Dropping resources", but you want to decode them anyway, even with errors. You will have to fix them manually before building. b[uild] [OPTS] [<app_path>] [<out_file>] Build an apk from already decoded application located in <app_path>. It will automatically detect, whether files was changed and perform needed steps only. If you omit <app_path> then current directory will be used. If you omit <out_file> then <app_path>/dist/<name_of_original.apk> will be used. OPTS: -f, --force-all Skip changes detection and build all files. -d, --debug Build in debug mode. Check project page for more info. if|install-framework <framework.apk> [<tag>] Install framework file to your system. For additional info, see: http://code.google.com/p/android-apktool/ C:\Users\****>apktool d C:\framework-res.apk I: Loading resource table... I: Loaded. I: Decoding file-resources... I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... C:\Users\****>apktool b C:\Users\****\framework-res W: Could not find sources I: Checking whether resources has changed... I: Building resources... Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK TOOL1954503919927585308.tmp, -x, -S, C:\Users\****\framework-res\res, -M, C:\User s\****\framework-res\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:193) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301) at brut.androlib.Androlib.buildResources(Androlib.java:248) at brut.androlib.Androlib.build(Androlib.java:171) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:182) at brut.apktool.Main.main(Main.java:67) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\****\AppData\Local\Temp\APKTOOL1954503919927585308.tmp, -x, -S, C:\Users\**** \framework-res\res, -M, C:\Users\****\framework-res\AndroidManifest.xml] at brut.util.OS.exec(OS.java:87) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:191) ... 6 more Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2 , The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at brut.util.OS.exec(OS.java:78) ... 7 more Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th e file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 11 more C:\Users\****>
_neutron_ said: Will do, im not at home right now edit: Click to expand... Click to collapse ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK Click to expand... Click to collapse Like I said in my previous post, you need to have aapt.exe in a folder that's in your path
[Q] Decompile SystemUI
I am using apktool to make some edits. I am running into errors when recompiling my SystemUI. At this point I am just decompiling then recompiling to see if I can get it to do it. I am on the most recent sdk and thus also the newest aapt. (that for 4.2.2). I also updated my apktool and smali/baksmali (although my previous package worked flawlessly with 4.2.2 on my nexus 7). I am loading my framework-res to system with the "if" command, even tried loading twframework-res there too. I am at a total loss as to what my issue is. How are you devs making edits and recompiling your SystemUI? Edit: Here is a pastebin of my errors http://pastebin.com/raw.php?i=gBEhzP63
IM blocked from pastebin Please just paste errors using Code command.
Sorry, hate cluttering up even my own threads, any way hope you can make sense of it. I get the same errors regardless if framework-res or twframework-res is loaded to system. As you can see at the end it compiles but some of my edits are failing and I figured it was due to these errors in compiling Code: C:\Users\Christian\Desktop\apktool1.5.2>apktool d SystemUI.apk I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: C:\Users\Christian\apktool\framework\1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values */* XMLs... I: Done. I: Copying assets and libs... C:\Users\Christian\Desktop\apktool1.5.2>apktool b SystemUI I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran slation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran slation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'am' has no default translation in C:\Users\Christian\Desk top\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_friday' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_monday' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_sunday' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C :\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_saturday' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_thursday' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_friday' has no default translation in C :\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_monday' has no default translation in C :\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_sunday' has no default translation in C :\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_short_wednesday' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_friday' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_monday' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'full_wday_month_day_no_year' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_april' has no default translation in C:\Users\ Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_august' has no default translation in C:\Users \Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_december' has no default translation in C:\Use rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_february' has no default translation in C:\Use rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_january' has no default translation in C:\User s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_july' has no default translation in C:\Users\C hristian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_june' has no default translation in C:\Users\C hristian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_march' has no default translation in C:\Users\ Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_may' has no default translation in C:\Users\Ch ristian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_november' has no default translation in C:\Use rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_october' has no default translation in C:\User s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_september' has no default translation in C:\Us ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_april' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_august' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_december' has no default translatio n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_february' has no default translatio n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_january' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_july' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_june' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_march' has no default translation i n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_may' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_november' has no default translatio n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_october' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_long_standalone_september' has no default translati on in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_april' has no default translation in C:\User s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_august' has no default translation in C:\Use rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_december' has no default translation in C:\U sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_february' has no default translation in C:\U sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_january' has no default translation in C:\Us ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_july' has no default translation in C:\Users \Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_june' has no default translation in C:\Users \Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_march' has no default translation in C:\User s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_may' has no default translation in C:\Users\ Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_november' has no default translation in C:\U sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_october' has no default translation in C:\Us ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_medium_september' has no default translation in C:\ Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_april' has no default translation in C:\Us ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_august' has no default translation in C:\U sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_december' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_february' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_january' has no default translation in C:\ Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_july' has no default translation in C:\Use rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_june' has no default translation in C:\Use rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_march' has no default translation in C:\Us ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_may' has no default translation in C:\User s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_november' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_october' has no default translation in C:\ Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'month_shortest_september' has no default translation in C :\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'pm' has no default translation in C:\Users\Christian\Desk top\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: zh_HK aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: zh_HK aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: zh_HK aapt: warning: string 'today' has no default translation in C:\Users\Christian\D esktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'tomorrow' has no default translation in C:\Users\Christia n\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'twelve_hour_time_format' has no default translation in C: \Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk aapt: warning: string 'yesterday' has no default translation in C:\Users\Christi an\Desktop\apktool1.5.2\SystemUI\res; found: mk I: Building apk file... C:\Users\Christian\Desktop\apktool1.5.2>
@scrosler not sure if you missed it, got that log posted for you. Thanks for looking into it for me
I'm having similar issues with SystemUI. Same errors (building on Linux), but it builds the APK. However, once I push the APK to /system/app, reboot into recovery and fix permissions, I lose the status bar completely. I can post a logcat later this evening.
gotroot801 said: I'm having similar issues with SystemUI. Same errors (building on Linux), but it builds the APK. However, once I push the APK to /system/app, reboot into recovery and fix permissions, I lose the status bar completely. I can post a logcat later this evening. Click to expand... Click to collapse Yeah, that was my issue. Kinda losing hope of any Devs spotting this and helping. Sent from my Galaxy S4
You can ignore the warnings.
[Q] error while compiling back apk
I'm trying to compile back this apk (not a system file), with "APK-Multi-Tool" (apktool based), worked for several apps but for this specific app I get the following errors, I tried compiling it back without changing anything, still get same errors, any help please following is the from the error log: I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-v17\calendars_dropdown_item.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-v17\calendars_dropdown_item.xml:6: error: No resource identifier found for attribute 'layout_alignStart' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout\info_layout_molad_rtl.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0'). C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:4: error: No resource identifier found for attribute 'layout_alignParentStart' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toStartOf' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:6: error: No resource identifier found for attribute 'layout_alignParentEnd' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:4: error: No resource identifier found for attribute 'layout_alignParentStart' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toStartOf' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:6: error: No resource identifier found for attribute 'layout_alignParentEnd' in package 'android' C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout\month_fragment.xml:4: error: Error: Integer types not allowed (at 'layoutDirection' with value '0'). C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-iw\zmanim_tablerow_one.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0'). C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-iw\zmanim_tablerow_two.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0'). C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\drawable\menu_tab_land_indicator_holo.xml:2: error: No resource identifier found for attribute 'autoMirrored' in package 'android' aapt: warning: string 'accessibility_email_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'accounts' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'acct_not_synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'acessibility_cal_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'acessibility_snooze_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'alert_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'app_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'auth_client_needs_enabling_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\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:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\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:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\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:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\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:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\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:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\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 'calendar_refresh' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'copy_db' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'create_an_account_desc' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'day_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'dismiss_all_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'do_not_check' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'event_not_found' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'gadget_no_events' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'gadget_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'hide_controls' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'menu_about_preferences' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'menu_general_preferences' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'menu_select_visible_calendars' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'month_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'no_calendars_found' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'not_synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'preferences_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'quick_response_dialog_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'quick_response_settings_edit_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'quick_response_settings_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'search' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'search_history_cleared' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'select_synced_calendars_button' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'select_synced_calendars_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'select_visible_calendars_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'show_controls' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'snooze_all_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'snooze_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr aapt: warning: string 'week_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml] at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353) at brut.androlib.Androlib.buildResources(Androlib.java:281) at brut.androlib.Androlib.build(Androlib.java:209) at brut.androlib.Androlib.build(Androlib.java:177) at brut.apktool.Main.cmdBuild(Main.java:237) 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, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334) ... 5 more Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml] at brut.util.OS.exec(OS.java:89) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404) ... 6 more
Perhaps you can find help in this thread on that tool, http://forum.xda-developers.com/showthread.php?t=1310151 Good luck!
Change/Increase smsToMmsTextThreshold on Redmi Note 4x
I mainly use my phone to send long messages (SMS around 4,800 characters long (30 messages)) to my colleagues. Unfortunately, my Redmi Note 4x only allow up to 8 messages long before converting the SMS to MMS. Using 3rd party app allows to send these messages without converting to MMS. But I don't want to use other apps as this consume resources. Decompiling and editing string on mms_config.xml of the Mms.aok cannot be done as there are errors shown when I tried to recompile it. This is the error: warning: string 'chenghu_disable_mms' has no default translation. warning: string 'mx_activate_notice' has no default translation. warning: string 'pref_summary_show_recent_contacts' has no default translation. warning: string 'pref_time_auto_group_disabled_summary' has no default translation. warning: string 'pref_time_auto_group_summary' has no default translation. warning: string 'pref_time_auto_group_title' has no default translation. warning: string 'pref_title_show_recent_contacts' has no default translation. warning: string 'sp_mark_as_read' has no default translation. warning: string 'sp_mark_as_read_progress' has no default translation. warning: string 'sp_mark_as_read_title' has no default translation. /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_item_with_section.xml:3: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/Widget.ListView.Item.GroupHeader'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_screen.xml:6: error: No resource identifier found for attribute 'contentView' in package 'miui' /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_screen.xml:6: error: No resource identifier found for attribute 'targetView' in package 'miui' /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_screen.xml:6: error: No resource identifier found for attribute 'scrollableView' in package 'miui' /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_screen.xml:6: error: No resource identifier found for attribute 'dragEnabled' in package 'miui' /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_screen.xml:6: error: No resource identifier found for attribute 'triggerView' in package 'miui' /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/conversation_list_screen.xml:7: error: Error: No resource found that matches the given name (at 'layout' with value '@miui.system:layout/micloud_state_view'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/edit_slide_duration.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.Medium'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/hybrid_action_bar_custom_view.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.WindowTitle'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/hybrid_loading_progress.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.BlankPage'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/hybrid_loading_progress.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/Widget.Button.Rect.BlankPage'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/hybrid_pull_to_refresh_header_vertical.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.Medium'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/hybrid_pull_to_refresh_header_vertical.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.Medium'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/phrase_edit_text.xml:3: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/Widget.EditText.Dialog'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/res/layout/private_contact_preference.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/Widget.PreferenceItem'). /data/user/0/com.gmail.heagoo.apkeditor.pro/files/decoded/re I attached the image of the string I have to edit.
Send me the app I'll take a look at it...
Unable to build a working modded framework-res.apk
Hi guys. So i decided to mod the oxygen os framework-res.apk of oneplus3t to add pixel blue color. But after building and copying it to the phone it causes a bootloop. Can anyone point out what am i doing wrong or missing. C:\Users\ANUSHEK\Downloads\New folder>apktool if framework-res.apk I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\1.apk C:\Users\ANUSHEK\Downloads\New folder>apktool if oneplus-framework-res.apk I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\5.apk C:\Users\ANUSHEK\Downloads\New folder>apktool d framework-res.apk I: Using Apktool 2.2.3 on framework-res.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Regular manifest package... I: Decoding file-resources... I: Decoding values */* XMLs... I: Copying assets and libs... I: Copying unknown files... I: Copying original files... C:\Users\ANUSHEK\Downloads\New folder>apktool b framework-res I: Using Apktool 2.2.3 W: Could not find sources I: Checking whether resources has changed... I: Building resources... W: warning: string 'BIND_OEMEX_SERVICE' has no default translation. W: warning: string 'adb_active_generic_notification_message' has no default translation. W: warning: string 'adb_both_active_notification_title' has no default translation. W: warning: string 'adb_net_active_notification_title' has no default translation. W: warning: string 'color_picker_blue_label' has no default translation. W: warning: string 'color_picker_champagne_label' has no default translation. W: warning: string 'color_picker_default' has no default translation. W: warning: string 'color_picker_flamingo_label' has no default translation. W: warning: string 'color_picker_gray_label' has no default translation. W: warning: string 'color_picker_green_label' has no default translation. W: warning: string 'color_picker_message_default' has no default translation. W: warning: string 'color_picker_orange_label' has no default translation. W: warning: string 'color_picker_pear_label' has no default translation. W: warning: string 'color_picker_pink_label' has no default translation. W: warning: string 'color_picker_purple_label' has no default translation. W: warning: string 'color_picker_red_label' has no default translation. W: warning: string 'color_picker_turquoise_label' has no default translation. W: warning: string 'color_picker_unknown_label' has no default translation. W: warning: string 'color_picker_yellow_label' has no default translation. W: warning: string 'ext_media_ready_notification_title' has no default translation. W: warning: string 'global_action_screenshot' has no default translation. W: warning: string 'high_definition_tag' has no default translation. W: warning: string 'install_fail_oplib_not_satisfied' has no default translation. W: warning: string 'kg_fingerprint_verification_failed' has no default translation. W: warning: string 'lock_to_app_description_hardware' has no default translation. W: warning: string 'lock_to_app_toast_hardware' has no default translation. W: warning: string 'op_applying' has no default translation. W: warning: string 'oxygen_system_label' has no default translation. W: warning: string 'permdesc_modifyWavesSettings' has no default translation. W: warning: string 'permdesc_setKeyguardWallpaper' has no default translation. W: warning: string 'permdesc_switchMaterialTheme' has no default translation. W: warning: string 'permlab_modifyWavesSettings' has no default translation. W: warning: string 'permlab_setKeyguardWallpaper' has no default translation. W: warning: string 'permlab_switchMaterialTheme' has no default translation. W: warning: string 'power_intensive_notificaton_string' has no default translation. W: warning: string 'reboot' has no default translation. W: warning: string 'reboot_bootloader' has no default translation. W: warning: string 'reboot_progress' has no default translation. W: warning: string 'reboot_recovery' has no default translation. W: warning: string 'wfcSpnFormat' has no default translation. W: warning: string 'zzz_op_global_action_confirm_poweroff' has no default translation. W: warning: string 'zzz_op_global_action_confirm_reboot' has no default translation. I: Building apk file... I: Copying unknown files/dir... C:\Users\ANUSHEK\Downloads\New folder>cd C:\Users\ANUSHEK\Downloads\SignApk C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk
SKULSHADY said: Hi guys. So i decided to mod the oxygen os framework-res.apk of oneplus3t to add pixel blue color. But after building and copying it to the phone it causes a bootloop. Can anyone point out what am i doing wrong or missing. C:\Users\ANUSHEK\Downloads\New folder>apktool if framework-res.apk I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\1.apk C:\Users\ANUSHEK\Downloads\New folder>apktool if oneplus-framework-res.apk I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\5.apk C:\Users\ANUSHEK\Downloads\New folder>apktool d framework-res.apk I: Using Apktool 2.2.3 on framework-res.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Regular manifest package... I: Decoding file-resources... I: Decoding values */* XMLs... I: Copying assets and libs... I: Copying unknown files... I: Copying original files... C:\Users\ANUSHEK\Downloads\New folder>apktool b framework-res I: Using Apktool 2.2.3 W: Could not find sources I: Checking whether resources has changed... I: Building resources... W: warning: string 'BIND_OEMEX_SERVICE' has no default translation. W: warning: string 'adb_active_generic_notification_message' has no default translation. W: warning: string 'adb_both_active_notification_title' has no default translation. W: warning: string 'adb_net_active_notification_title' has no default translation. W: warning: string 'color_picker_blue_label' has no default translation. W: warning: string 'color_picker_champagne_label' has no default translation. W: warning: string 'color_picker_default' has no default translation. W: warning: string 'color_picker_flamingo_label' has no default translation. W: warning: string 'color_picker_gray_label' has no default translation. W: warning: string 'color_picker_green_label' has no default translation. W: warning: string 'color_picker_message_default' has no default translation. W: warning: string 'color_picker_orange_label' has no default translation. W: warning: string 'color_picker_pear_label' has no default translation. W: warning: string 'color_picker_pink_label' has no default translation. W: warning: string 'color_picker_purple_label' has no default translation. W: warning: string 'color_picker_red_label' has no default translation. W: warning: string 'color_picker_turquoise_label' has no default translation. W: warning: string 'color_picker_unknown_label' has no default translation. W: warning: string 'color_picker_yellow_label' has no default translation. W: warning: string 'ext_media_ready_notification_title' has no default translation. W: warning: string 'global_action_screenshot' has no default translation. W: warning: string 'high_definition_tag' has no default translation. W: warning: string 'install_fail_oplib_not_satisfied' has no default translation. W: warning: string 'kg_fingerprint_verification_failed' has no default translation. W: warning: string 'lock_to_app_description_hardware' has no default translation. W: warning: string 'lock_to_app_toast_hardware' has no default translation. W: warning: string 'op_applying' has no default translation. W: warning: string 'oxygen_system_label' has no default translation. W: warning: string 'permdesc_modifyWavesSettings' has no default translation. W: warning: string 'permdesc_setKeyguardWallpaper' has no default translation. W: warning: string 'permdesc_switchMaterialTheme' has no default translation. W: warning: string 'permlab_modifyWavesSettings' has no default translation. W: warning: string 'permlab_setKeyguardWallpaper' has no default translation. W: warning: string 'permlab_switchMaterialTheme' has no default translation. W: warning: string 'power_intensive_notificaton_string' has no default translation. W: warning: string 'reboot' has no default translation. W: warning: string 'reboot_bootloader' has no default translation. W: warning: string 'reboot_progress' has no default translation. W: warning: string 'reboot_recovery' has no default translation. W: warning: string 'wfcSpnFormat' has no default translation. W: warning: string 'zzz_op_global_action_confirm_poweroff' has no default translation. W: warning: string 'zzz_op_global_action_confirm_reboot' has no default translation. I: Building apk file... I: Copying unknown files/dir... C:\Users\ANUSHEK\Downloads\New folder>cd C:\Users\ANUSHEK\Downloads\SignApk C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk Click to expand... Click to collapse You can't resign it. You have to copy the original meta folder and androidmanifest.xml into the apk file. I use winrar and I have it set up to open apks by default, so all I have to do is open the apk and add the two files from the originals folder. You could also rename .apk to .zip and extract it, then copy the files from the originals folder and then rezip it and rename it back to .apk if you use 7zip. This also means that modifying the androidmanifest.xml is out of the question. Sent from my SM-T210 using Tapatalk
RealWelder said: You can't resign it. You have to copy the original meta folder and androidmanifest.xml into the apk file. I use winrar and I have it set up to open apks by default, so all I have to do is open the apk and add the two files from the originals folder. You could also rename .apk to .zip and extract it, then copy the files from the originals folder and then rezip it and rename it back to .apk if you use 7zip. This also means that modifying the androidmanifest.xml is out of the question. Sent from my SM-T210 using Tapatalk Click to expand... Click to collapse I fixed it by using -c in the build command