Compiling errors

Search This thread

The Sickness

Retired Recognized Developer
Oct 27, 2012
9,785
22,733
Somewhere in Texas
I have been using ApkManger for a long time. I have used it since 4.2.2. But on Kit Kat 4.4.2 I have alot of problems compiling my apks. Mainly framework-res.apk and SystemUI.apk.

I have updated SDK to 4.4.2, and also updated to the newest version of Java. I have jdk1.7.0_45 and jre1.7.0_51. I thought I may have solved it, but I still received these errors while editing framework-res.apk/res/values/strings and res/values/array

Code:
-------------------------------------------------------------------------- 
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
Could Not Find C:\Users\chris\Desktop\Deviant Manager_2\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\chris\Desktop\Deviant Manager_2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
-------------------------------------------------------------------------- 
|Sat 03/22/2014 -- 17:41:25.07| 
-------------------------------------------------------------------------- 
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\arrays.xml:999: error: Error parsing XML: mismatched tag
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6767: error: Public symbol array/allowedOnDataDisabled declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6792: error: Public symbol array/app_ops_labels declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6777: error: Public symbol array/captivePortalAllowedNetworkTypes declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6798: error: Public symbol array/carrier_properties declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6795: error: Public entry identifier 0x107004a entry index is larger than available symbols (index 74, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6795: error: Public symbol array/common_nicknames declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6759: error: Public symbol array/config_autoBrightnessButtonBacklightValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6757: error: Public symbol array/config_autoBrightnessHysteresisLevels declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6760: error: Public symbol array/config_autoBrightnessKeyboardBacklightValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6758: error: Public symbol array/config_autoBrightnessLcdBacklightValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6756: error: Public symbol array/config_autoBrightnessLevels declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6776: error: Public entry identifier 0x1070037 entry index is larger than available symbols (index 55, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6776: error: Public symbol array/config_callBarringMMI declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6746: error: Public symbol array/config_cdma_dun_supported_types declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6738: error: Public symbol array/config_data_usage_network_types declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6769: error: Public symbol array/config_defaultNotificationVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6772: error: Public symbol array/config_disabledUntilUsedPreinstalledImes declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6784: error: Public symbol array/config_dynamicAutoBrightnessHighHysteresisLevels declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6790: error: Public symbol array/config_dynamicAutoBrightnessHighHysteresisLevelsForEbookOnly declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6785: error: Public symbol array/config_dynamicAutoBrightnessHighHysteresisValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6791: error: Public symbol array/config_dynamicAutoBrightnessHighHysteresisValuesForEbookOnly declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6782: error: Public symbol array/config_dynamicAutoBrightnessLevels declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6788: error: Public symbol array/config_dynamicAutoBrightnessLevelsForEbookOnly declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6780: error: Public symbol array/config_dynamicAutoBrightnessLowHysteresisLevels declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6786: error: Public symbol array/config_dynamicAutoBrightnessLowHysteresisLevelsForEbookOnly declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6781: error: Public symbol array/config_dynamicAutoBrightnessLowHysteresisValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6787: error: Public symbol array/config_dynamicAutoBrightnessLowHysteresisValuesForEbookOnly declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6783: error: Public symbol array/config_dynamicAutoBrightnessValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6789: error: Public symbol array/config_dynamicAutoBrightnessValuesForEbookOnly declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6755: error: Public symbol array/config_forceConsumeBatt declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6751: error: Public symbol array/config_keyboardTapVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6761: error: Public symbol array/config_locationProviderPackageNames declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6749: error: Public symbol array/config_longPressVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6736: error: Public symbol array/config_masterVolumeRamp declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6814: error: Public symbol array/config_maxPenWindowCountIgnoreAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6779: error: Public symbol array/config_minimumExpressiveBrightnessValues declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6744: error: Public symbol array/config_mobile_hotspot_provision_app declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6800: error: Public symbol array/config_multiInstanceSupportAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6804: error: Public symbol array/config_multiWindowAvoidLaunchStyle declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6812: error: Public symbol array/config_multiWindowDefaultAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6807: error: Public symbol array/config_multiWindowDefaultMinimumAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6803: error: Public symbol array/config_multiWindowFixedRatioList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6808: error: Public symbol array/config_multiWindowHideFlashBarAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6806: error: Public symbol array/config_multiWindowNotSupportScaleApp declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6809: error: Public symbol array/config_multiWindowPortraitLayoutSupportAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6810: error: Public symbol array/config_multiWindowPortraitLayoutSupportExclusiveActivityList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6805: error: Public symbol array/config_multiWindowSkipFullScreen declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6799: error: Public symbol array/config_multiWindowSupportAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6802: error: Public symbol array/config_multiWindowSupportComponentList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6801: error: Public symbol array/config_multiWindowSupportPackageList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6770: error: Public symbol array/config_notificationFallbackVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6773: error: Public symbol array/config_notificationScorers declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6765: error: Public symbol array/config_oemUsbModeOverride declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6768: error: Public symbol array/config_onlySingleDcAllowed declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6774: error: Public entry identifier 0x1070035 entry index is larger than available symbols (index 53, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6774: error: Public symbol array/config_operatorConsideredNonRoaming declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6813: error: Public symbol array/config_penWindowDefaultAppList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6811: error: Public symbol array/config_pen_window_applist declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6733: error: Public symbol array/config_protectedNetworks declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6752: error: Public symbol array/config_safeModeDisabledVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6753: error: Public symbol array/config_safeModeEnabledVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6775: error: Public entry identifier 0x1070036 entry index is larger than available symbols (index 54, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6775: error: Public symbol array/config_sameNamedOperatorConsideredRoaming declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6754: error: Public symbol array/config_scrollBarrierVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6748: error: Public symbol array/config_serialPorts declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6764: error: Public symbol array/config_sms_enabled_locking_shift_tables declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6763: error: Public entry identifier 0x107002a entry index is larger than available symbols (index 42, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6763: error: Public symbol array/config_sms_enabled_single_shift_tables declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6735: error: Public symbol array/config_statusBarIcons declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6742: error: Public symbol array/config_tether_bluetooth_regexs declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6743: error: Public symbol array/config_tether_dhcp_range declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6745: error: Public entry identifier 0x1070018 entry index is larger than available symbols (index 24, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6745: error: Public symbol array/config_tether_upstream_types declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6739: error: Public symbol array/config_tether_usb_regexs declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6740: error: Public symbol array/config_tether_wifi_regexs declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6741: error: Public symbol array/config_tether_wimax_regexs declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6762: error: Public entry identifier 0x1070029 entry index is larger than available symbols (index 41, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6762: error: Public symbol array/config_twoDigitNumberPattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6747: error: Public symbol array/config_usbHostBlacklist declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6778: error: Public symbol array/config_valuesOfVibrationMagnitudeLevel declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6750: error: Public symbol array/config_virtualKeyVibePattern declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6766: error: Public symbol array/hideApnBlackList declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6797: error: Public entry identifier 0x107004c entry index is larger than available symbols (index 76, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6797: error: Public symbol array/imAddressTypes declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6793: error: Public entry identifier 0x1070048 entry index is larger than available symbols (index 72, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6793: error: Public symbol array/maps_starting_lat_lng declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6794: error: Public entry identifier 0x1070049 entry index is larger than available symbols (index 73, total symbols 15).
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6794: error: Public symbol array/maps_starting_zoom declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6732: error: Public symbol array/networkAttributes declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6796: error: Public symbol array/powerSavingKey declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6729: error: Public symbol array/preloaded_color_state_lists declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6728: error: Public symbol array/preloaded_drawables declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6737: error: Public symbol array/radioAttributes declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6734: error: Public symbol array/shouldNotWriteMessage declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6771: error: Public symbol array/skip_mum_packages declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6730: error: Public symbol array/special_locale_codes declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6731: error: Public symbol array/special_locale_names declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6726: error: Public symbol array/telephony_provider_3lm declared here is not defined.
C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res\values\public.xml:6727: error: Public symbol array/telephony_provider_oem declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\chris\AppData\Local\Temp\APKTOOL1216151521948840255.tmp, -x, -S, C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res, -M, C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\AndroidManifest.xml]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)
	at brut.androlib.Androlib.buildResources(Androlib.java:282)
	at brut.androlib.Androlib.build(Androlib.java:205)
	at brut.androlib.Androlib.build(Androlib.java:176)
	at brut.apktool.Main.cmdBuild(Main.java:218)
	at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\chris\AppData\Local\Temp\APKTOOL1216151521948840255.tmp, -x, -S, C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res, -M, C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:349)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
	... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\chris\AppData\Local\Temp\APKTOOL1216151521948840255.tmp, -x, -S, C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\res, -M, C:\Users\chris\Desktop\Deviant Manager_2\other\..\projects\framework-res.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:89)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:347)
	... 6 more
The system cannot find the file specified.

I have made these exact same edits in 4.3 and 4.2.2 with no errors what so ever. Im not a Java guru so I dont know if that is the problem or not. Any help in the right direction is really appreciated
 

broodplank1337

Inactive Recognized Developer
Nov 24, 2011
4,992
10,155
Nijmegen
www.broodplank.net
First of all, Always make sure you are running it from a folder that has NO SPACES in it's path, I see your has.

Code:
Could Not Find C:\Users\chris\Desktop\Deviant Manager_2\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\chris\Desktop\Deviant Manager_2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

move the folder to C:\kitchen (safest option) and first decompile the original file again, then make changes and recompile it ;)
 
  • Like
Reactions: The Sickness

The Sickness

Retired Recognized Developer
Oct 27, 2012
9,785
22,733
Somewhere in Texas
I will try it that way.


EDIT: Still getting errors after changing folder location

Code:
------------------------------------------------------------------------- 
|Sat 03/22/2014 -- 20:39:32.21| 
-------------------------------------------------------------------------- 
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
-------------------------------------------------------------------------- 
|Sat 03/22/2014 -- 20:41:54.01| 
-------------------------------------------------------------------------- 
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
Could Not Find C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\chris\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...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res\layout\status_bar.xml:35: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\chris\AppData\Local\Temp\APKTOOL2108758804020596205.tmp, -0, arsc, -I, C:\Users\chris\apktool\framework\1.apk, -S, C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res, -M, C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
	at brut.androlib.Androlib.buildResources(Androlib.java:283)
	at brut.androlib.Androlib.build(Androlib.java:206)
	at brut.androlib.Androlib.build(Androlib.java:176)
	at brut.apktool.Main.cmdBuild(Main.java:228)
	at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\chris\AppData\Local\Temp\APKTOOL2108758804020596205.tmp, -0, arsc, -I, C:\Users\chris\apktool\framework\1.apk, -S, C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res, -M, C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
	... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\chris\AppData\Local\Temp\APKTOOL2108758804020596205.tmp, -0, arsc, -I, C:\Users\chris\apktool\framework\1.apk, -S, C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res, -M, C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:89)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
	... 6 more
aapt: warning: string 'done_button' has no default translation in C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_dialog_title' has no default translation in C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_info_message' has no default translation in C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_settings_button' has no default translation in C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_warning_message' has no default translation in C:\cygwin64\home\chris\kitchen\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
-------------------------------------------------------------------------- 
|Sat 03/22/2014 -- 20:47:39.06| 
-------------------------------------------------------------------------- 
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
Could Not Find C:\ApkManagerV6.1\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\ApkManagerV6.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\chris\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...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'done_button' has no default translation in C:\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_dialog_title' has no default translation in C:\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_info_message' has no default translation in C:\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_settings_button' has no default translation in C:\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn
aapt: warning: string 'ssl_ca_cert_warning_message' has no default translation in C:\ApkManagerV6.1\other\..\projects\SystemUI.apk\res; found: mn

Git Cha Sum Kit Kat
Deviant Development Team Member
 
Last edited:

broodplank1337

Inactive Recognized Developer
Nov 24, 2011
4,992
10,155
Nijmegen
www.broodplank.net
Ok certainly there are less errors now, but still some

I see this error:

Code:
SystemUI.apk\res\layout\status_bar.xml:35: error: Error parsing XML: mismatched tag

Can you please give me the original APKS of framework-res.apk and SystemUI.apk ? (you gave me the code, but I need the apk)
 

broodplank1337

Inactive Recognized Developer
Nov 24, 2011
4,992
10,155
Nijmegen
www.broodplank.net
  • Like
Reactions: The Sickness

Surge1223

Recognized Contributor
Nov 6, 2012
2,622
7,466
Florida
Google Pixel 6 Pro
Got it!

What you need to do is this:

Code:
apktool install-framework framework-res.apk < will install framework as dependency
apktool d SystemUI.apk  < works
apktool b SystemUI SystemUI.apk  < works
apktool d framework-res.apk < works
apktool b framework-res framework-res.apk < works

Nothing better than double conformation :D
surge@surge-VPCF111FX ~/Desktop/apks/system/framework $ apktool b framework-res
I: Using Apktool 2.0.0-Beta7 on framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building apk file...
P.S. broodplank is there a difference between 1 & 2 below? They both output the same "Framework installed to: /path-to-apktool-folder/framework/1.apk" I used #2

1. apktool install-framework framework-res.apk
2. apktool if framework-res.apk
 
  • Like
Reactions: The Sickness

broodplank1337

Inactive Recognized Developer
Nov 24, 2011
4,992
10,155
Nijmegen
www.broodplank.net
Nothing better than double conformation :D

P.S. broodplank is there a difference between 1 & 2 below? They both output the same "Framework installed to: /path-to-apktool-folder/framework/1.apk" I used #2

1. apktool install-framework framework-res.apk
2. apktool if framework-res.apk

Idd hehe, and no they are the same actually :), 'if' is just the short version

Thanks fellas. I also missed a package in SDK. ...installing it now. Sources for Android :mad:

Git Cha Sum Kit Kat
Deviant Development Team Member

You're welcome, and thats important idd
 

CNexus

Senior Member
May 17, 2012
9,010
14,000
~/android
Google Pixel 7
Nothing better than double conformation :D

P.S. broodplank is there a difference between 1 & 2 below? They both output the same "Framework installed to: /path-to-apktool-folder/framework/1.apk" I used #2

1. apktool install-framework framework-res.apk
2. apktool if framework-res.apk

Nope, those two commands are exactly the same

if stands for "install framework"
 
  • Like
Reactions: Surge1223

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Nothing better than double conformation :D

    P.S. broodplank is there a difference between 1 & 2 below? They both output the same "Framework installed to: /path-to-apktool-folder/framework/1.apk" I used #2

    1. apktool install-framework framework-res.apk
    2. apktool if framework-res.apk

    Idd hehe, and no they are the same actually :), 'if' is just the short version

    Thanks fellas. I also missed a package in SDK. ...installing it now. Sources for Android :mad:

    Git Cha Sum Kit Kat
    Deviant Development Team Member

    You're welcome, and thats important idd
    1
    First of all, Always make sure you are running it from a folder that has NO SPACES in it's path, I see your has.

    Code:
    Could Not Find C:\Users\chris\Desktop\Deviant Manager_2\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
    Could Not Find C:\Users\chris\Desktop\Deviant Manager_2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

    move the folder to C:\kitchen (safest option) and first decompile the original file again, then make changes and recompile it ;)
    1

    Got it!

    What you need to do is this:

    Code:
    apktool install-framework framework-res.apk < will install framework as dependency
    apktool d SystemUI.apk  < works
    apktool b SystemUI SystemUI.apk  < works
    apktool d framework-res.apk < works
    apktool b framework-res framework-res.apk < works
    1
    Got it!

    What you need to do is this:

    Code:
    apktool install-framework framework-res.apk < will install framework as dependency
    apktool d SystemUI.apk  < works
    apktool b SystemUI SystemUI.apk  < works
    apktool d framework-res.apk < works
    apktool b framework-res framework-res.apk < works

    Nothing better than double conformation :D
    surge@surge-VPCF111FX ~/Desktop/apks/system/framework $ apktool b framework-res
    I: Using Apktool 2.0.0-Beta7 on framework-res
    W: Could not find sources
    I: Checking whether resources has changed...
    I: Building apk file...
    P.S. broodplank is there a difference between 1 & 2 below? They both output the same "Framework installed to: /path-to-apktool-folder/framework/1.apk" I used #2

    1. apktool install-framework framework-res.apk
    2. apktool if framework-res.apk