advanced apktool success no - Android Software Development

I am getting this message when I recompile ( success no ) and I have tried to just decompile edit nothing and just recopmpile and still get the same error,
Log:
Code:
Log For : lol.apk
Log Type : Recompiling
Log Recorded At : Wed 10-05-2017 12:24:23.62
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-mdpi\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-mdpi\abc_list_divider_mtrl_alpha.9.png
ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\abc_list_divider_mtrl_alpha.9.png
ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xhdpi\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xhdpi\abc_list_divider_mtrl_alpha.9.png
ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xxhdpi\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xxhdpi\abc_list_divider_mtrl_alpha.9.png
ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\title_bar_medium.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\title_bar_medium.9.png
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:384: error: Public symbol drawable/abc_ab_share_pack_mtrl_alpha declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:375: error: Public symbol drawable/abc_action_bar_item_background_material declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:317: error: Public symbol drawable/abc_btn_borderless_material declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:318: error: Public symbol drawable/abc_btn_check_material declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:385: error: Public symbol drawable/abc_btn_check_to_on_mtrl_000 declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:386: error: Public symbol drawable/abc_btn_check_to_on_mtrl_015 declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:319: error: Public symbol drawable/abc_btn_colored_material declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:320: error: Public symbol drawable/abc_btn_default_mtrl_shape declared here is not defined.
C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:321: error: Public symbol drawable/abc_btn_radio_material declared here is not defined.
------------------------------------------------------

Related

[Q] Compile CM7 from Source for Galaxy Tab - Case Study

