Build Error while Compiling ROM (No resource identifier found) - Android Q&A, Help & Troubleshooting

Hello all, thanks for stopping to look at my question. Today when I was compiling my unofficial build of Carbon ROM for my LG G3 d850, I came across this error:
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragEnabled' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'collapsedHeight' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragScrollStart' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'maxDragScrollSpeed' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'floatAlpha' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'slideShuffleSpeed' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'trackDragSort' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'useDefaultController' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragHandleId' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'sortEnabled' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'removeEnabled' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragStartMode' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'removeMode' in package 'com.android.settings'
packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'floatBackgroundColor' in package 'com.android.settings'
make: *** [/run/media/raleigh/Media/Android-Builds/CarbonROM/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
When you look at the file packages/apps/Settings/res/layout/action_list_view_main.xml on line 44, it shows the following code: <com.android.settings.slim.dslv.DragSortListView
I've checked and the file is under the src/com/android/settings/slim/dslv directory. The file DragSortListView.java is there. So my question is, why am I getting the error if all of the files are there?

bump

Related

[Q] Compiling Error on MacOSX Lion [ICS 4.0.4]

Hey guys I'm trying to compile the AOSP ICS for my phone. We have a working CM9 and so I wanted to give this a try.
I am using the master branch, OSX 10.7.3, XCode 4.2
This is the error Code. I already made some adjustments to the code for getting that far.
Hope you can help me with this.
Code:
Cryberts-Mac-Pro:aosp christianberten$ make otapackage -j8
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_ariesve
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-11.3.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
No private recovery resources for TARGET_DEVICE ariesve
Install: out/target/product/ariesve/system/lib/libstdc++.so
Install: out/target/product/ariesve/system/lib/libm.so
target StaticExecutable: init (out/target/product/ariesve/obj/EXECUTABLES/init_intermediates/LINKED/init)
target StaticExecutable: adbd (out/target/product/ariesve/obj/EXECUTABLES/adbd_intermediates/LINKED/adbd)
target StaticExecutable: recovery (out/target/product/ariesve/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery)
target SharedLib: liblog (out/target/product/ariesve/obj/SHARED_LIBRARIES/liblog_intermediates/LINKED/liblog.so)
target SharedLib: libicuuc (out/target/product/ariesve/obj/SHARED_LIBRARIES/libicuuc_intermediates/LINKED/libicuuc.so)
Install: out/target/product/ariesve/system/lib/libgabi++.so
target R.java/Manifest.java: ApplicationsProvider (out/target/common/obj/APPS/ApplicationsProvider_intermediates/src/R.stamp)
target Java: core-junit (out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes)
target Java: ext (out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes)
target Java: bouncycastle (out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes)
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:17: error: No resource identifier found for attribute 'paddingLeft' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:17: error: No resource identifier found for attribute 'paddingRight' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:17: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:17: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'id' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'scaleType' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'layout_alignParentLeft' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'layout_alignParentTop' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:24: error: No resource identifier found for attribute 'layout_alignParentBottom' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'id' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'textAppearance' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'singleLine' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'paddingLeft' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'layout_centerVertical' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: No resource identifier found for attribute 'layout_toRightOf' in package 'android'
packages/providers/ApplicationsProvider/res/layout/application_list_item.xml:32: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceLarge').
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: No resource identifier found for attribute 'icon' in package 'android'
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: No resource identifier found for attribute 'label' in package 'android'
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: No resource identifier found for attribute 'includeInGlobalSearch' in package 'android'
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: No resource identifier found for attribute 'searchSuggestAuthority' in package 'android'
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: No resource identifier found for attribute 'searchSuggestIntentAction' in package 'android'
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: No resource identifier found for attribute 'searchSettingsDescription' in package 'android'
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: Error: No resource found that matches the given name (at 'icon' with value '@android:drawable/sym_def_app_icon').
make: *** [out/target/common/obj/APPS/ApplicationsProvider_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
hi sorry to bump this, but did you find a fix for this?
Lloir said:
hi sorry to bump this, but did you find a fix for this?
Click to expand...
Click to collapse
Code:
packages/providers/ApplicationsProvider/res/xml/searchable.xml:17: error: Error: No resource found that matches the given name (at 'icon' with value '@android:drawable/sym_def_app_icon').
make: *** [out/target/common/obj/APPS/ApplicationsProvider_intermediates/src/R.stamp] Error 1
Find the resource and see why it isn't there.
@android:drawable/sym_def_app_ico

Problem Re-Compile apks from XXLSJ

I'm trying to re-compile apks from XXLSJ without change anything and I'm getting errors
I got the latest apktool also downloaded "APK-Multi-Tool" and that doesn't help
ClockPackage:
Code:
I: Building resources...
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_alert.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_alert.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuTitle').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_smart_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_smart_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_smart_alert.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_smart_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\mw_alarm_detail.xml:61: error: Error: No resource found that matches the given name (at 'style' with value '@style/AlarmSpinner').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\mw_alarm_detail.xml:119: error: Error: No resource found that matches the given name (at 'style' with value '@style/AlarmSpinner').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 16, -F, C:\Users\Madmon\AppData\Local\Temp\APKTOOL4577064381781115024.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res, -M, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 16, -F, C:\Users\Madmon\AppData\Local\Temp\APKTOOL4577064381781115024.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res, -M, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more
MusicPlayer:
Code:
I: Building resources...
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-es\strings.xml:111: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-es\strings.xml:111: error: Unexpected end tag string
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-pt\strings.xml:111: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-pt\strings.xml:111: error: Unexpected end tag string
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1339: error: Public symbol string/alphabet_focused_indexlist declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1337: error: Public symbol string/alphabet_indexlist declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1332: error: Public symbol string/amg_lisence_line1 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1333: error: Public symbol string/amg_lisence_line2 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1321: error: Public symbol string/background_playing declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1327: error: Public symbol string/bass_enhancement declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1340: error: Public symbol string/chorous declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1323: error: Public symbol string/custom declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1335: error: Public symbol string/do_recognition declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1325: error: Public symbol string/dynamic declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1320: error: Public symbol string/effect declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1341: error: Public symbol string/eq_8 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1342: error: Public symbol string/list_song_deleted declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1322: error: Public symbol string/live declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1326: error: Public symbol string/music_clarity declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1334: error: Public symbol string/request_config declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1336: error: Public symbol string/request_results declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1338: error: Public symbol string/twstr_indexlistYears declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1330: error: Public symbol string/type_1 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1331: error: Public symbol string/type_2 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1329: error: Public symbol string/visual_help_text declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1328: error: Public symbol string/visualization declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1324: error: Public symbol string/wide declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Madmon\AppData\Local\Temp\APKTOOL777043533016566331.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res, -M, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
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:\Users\Madmon\AppData\Local\Temp\APKTOOL777043533016566331.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res, -M, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more
what is wrong?
Push framework-res and twframework before decompiling.
You may need to manually fix some prurals (replace "$d of $d" with "$1d of $2d").
Sent from my GT-I9300 using Tapatalk 2
I already did what you told me and that didn't help
in SecPhone, MusicPlayer & PhoneSky its something with the values that I can fix..
but with ClockPackage that something with the layouts and I don't know how to fix it...
tripc1 said:
I already did what you told me and that didn't help
in SecPhone, MusicPlayer & PhoneSky its something with the values that I can fix..
but with ClockPackage that something with the layouts and I don't know how to fix it...
Click to expand...
Click to collapse
You can create styles voids to correct the problem.
ClockPackage.apk\res\values\styles.xml
Code:
<style name="TextStyle_AlertComment" />
<style name="TextAppearance.ActionMenuText" />
<style name="TextAppearance.ActionMenuTitle" />
<style name="AlarmSpinner" />

[Q] apktool Recompile Problem (LGSystemUI.apk)

Hey guys, i been trying to replace battery icons in my LGSystemUI.apk by decompiling/recompiling with apktool. my first step was to use apktool to install 2 framework apks (framework-res.apk & lge-res.apk), then i decompiled LGSystemUI.apk with no errors.
i replaced all battery/battery anim images with my own, but when i try to recompile i get masses of errors, these are the ones i can see, but there is obviously more above on cmd window:
Code:
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_att.xml:2
9: error: Error: No resource found that matches the given name (at 'drawable' wi
th value '@drawable/stat_sys_battery_90').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_att.xml:3
0: error: Error: No resource found that matches the given name (at 'drawable' wi
th value '@drawable/stat_sys_battery_95').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_att.xml:3
1: error: Error: No resource found that matches the given name (at 'drawable' wi
th value '@drawable/stat_sys_battery_100').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:4: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_00').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:8: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_00').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:9: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_01').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:10: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_02').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:11: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:12: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:13: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:14: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:15: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:21: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_01').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:22: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_02').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:23: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:24: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:25: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:26: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:27: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:33: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_02').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:34: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:35: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:36: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:37: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:38: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:44: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:45: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:46: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:47: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:48: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:54: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:55: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:56: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:57: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:63: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:64: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:65: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:71: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:72: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:75: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_gps_acquiring_ani
m.xml:4: error: Error: No resource found that matches the given name (at 'drawab
le' with value '@drawable/stat_sys_gps_acquiring').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_cdma_flas
h.xml:4: error: Error: No resource found that matches the given name (at 'drawab
le' with value '@drawable/stat_sys_roaming_cdma_flash_anim0').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_cdma_flas
h.xml:5: error: Error: No resource found that matches the given name (at 'drawab
le' with value '@drawable/stat_sys_roaming_cdma_flash_anim1').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_custom_cd
ma_flash.xml:4: error: Error: No resource found that matches the given name (at
'drawable' with value '@drawable/stat_sys_roaming_cdma_flash_anim0').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_custom_cd
ma_flash.xml:5: error: Error: No resource found that matches the given name (at
'drawable' with value '@drawable/stat_notify_roming_custom').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_bg.xml:2: error
: Error: No resource found that matches the given name (at 'src' with value '@dr
awable/status_bar_bg_tile').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_close.xml:4: er
ror: Error: No resource found that matches the given name (at 'drawable' with va
lue '@drawable/status_bar_close_on').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_close.xml:5: er
ror: Error: No resource found that matches the given name (at 'drawable' with va
lue '@drawable/status_bar_close_off').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_expand.xml:4: e
rror: Error: No resource found that matches the given name (at 'drawable' with v
alue '@drawable/status_bar_expand_pressed').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_expand.xml:5: e
rror: Error: No resource found that matches the given name (at 'drawable' with v
alue '@drawable/status_bar_expand_default').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_item_background
.xml:4: error: Error: No resource found that matches the given name (at 'drawabl
e' with value '@drawable/btn_wifi_info_p').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_item_background
.xml:5: error: Error: No resource found that matches the given name (at 'drawabl
e' with value '@drawable/btn_wifi_info_n').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_progress_style.
xml:4: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/scrubber_track_holo_dark').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_progress_style.
xml:6: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/scrubber_primary_holo').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_recents_backgro
und.xml:4: error: Error: No resource found that matches the given name (at 'angl
e' with value '@integer/status_bar_recents_bg_gradient_degrees').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\notification_popup_menu.xml:4:
error: Error: No resource found that matches the given name (at 'id' with value
'@id/notification_inspect_item').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\notification_popup_menu.xml:4:
error: Error: No resource found that matches the given name (at 'title' with va
lue '@string/status_bar_notification_inspect_item_title').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\quicksettings_change_order_opt
ion.xml:4: error: Error: No resource found that matches the given name (at 'icon
' with value '@drawable/ic_menu_widget_title_section').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\quicksettings_change_order_opt
ion.xml:4: error: Error: No resource found that matches the given name (at 'id'
with value '@id/edit').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\quicksettings_change_order_opt
ion.xml:4: error: Error: No resource found that matches the given name (at 'titl
e' with value '@string/sp_quicksettings_edit_NORMAL').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:4: error
: Error: No resource found that matches the given name (at 'id' with value '@id/
recent_remove_item').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:4: error
: Error: No resource found that matches the given name (at 'title' with value '@
string/status_bar_recent_remove_item_title').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:5: error
: Error: No resource found that matches the given name (at 'id' with value '@id/
recent_inspect_item').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:5: error
: Error: No resource found that matches the given name (at 'title' with value '@
string/status_bar_recent_inspect_item_title').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Liam\A
ppData\Local\Temp\brut_util_Jar_7018388568488106208.tmp, p, --forced-package-id,
2, --min-sdk-version, 16, --target-sdk-version, 16, --rename-manifest-package,
com.android.systemui, --version-code, 16, --version-name, 4.1.2-E43010d-EUR-XX.1
390532737, -F, C:\Users\Liam\AppData\Local\Temp\APKTOOL8611486483648680799.tmp,
-0, arsc, -I, C:\Users\Liam\apktool\framework\1.apk, -I, C:\Users\Liam\apktool\f
ramework\2.apk, -S, C:\Users\Liam\Desktop\apktool\LGSystemUI\res, -M, C:\Users\L
iam\Desktop\apktool\LGSystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Liam\AppData\Local\Temp\brut_util_Jar_70183885684881062
08.tmp, p, --forced-package-id, 2, --min-sdk-version, 16, --target-sdk-version,
16, --rename-manifest-package, com.android.systemui, --version-code, 16, --versi
on-name, 4.1.2-E43010d-EUR-XX.1390532737, -F, C:\Users\Liam\AppData\Local\Temp\A
PKTOOL8611486483648680799.tmp, -0, arsc, -I, C:\Users\Liam\apktool\framework\1.a
pk, -I, C:\Users\Liam\apktool\framework\2.apk, -S, C:\Users\Liam\Desktop\apktool
\LGSystemUI\res, -M, C:\Users\Liam\Desktop\apktool\LGSystemUI\AndroidManifest.xm
l]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:504)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Liam\App
Data\Local\Temp\brut_util_Jar_7018388568488106208.tmp, p, --forced-package-id, 2
, --min-sdk-version, 16, --target-sdk-version, 16, --rename-manifest-package, co
m.android.systemui, --version-code, 16, --version-name, 4.1.2-E43010d-EUR-XX.139
0532737, -F, C:\Users\Liam\AppData\Local\Temp\APKTOOL8611486483648680799.tmp, -0
, arsc, -I, C:\Users\Liam\apktool\framework\1.apk, -I, C:\Users\Liam\apktool\fra
mework\2.apk, -S, C:\Users\Liam\Desktop\apktool\LGSystemUI\res, -M, C:\Users\Lia
m\Desktop\apktool\LGSystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:498)
... 6 more
i been at this for days, even googling! can anyone please shed some light on my little problem?
Solved.......ish
i managed to get apktool to compile my LGSystemUI by opening up the ORIGINAL apk with winrar and copied the original 'resources.arsc' and added it to the decompiled apk directory.
once compiled i added the original 'META' directory to the newly created apk.
havent tested it on my phone yet, but im about to
EDIT: just out of the kitchen, phone booted up but things like boot animation, status bar, notification panel, wallpapers have gone........ so not solved
liamallan said:
i managed to get apktool to compile my LGSystemUI by opening up the ORIGINAL apk with winrar and copied the original 'resources.arsc' and added it to the decompiled apk directory.
once compiled i added the original 'META' directory to the newly created apk.
havent tested it on my phone yet, but im about to
EDIT: just out of the kitchen, phone booted up but things like boot animation, status bar, notification panel, wallpapers have gone........ so not solved
Click to expand...
Click to collapse
If you decompile LGSyytemUI, you must replace only existing png's with same size (eg.48x38) png's (not other format like gif, bmp etc.). Or you place files in wrong folder (eg. hdpi instead xhdpi). There is lot of solutions to destroy LGSystemUI...
And you must use right version of apktool for that job.
Where didyou get it/link to procedure, is it JB or KK UI, phone model, etc...
Please more details.
I recommend you to replace first one or two, not whole set of icons, recompile, and try.
maxx_hr said:
If you decompile LGSyytemUI, you must replace only existing png's with same size (eg.48x38) png's (not other format like gif, bmp etc.). Or you place files in wrong folder (eg. hdpi instead xhdpi). There is lot of solutions to destroy LGSystemUI...
And you must use right version of apktool for that job.
Where didyou get it/link to procedure, is it JB or KK UI, phone model, etc...
Please more details.
I recommend you to replace first one or two, not whole set of icons, recompile, and try.
Click to expand...
Click to collapse
im using apktool_2.0.0rc4 and my phone is a LG Optimus L3 II (E430) with 4.1.2.
i got my status bar back, but i have reverted to using winrar and drag n dropping new images to apk. i have added the images to drawable-hdpi and drawable-mdpi but once booted, stock battery icons still remain. does that mean i got wrong drawable folder?
EDIT: i finally got it to work with winrar, i copied images to wrong folder, only thing is, i added them to all folders which had battery icons, so i dont really know my target folder i need for future edits, but that can be found by myself. thanx for your help maxx
liamallan said:
im using apktool_2.0.0rc4 and my phone is a LG Optimus L3 II (E430) with 4.1.2.
i got my status bar back, but i have reverted to using winrar and drag n dropping new images to apk. i have added the images to drawable-hdpi and drawable-mdpi but once booted, stock battery icons still remain. does that mean i got wrong drawable folder?
Click to expand...
Click to collapse
Idk for E430, I have P710, but when I started to make changes in UI, I'm first write number on each stock png (I want to change), then recompile, and in that way I can see which one is in tact... You probably change wrong set of icons. I think, that for your device you must look at mdpi folder. But same icons is also in framework-res, and lge-res, who knows LG choices...?
I suggest you to do that job with apktool, not only winrar.

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 apply substratum 'dirty' theme

» [com.google.android.gm]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/folder_teaser_item.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@*com.google.android.gm:style/UnseenCount').
» [com.google.android.gm]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout-v16/folder_teaser_item.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@*com.google.android.gm:style/UnseenCount').
» [com.google.android.gm]: Installation of "com.google.android.gm" has failed.
» [com.android.vending]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:113: error: Error retrieving parent for item: No resource found that matches the given name '@*com.android.vending:style/PETheme.StoryActivity'.
» [com.android.vending]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:342: error: Error retrieving parent for item: No resource found that matches the given name '@*com.android.vending:style/PECardText'.
» [com.android.vending]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:394: error: Error retrieving parent for item: No resource found that matches the given name '@*com.android.vending:style/PETrackListItem'.
» [com.android.vending]: Installation of "com.android.vending" has failed.
» [com.android.launcher3]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable-xhdpi/quantum_panel_bitmap.9.png: libpng warning: iCCP: known incorrect sRGB profile
» [com.android.launcher3]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png: libpng warning: iCCP: known incorrect sRGB profile
» [com.android.launcher3]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable-xxhdpi/quantum_panel_bitmap.9.png: libpng warning: iCCP: known incorrect sRGB profile
» [com.android.launcher3]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable-xxxhdpi/quantum_panel_bitmap.9.png: libpng warning: iCCP: known incorrect sRGB profile
» [com.android.launcher3]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png: libpng warning: iCCP: known incorrect sRGB profile
» [com.android.launcher3]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png: libpng warning: iCCP: known incorrect sRGB profile
» [com.android.launcher3]: Installation of "com.android.launcher3" has failed.
» [com.android.settings]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/condition_card.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.settings:id/collapsed_group').
» [com.android.settings]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/condition_card.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.settings:id/detail_group').
» [com.android.settings]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/settings_with_drawer.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.settings:id/drawer_layout').
» [com.android.settings]: Installation of "com.android.settings" has failed.
» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/qs_panel.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.systemui:id/qs_background').
» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/qs_panel.xml:7: error: Error: No resource found that matches the given name (at 'layout' with value '@*com.android.systemui:layout/qs_footer').
» [com.android.systemui]: Installation of "com.android.systemui" has failed.
heres the log file

Categories

Resources