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
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
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