Im trying to compile cm7 to learn how to and I'm getting an error on compile.
I've found on XDA some topics with same issue but without solution and I don't know if this thread is valid.
But its very annoying send PM to ask about this and I prefer make this public.
I'm getting this error on build:
make: *** No rule to make target `otapackage'. Stop.
following this tutorial: Build_CyanogenMod_for_Samsung_GalaxyTab
and specifically at this line:
make -j`grep 'processor' /proc/cpuinfo | wc -l` CYANOGEN_WITH_GOOGLE=true otapackage
can someone help on this ?
I have no idea how to proceed.
thanks in advance.
You're missing something. Check that you have no unresolved dependencies. also try it without CYANOGEN_WITH_GOOGLE=true and see what, if any, error it throws.
the error is the same i've compared all lines.
take a look on complete output :
http://pastebin.com/2QfpbdV0
any ideas?
It looks like your build environment is off.
sudo apt-get/aptitude update
sync android again
Make sure you have the appropriate libraries for your architecture (32/64)
Also, if you're using Ubuntu, make sure you have the right Java repositories for your version.
On Ubuntu 10.10+ you need to add repositories to get Sun Java (or Oracle Java, I suppose). I don't think the open JDK stuff works properly. I may be wrong
i think my ubuntu is configured because i'm able to compile p1000 kernel with it.
there's another thing to verify?
I've ran repo sync again, buildmodules from galaxytab/tools but the same problem...
hello
Galaxy Tab P1000 to my device
pit = P1_add_hidden
pda = P1000XWJMI-REV03-ALL-CL869777.tar
phone = MODEM_P1000XXJMA.tar
csc = GT-P1000-CSC-SERJM4.tar
has failed my first installation on pc
whether the pit again, when I successfully finished the installation
but when the tab restart
GALAXY TAB
SAMSUNG
article remains
Can you help
(downloading part of the input device is able to, the same problem I tried to install the older roms)
Can you help to have a very short time to
please
bilal
ivannw said:
i think my ubuntu is configured because i'm able to compile p1000 kernel with it.
there's another thing to verify?
Click to expand...
Click to collapse
Not really. This sort of resource issue is so specific and unique to each computer/build environment that someone would almost have to be standing over your shoulder following along to tell you EXACTLY what is going wrong... Unless they have had an identical issue, and I haven't. If everything checks out as per above, I would reinstall everything starting with linux and find a more complete guide for the specific task you are undertaking and try again.
Failing that, you can download a copy of the Gentoo Linux install (compile it yourself, not with the GUI version) and use their guide step by step. Once that is done, grab the Android SDK and head over to hackaday and follow thier Android 101 guide to its end. Do this, and you'll be a pro at compiling from source and the basics of android. You will have learned more than you would have in any 200 level undergrad course and it wont even take you more than three or four days. After that, try again and it's likely that you'll spot the problem before it even crops up again.
spacemoose1, thanks for your help.
I'll create a new VM with your considerations to study more and more.
BTW, I got a new status, now the make stops on this error;
Code:
target Java: MagicSmokeWallpapers (out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/PowerWidgetActivity.java:20: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
target Java: Music3 (out/target/common/obj/APPS/Music3_intermediates/classes)
target Java: Nfc (out/target/common/obj/APPS/Nfc_intermediates/classes)
Note: frameworks/base/tests/LocationTracker/src/com/android/locationtracker/TrackerService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target Java: NinePatchLab (out/target/common/obj/APPS/NinePatchLab_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/PowerWidgetActivity.java:140: cannot find symbol
symbol : variable WimaxConstants
location: class com.cyanogenmod.cmparts.activities.PowerWidgetActivity
if (!WimaxConstants.isWimaxSupported(this)) {
^
target Java: Pacman (out/target/common/obj/APPS/Pacman_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:53: cannot find symbol
symbol : variable STATUS_BAR_CLOCK
location: class android.provider.Settings.System
Settings.System.STATUS_BAR_CLOCK, 1) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:55: cannot find symbol
symbol : variable STATUS_BAR_CM_BATTERY
location: class android.provider.Settings.System
Settings.System.STATUS_BAR_CM_BATTERY, 0) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:65: cannot find symbol
symbol : variable STATUS_BAR_CLOCK
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_CLOCK,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:70: cannot find symbol
symbol : variable STATUS_BAR_CM_BATTERY
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_CM_BATTERY,
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:8: package com.android.wimax does not exist
import com.android.wimax.WimaxSettingsHelper;
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:9: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
packages/apps/Settings/src/com/android/settings/widget/SettingsAppWidgetProvider.java:38: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:5: package com.android.wimax does not exist
import com.android.wimax.WimaxSettingsHelper;
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:6: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:37: package com.android.settings.wimax does not exist
import com.android.settings.wimax.WimaxEnabler;
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:61: cannot find symbol
symbol : class WimaxEnabler
location: class com.android.settings.WirelessSettings
private WimaxEnabler mWimaxEnabler;
^
make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:30: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:30: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:39: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:39: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:60: package WimaxConstants does not exist
if (!WimaxConstants.WIMAX_ENABLED_CHANGED_ACTION.equals(intent.getAction())) {
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:63: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
int wimaxState = intent.getIntExtra(WimaxConstants.CURRENT_WIMAX_ENABLED_STATE, WimaxConstants.WIMAX_ENABLED_STATE_UNKNOWN);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:63: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
int wimaxState = intent.getIntExtra(WimaxConstants.CURRENT_WIMAX_ENABLED_STATE, WimaxConstants.WIMAX_ENABLED_STATE_UNKNOWN);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:74: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_DISABLED:
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:76: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_ENABLED:
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:78: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_ENABLING:
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:80: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_DISABLING:
^
packages/apps/Settings/src/com/android/settings/widget/SettingsAppWidgetProvider.java:318: package WimaxConstants does not exist
} else if (WimaxConstants.WIMAX_ENABLED_CHANGED_ACTION.equals(intent.getAction())) {
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:307: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.WidgetSettings
if (!WimaxConstants.isWimaxSupported(this)) {
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:108: cannot find symbol
symbol : class WimaxEnabler
location: class com.android.settings.WirelessSettings
mWimaxEnabler = new WimaxEnabler(this, getSystemService(Context.WIMAX_SERVICE), wimax);
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:108: cannot find symbol
symbol : variable WIMAX_SERVICE
location: class android.content.Context
mWimaxEnabler = new WimaxEnabler(this, getSystemService(Context.WIMAX_SERVICE), wimax);
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:128: cannot find symbol
symbol : variable RADIO_WIMAX
location: class android.provider.Settings.System
if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIMAX)) {
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:144: cannot find symbol
symbol : variable WIMAX_SERVICE
location: class android.content.Context
if (getSystemService(Context.WIMAX_SERVICE) == null) {
^
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.
24 errors
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
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.
any idea?

Trying to Modify Mildwild ics style Launcher2.apk

Basically im trying to reduce the size of Mildwild isc style Launcher2.apk for oxygen basic 2.3.2 rom.
When i decompile Launcher2.apk get this message from Cmd.
Code:
C:\android\tools>apktool d -f launcher2.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\johnnie\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_normal_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_normal_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_normal_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_normal_right.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Then when i got to res folder and remove all the wallpapers from ( drawable-hdpi ) this all together comes to 7.92mb.
i try to recompile and i get the following message.
Code:
C:\android\tools>apktool b Launcher2
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_press_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_press_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_press_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_press_right.9.png
C:\android\tools\Launcher2\res\values\public.xml:154: error: Public entry identifier 0x7f02001f entry index is larger than available symbols (index 31, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:154: error: Public symbol drawable/APKTOOL_DUMMY_001f declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:155: error: Public entry identifier 0x7f020020 entry index is larger than available symbols (index 32, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:155: error: Public symbol drawable/APKTOOL_DUMMY_0020 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:156: error: Public entry identifier 0x7f020021 entry index is larger than available symbols (index 33, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:156: error: Public symbol drawable/APKTOOL_DUMMY_0021 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:157: error: Public entry identifier 0x7f020053 entry index is larger than available symbols (index 83, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:157: error: Public symbol drawable/APKTOOL_DUMMY_0053 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:158: error: Public entry identifier 0x7f020054 entry index is larger than available symbols (index 84, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:158: error: Public symbol drawable/APKTOOL_DUMMY_0054 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:159: error: Public entry identifier 0x7f020055 entry index is larger than available symbols (index 85, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:159: error: Public symbol drawable/APKTOOL_DUMMY_0055 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:160: error: Public entry identifier 0x7f020056 entry index is larger than available symbols (index 86, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:160: error: Public symbol drawable/APKTOOL_DUMMY_0056 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:161: error: Public entry identifier 0x7f020071 entry index is larger than available symbols (index 113, total symbols 29)
.
C:\android\tools\Launcher2\res\values\public.xml:182: error: Public symbol drawable/APKTOOL_DUMMY_0098 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:24: error: Public symbol drawable/all_apps_button declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:44: error: Public symbol drawable/all_apps_button_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:45: error: Public symbol drawable/all_apps_button_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:46: error: Public symbol drawable/all_apps_button_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:47: error: Public symbol drawable/bg_appwidget_error declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:48: error: Public symbol drawable/box_launcher_bottom declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:25: error: Public symbol drawable/box_launcher_top declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:49: error: Public symbol drawable/box_launcher_top_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:50: error: Public symbol drawable/box_launcher_top_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:51: error: Public symbol drawable/box_launcher_top_selected declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:26: error: Public symbol drawable/delete_zone_selector declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:52: error: Public symbol drawable/dock_four declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:53: error: Public symbol drawable/dock_four_dark declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:54: error: Public symbol drawable/dock_two declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:55: error: Public symbol drawable/dock_two_dark declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:56: error: Public symbol drawable/focused_application_background declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:27: error: Public symbol drawable/grid_selector declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:28: error: Public symbol drawable/home_arrows_left declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:29: error: Public symbol drawable/home_arrows_left_1 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:30: error: Public symbol drawable/home_arrows_left_2 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:31: error: Public symbol drawable/home_arrows_left_3 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:32: error: Public symbol drawable/home_arrows_left_4 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:33: error: Public symbol drawable/home_arrows_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:34: error: Public symbol drawable/home_arrows_right_1 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:35: error: Public symbol drawable/home_arrows_right_2 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:36: error: Public symbol drawable/home_arrows_right_3 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:37: error: Public symbol drawable/home_arrows_right_4 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:38: error: Public symbol drawable/home_button declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:57: error: Public symbol drawable/home_button_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:58: error: Public symbol drawable/home_button_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:59: error: Public symbol drawable/home_button_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:39: error: Public symbol drawable/hotseat_browser declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:60: error: Public symbol drawable/hotseat_browser_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:61: error: Public symbol drawable/hotseat_browser_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:62: error: Public symbol drawable/hotseat_browser_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:40: error: Public symbol drawable/hotseat_phone declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:63: error: Public symbol drawable/hotseat_phone_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:64: error: Public symbol drawable/hotseat_phone_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:65: error: Public symbol drawable/hotseat_phone_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:66: error: Public symbol drawable/ic_home_arrows_1_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:67: error: Public symbol drawable/ic_home_arrows_1_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:68: error: Public symbol drawable/ic_home_arrows_1_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:69: error: Public symbol drawable/ic_home_arrows_1_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:70: error: Public symbol drawable/ic_home_arrows_1_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:71: error: Public symbol drawable/ic_home_arrows_1_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:72: error: Public symbol drawable/ic_home_arrows_2_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:73: error: Public symbol drawable/ic_home_arrows_2_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:74: error: Public symbol drawable/ic_home_arrows_2_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:75: error: Public symbol drawable/ic_home_arrows_2_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:76: error: Public symbol drawable/ic_home_arrows_2_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:77: error: Public symbol drawable/ic_home_arrows_2_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:78: error: Public symbol drawable/ic_home_arrows_3_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:79: error: Public symbol drawable/ic_home_arrows_3_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:80: error: Public symbol drawable/ic_home_arrows_3_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:81: error: Public symbol drawable/ic_home_arrows_3_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:82: error: Public symbol drawable/ic_home_arrows_3_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:83: error: Public symbol drawable/ic_home_arrows_3_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:84: error: Public symbol drawable/ic_home_arrows_4_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:85: error: Public symbol drawable/ic_home_arrows_4_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:86: error: Public symbol drawable/ic_home_arrows_4_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:87: error: Public symbol drawable/ic_home_arrows_4_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:88: error: Public symbol drawable/ic_home_arrows_4_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:89: error: Public symbol drawable/ic_home_arrows_4_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:90: error: Public symbol drawable/ic_launcher_application declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:91: error: Public symbol drawable/ic_launcher_appwidget declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:92: error: Public symbol drawable/ic_launcher_folder declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:93: error: Public symbol drawable/ic_launcher_folder_open declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:94: error: Public symbol drawable/ic_launcher_home declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:95: error: Public symbol drawable/ic_launcher_shortcut declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:96: error: Public symbol drawable/ic_launcher_wallpaper declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:97: error: Public symbol drawable/pattern_carbon_fiber_dark declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:98: error: Public symbol drawable/placeholder_google declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:41: error: Public symbol drawable/pressed_application_background declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:42: error: Public symbol drawable/preview_background declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:99: error: Public symbol drawable/preview_bg declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:100: error: Public symbol drawable/preview_bg_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:101: error: Public symbol drawable/preview_bg_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:43: error: Public symbol drawable/shortcut_selector declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:102: error: Public symbol drawable/trashcan declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:103: error: Public symbol drawable/trashcan_hover declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:104: error: Public symbol drawable/wallpaper_bluedotgrid declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:105: error: Public symbol drawable/wallpaper_bluedotgrid_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:106: error: Public symbol drawable/wallpaper_brown declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:107: error: Public symbol drawable/wallpaper_brown_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:108: error: Public symbol drawable/wallpaper_canyon declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:109: error: Public symbol drawable/wallpaper_canyon_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:110: error: Public symbol drawable/wallpaper_cloud declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:111: error: Public symbol drawable/wallpaper_cloud_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:112: error: Public symbol drawable/wallpaper_desert declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:113: error: Public symbol drawable/wallpaper_desert_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:114: error: Public symbol drawable/wallpaper_despair declareException in thread "main" brut.androlib.AndrolibException: b
rut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\johnnie\AppData\Local\Temp\APKTOOL2994435215325790126.tmp, -I, C:\Users\johnnie\apktool\framework
\1.apk, -S, C:\android\tools\Launcher2\res, -M, C:\android\tools\Launcher2\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\johnnie\AppData\Local\Temp\APKTOOL2994435215325790126.tmp, -I, C:\Users\johnnie\apkto
ol\framework\1.apk, -S, C:\android\tools\Launcher2\res, -M, C:\android\tools\Launcher2\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
d here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:115: error: Public symbol drawable/wallpaper_despair_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:116: error: Public symbol drawable/wallpaper_electric declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:117: error: Public symbol drawable/wallpaper_electric_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:118: error: Public symbol drawable/wallpaper_field declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:119: error: Public symbol drawable/wallpaper_field_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:120: error: Public symbol drawable/wallpaper_galaxy declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:121: error: Public symbol drawable/wallpaper_galaxy_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:122: error: Public symbol drawable/wallpaper_goldengate declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:123: error: Public symbol drawable/wallpaper_goldengate_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:124: error: Public symbol drawable/wallpaper_grass declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:125: error: Public symbol drawable/wallpaper_grass_night declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:126: error: Public symbol drawable/wallpaper_grass_night_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:127: error: Public symbol drawable/wallpaper_grass_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:128: error: Public symbol drawable/wallpaper_gray declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:129: error: Public symbol drawable/wallpaper_gray_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:130: error: Public symbol drawable/wallpaper_greengray declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:131: error: Public symbol drawable/wallpaper_greengray_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:132: error: Public symbol drawable/wallpaper_hazybluedots declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:133: error: Public symbol drawable/wallpaper_hazybluedots_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:134: error: Public symbol drawable/wallpaper_lightgrad declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:135: error: Public symbol drawable/wallpaper_lightgrad_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:136: error: Public symbol drawable/wallpaper_monumentvalley declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:137: error: Public symbol drawable/wallpaper_monumentvalley_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:138: error: Public symbol drawable/wallpaper_nexuspattern declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:139: error: Public symbol drawable/wallpaper_nexuspattern_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:140: error: Public symbol drawable/wallpaper_nexusrain declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:141: error: Public symbol drawable/wallpaper_nexusrain_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:142: error: Public symbol drawable/wallpaper_nexuswallpaper1 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:143: error: Public symbol drawable/wallpaper_nexuswallpaper1_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:144: error: Public symbol drawable/wallpaper_pcut declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:145: error: Public symbol drawable/wallpaper_pcut_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:146: error: Public symbol drawable/wallpaper_ropelights declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:147: error: Public symbol drawable/wallpaper_ropelights_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:148: error: Public symbol drawable/wallpaper_tree declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:149: error: Public symbol drawable/wallpaper_tree_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:150: error: Public symbol drawable/wallpaper_x67 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:151: error: Public symbol drawable/wallpaper_x67_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:152: error: Public symbol drawable/wallpaper_zanzibar declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:153: error: Public symbol drawable/wallpaper_zanzibar_small declared here is not defined.
C:\android\tools>
im a novice so im just starting to learn how to edit apk files.
Im sure its something to do with Value Xml file but as said im still learning.
if anyone could help it would be appreciated thank you.
If you are decompiling an apk to remove images and recompiling, you cannot just remove the images. You must also remove the references to those images in the xml files.
Also if you edit the xml files, the apk tool / manager or whatever suggests that there is file that you have to delete (resources.asc I think? - its been a while.)

Error while build CM10

Hey guys!
No, I still haven't gotten my CM10 to boot, because I am having a lot of build errors. Now, I need help with the following error while building:
Code:
Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/copybit.msm7x30_intermediates/import_includes
Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libmemalloc_intermediates/import_includes
target thumb C++: libgenlock <= hardware/qcom/display/libgenlock/genlock.cpp
target thumb C: gps.goldfish <= sdk/emulator/gps/gps_qemu.c
sdk/emulator/gps/gps_qemu.c:47:0: warning: "D" redefined [enabled by default]
hardware/libhardware/include/hardware/qemu_pipe.h:29:0: note: this is the location of the previous definition
sdk/emulator/gps/gps_qemu.c:903:5: warning: initialization from incompatible pointer type [enabled by default]
sdk/emulator/gps/gps_qemu.c:903:5: warning: (near initialization for 'qemuGpsInterface.set_position_mode') [enabled by default]
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::perform' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::reserved_proc' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master_base' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers]
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
hardware/qcom/display/libgenlock/genlock.cpp: In function 'int (anonymous namespace)::get_kernel_lock_type(genlock_lock_type)':
hardware/qcom/display/libgenlock/genlock.cpp:53:25: error: 'GENLOCK_WRLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:55:25: error: 'GENLOCK_RDLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t (anonymous namespace)::perform_lock_unlock_operation(native_handle_t*, int, int, int)':
hardware/qcom/display/libgenlock/genlock.cpp:83:13: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:83:26: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:84:13: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:101:43: error: 'GENLOCK_IOC_LOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_create_lock(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:156:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:156:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:157:23: error: 'GENLOCK_IOC_NEW' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:160:45: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:166:27: error: 'GENLOCK_IOC_EXPORT' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:166:48: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:176:30: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_attach_lock(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:243:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:243:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:244:9: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:245:23: error: 'GENLOCK_IOC_ATTACH' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_unlock_buffer(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:306:56: error: 'GENLOCK_UNLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_wait(native_handle_t*, int)':
hardware/qcom/display/libgenlock/genlock.cpp:335:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:335:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:336:9: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:338:39: error: 'GENLOCK_IOC_WAIT' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_write_to_read(native_handle_t*, int)':
hardware/qcom/display/libgenlock/genlock.cpp:368:56: error: 'GENLOCK_RDLOCK' was not declared in this scope
make: *** [/home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/cm10$
Ok, so I can see that genlock (and probably gralloc), but I don't know what is wrong and how to fix it.
Please, I need someone to help me with this!
Thanks.
Which dece source are you using?

compile errors

i seem to have hit a road block making jellybean rom for tcc8920st here the last part of compile log it saying about LOGE AND LOGV
host C++: wdsclient <= external/webkit/Source/WebKit/android/wds/client/main.cpp
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::connect()':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:56:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:66:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::sendRequest(char const*, ...) const':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:81:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:92:52: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:100:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:106:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In function 'void printFailureMessage(int)':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:118:70: error: 'LOG_ASSERT' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:130:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:133:74: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:139:46: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::checkOkayResponse() const':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:148:57: error: 'LOG_ASSERT' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:153:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:159:28: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:166:58: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'const DeviceList& AdbConnection::getDeviceList()':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:181:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:187:50: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:195:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:210:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:213:74: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:227:52: error: 'LOGV' was not declared in this scope
make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/AdbConnection.o] Error 1
make: *** Waiting for unfinished jobs....
external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int wds_open()':
external/webkit/Source/WebKit/android/wds/client/main.cpp:53:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:58:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int main(int, char**)':
external/webkit/Source/WebKit/android/wds/client/main.cpp:77:51: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:97:40: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:112:75: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:115:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:134:32: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:140:49: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:144:50: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:150:59: error: 'LOGE' was not declared in this scope
make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/main.o] Error 1
jez! im looking at main.cpp and adbconnection.cpp so anyone shed light on it i added telechips892x android source tree to it and edited to reflect the telechips

Varios issues porting AOSP/CyanogenMod/Any other such ROM(s)...

Hey everyone!
As the title says, but more exactly I kinda lost my mind trying to port custom firmware for Asus A500CG. And all of it end up with errors with "hardware/intel/img/psb_video/src/android/psb_android_glue.cpp".
I've used the master branch of the device tree here by quanganh2627. I'm trying to build Android M currently . I've disabled SELinux things. And to solve the psb_video error I removed the folder itself. I get a successful build but ends up with building the one for medfield. I'll post the error in the next post. And could someone guide me properly to build the ROM and for the right device.
Also I'm building it on Ubuntu 14.04.02.
I get the Medfield info because it literally gets stuck in the splash screen, so I used adb devices & I used adb logcat.
I see that most of the services fail to start & to be more precise a bootloop without boot animation.
I'd appreciate help from anyone with more experience working with custom firmware.
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:124:21: error: NULL used in arithmetic [-Werror=pointer-arith]
if (imds == NULL)
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:127:20: error: NULL used in arithmetic [-Werror=pointer-arith]
if (mds != NULL) {
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer
ret = mds->getVppState();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:130:13: error: converting to non-pointer type 'int' from NULL [-Werror=conversion-null]
mds = NULL;
^
cc1plus: all warnings being treated as errors
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
Next set of errors:
hardware/intel/img/psb_video/src/android/psb_gralloc.cpp:38:25: fatal error: ufo/gralloc.h: No such file or directory
#include <ufo/gralloc.h>
^
compilation terminated.
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_gralloc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:45:0:
hardware/intel/img/psb_video/src/android/psb_mds.h:51:8: error: 'IMDService' was not declared in this scope
sp<IMDService> mMds;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:51:18: error: template argument 1 is invalid
sp<IMDService> mMds;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:52:8: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mListener;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:52:33: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mListener;
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp: In function 'int psb_android_get_mds_vpp_state(void*)':
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: error: 'IMDService' was not declared in this scope
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:22: error: template argument 1 is invalid
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:29: error: invalid type in declaration before '=' token
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:46: error: the value of 'IMDService' is not usable in a constant expression
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: note: 'IMDService' was not declared 'constexpr'
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: error: no matching function for call to 'interface_cast(android::sp<android::IBinder>)'
sm->getService(String16(INTEL_MDS_SERVICE_NAME)));
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: note: candidate is:
In file included from frameworks/native/include/binder/IServiceManager.h:21:0,
from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:33:
frameworks/native/include/binder/IInterface.h:42:22: note: template<class INTERFACE> android::sp<T> android::interface_cast(const android::sp<android::IBinder>&)
inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj)
^
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer
ret = mds->getVppState();
^
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
#### make failed to build some targets (03:04 (mm:ss)) ####
Go to psb_video folder and delete all files here apart all folders and Android.mk file.
Open Android.mk file and comment all strings there using # symbol.
My CM12.1 is booted without this folder. You should compile Lollipop rom and only after that you should compile Marshmallow.
But mate it creates pvr_drv_video.so module. So would it be right to do so?
Just try.
I tried and it built it again for medfield mate....

Categories

Resources