Hi everybody,
I have a Galaxy S5 device, and I want to compile a rom package for it with code of CM12.1.
First I downloaded the CyanogenMod code from network, and configuration files for kltechnduo, klte and klte-common's device (such as vendor and kernel files).
Follow the CM official guide on wik, I compiled a rom package(fit for klte), but the package can't be flashing into my kltechnduo device with the right TWRP version(2.8.5.0).
Then I tried to compile another package which are fitting for kltechnduo device, and I got an error like this:
Code:
Import includes file: /home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/product/kltechnduo/obj/SHARED_LIBRARIES/libinputservice_intermediates/import_includes
make: *** No rule to make target '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/product/kltechnduo/obj/lib/libtime_genoff.so',
needed by '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/product/kltechnduo /obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED /libandroid_servers.so'。 Stop。
no .so files ?
kltechnduo/obj/lib/libtime_genoff.so
libandroid_servers_intermediates/LINKED/libandroid_servers.so
I tried to copy the klte's libtime_genoff.so and libandroid_servers_intermediates to the kltechnduo's out folder, and continue brunch kltechnduo, and another error:
Code:
make: *** No rule to make target '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/javalib.jar',
needed by '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS /SystemUI_intermediates/classes-full-debug.jar'。 Stop。
I dont know why it always through errors, I just copy the klte's lib to the kltechnduo, and continue complie it, then got other errors:
Code:
target Java: CMAccount (/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS/CMAccount_intermediates/classes)
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:52: Error : cannot find symbol
CustomTile.ExpandedItem[] items) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:75: Error : cannot find symbol
private CustomTile.ExpandedItem[] mItems;
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:83: Error : cannot find symbol
Context context, CustomTile.ExpandedItem[] items) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:100: Error : cannot find symbol
public CustomTile.ExpandedItem getItem(int position) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:79: Error : cannot find symbol
void onPsuedoGridItemClick(View view, CustomTile.ExpandedItem item);
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsList.java:100: Error : cannot find symbol
public static class QSCustomDetailListAdapter extends ArrayAdapter<CustomTile.ExpandedItem> {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsList.java:104: Error : cannot find symbol
List<CustomTile.ExpandedItem> objects) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:47: Error : cannot find symbol
private CustomTile.ExpandedStyle mExpandedStyle;
^
symbol: class ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:215: Error : cannot find symbol
public void onPsuedoGridItemClick(View view, CustomTile.ExpandedItem item) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:113: Error : cannot find symbol
CustomTile.ExpandedItem item = getItem(i);
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:134: Error : cannot find symbol
CustomTile.ExpandedItem item = (CustomTile.ExpandedItem) view.getTag();
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:134: Error : cannot find symbol
CustomTile.ExpandedItem item = (CustomTile.ExpandedItem) view.getTag();
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsList.java:117: Error : cannot find symbol
final CustomTile.ExpandedItem item = getItem(position);
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:94: Error : cannot find symbol
mExpandedStyle.getStyle() != CustomTile.ExpandedStyle.NO_STYLE) {
^
symbol: variable ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:131: Error : cannot find symbol
mExpandedStyle = customTile.expandedStyle;
^
symbol: variable expandedStyle
location: Type CustomTile variable customTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:186: Error : cannot find symbol
case CustomTile.ExpandedStyle.GRID_STYLE:
^
symbol: variable ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:193: Error : cannot find symbol
case CustomTile.ExpandedStyle.LIST_STYLE:
^
symbol: variable ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:210: Error : cannot find symbol
CustomTile.ExpandedItem item = mListAdapter.getItem(position);
^
symbol: class ExpandedItem
location: class CustomTile
18 Errors
build/core/java.mk:346: recipe for target '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar' failed
make: *** [/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
I checked the log, and downloaded an old version to replace it, then complie it again....
Ok, completed successfully, I flashed my device with the out package, successfully and reboot, but, the device always cycling the bootanimation and became very hot, never entering the launcher.
At last I found there is an CM Official Nightly version for the kltechnduo on network, I downloaded it and flash it, it works well on my device.
Any body could tell me why I can't build an available package for kltechnduo?
Thank you very much~
Thank you very much~
Thank you very much~
^_^
Have same error on HTC One X with CM 12.1. Was your problem on Samsung solved? And how?
Thanks in advance.
Sent from my HTC One X using XDA Free mobile app
I have the same error on lg g2, see if someone can help us
Related
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?
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.)
Copying: out/target/common/obj/APPS/TagCanon_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/jordan/recovery/root/sbin/mke2fs
Install: out/host/linux-x86/lib/libSR_Session.so
Install: out/host/linux-x86/lib/libSR_Recognizer.so
Copying: out/target/common/obj/APPS/ADWLauncher_intermediates/noproguard.classes.dex
Copying: out/target/common/obj/APPS/AccountAndSyncSettings_intermediates/noproguard.classes.dex
target Dex: AndroidTerm
Install: out/target/product/jordan/system/lib/libutils.so
target Dex: javax.obex
target Dex: ApplicationsProvider
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java:19: cannot find symbol
symbol : class DeclareStyleableResourceValue
location: package com.android.ide.common.rendering.api
import com.android.ide.common.rendering.api.DeclareStyleableResourceValue;
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java:243: getParser(java.lang.String) in com.android.ide.common.rendering.api.IProjectCallback cannot be applied to (com.android.ide.common.rendering.api.ResourceValue)
parser = mProjectCallback.getParser(value);
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java:311: getParser(java.lang.String) in com.android.ide.common.rendering.api.IProjectCallback cannot be applied to (com.android.ide.common.rendering.api.ResourceValue)
parser = mProjectCallback.getParser((ResourceValue) resource);
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java:218: cannot find symbol
symbol : class DeclareStyleableResourceValue
location: class com.android.layoutlib.bridge.android.BridgeTypedArray
if (styleable instanceof DeclareStyleableResourceValue) {
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java:219: cannot find symbol
symbol : class DeclareStyleableResourceValue
location: class com.android.layoutlib.bridge.android.BridgeTypedArray
map = ((DeclareStyleableResourceValue) styleable).getAttributeValues(mNames[index]);
^
Note: frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors
make: *** [out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
Thanks~
no com.android.ide.common.rendering.api package
i have grep all the android source code, but no find packet com.android.ide.common.rendering.api
Hi
I just cloned tpruvot's (Epsylon's?) git tree but I fail to build it.
The errormessage I get is that I have no Nullable object.. what?
I have found this thread http://forum.xda-developers.com/newreply.php?do=newreply&p=21076345 with the same error message
Oogy said:
Code:
host Java: chimpchat (out/host/common/obj/JAVA_LIBRARIES/chimpchat_intermediates/classes)
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:26: cannot find symbol
symbol : class Nullable
location: package javax.annotation
import javax.annotation.Nullable;
^
target Dex: apache-xml-hostdex
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:61: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void reboot(@Nullable String into);
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:167: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void startActivity(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:167: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void startActivity(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:168: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:168: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:169: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
Collection<String> categories, Map<String, Object> extras, @Nullable String component,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:184: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void broadcastIntent(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:184: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void broadcastIntent(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:185: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:185: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:186: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
Collection<String> categories, Map<String, Object> extras, @Nullable String component,
^
sdk/chimpchat/src/com/android/chimpchat/adb/AdbChimpDevice.java:402: cannot find symbol
symbol : class Nullable
location: class com.android.chimpchat.adb.AdbChimpDevice
private static boolean isNullOrEmpty(@Nullable String string) {
^
13 errors
make: *** [out/host/common/obj/JAVA_LIBRARIES/chimpchat_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
But there is no solution other than reinstall JDK, which I have done like three times now. So what JDK release should I use? currently running JDK6 update 31.
EDIT: Forgot what linux dist, and I'm one of those crazy people who run linux from scratch -.- version 7.0
Try oracle java7.
I'm on Ubuntu.
---------------------------------------------------
Motorola Defy red lens
German Vodafone Froyo based
CM7.2 nightly 20120402 by Maniac
Yeah Jdk 7 should work...
Sent from my MB526 using xda premium
Questions go in the Q&A section, not the Dev section
Use Ubuntu 10.04 LTS , should provide lesser errors
Ace-ing all tests.
sakitobaki said:
Try oracle java7.
I'm on Ubuntu.
---------------------------------------------------
Motorola Defy red lens
German Vodafone Froyo based
CM7.2 nightly 20120402 by Maniac
Click to expand...
Click to collapse
nogoodusername said:
Yeah Jdk 7 should work...
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
Just installed and I did get past the earlier error message. Now it is whining about "target release 1.5 conflicts with default source release 1.7" why? And isn't Android 2.3+ using java version 1.6?
EmoBoiix3 said:
Use Ubuntu 10.04 LTS , should provide lesser errors
Ace-ing all tests.
Click to expand...
Click to collapse
I didn't create my own distribution based on LFS just to use Ubuntu. And I'm not going to learn anything from taking the short way around the problem. Ubuntu is when everything else fails.
Febernacke said:
Just installed and I did get past the earlier error message. Now it is whining about "target release 1.5 conflicts with default source release 1.7" why? And isn't Android 2.3+ using java version 1.6?
Click to expand...
Click to collapse
I'm in the same boat, trying to compile CM10, and found this thread. Java 1.6 and I get the IChimp Nullable errors, using 1.7 (on Ubuntu, for that matter) refuses to even compile with this error...
Everyone seems to treat Ubuntu as the distro of choice for compiling Android on, and it doesn't seem to work all that well for me... I would hate to see the errors people are getting on other distros...
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.
------------------------------------------------------