Need help encoding some xml files - Android Themes

If this is not the right place to post this, then mods, please move it.
I am trying to do some theming via XML edits. Its not working right if I use a hex editor. I cant find all of the colors I want to change, and the ones that I can change come out wrong. I was able to use the apktool and decode the xmls into plain text and edit them that way, however, I am not able to encode them again. I tried to use the build to command to rebuild the entire framework-res.apk, but it erroers out and I can figure out why.
Anyway, is it possible to convert the attached xml back to binary or, better, point me to where I could do it myself? I havent been able to find anything.
Thanks.

if you look at the log of apktool then you might find out what's wrong (usually it's some wrongly edited .9.pngs. if you solve these problems your apk will compile fine with all the xmls

Is there a way to find out which PNG is messed up. Im getting 100s of lines of errorsa and its over flowing the cmd prompt buffer, so I have no idea where its starting.

if you use apkmanager it will save the log to file and you can look through it
and if you look for aapt warnings you can find them

Here the error output, the took out the hundred of crogram.... not defined errors. I havent had any luck trying to trouble shoot this. Im assuming its because of the uknown or missing sources, but I havent figured out how to fix it.
Code:
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_gray.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_green.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_red.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_yellow.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_pressed.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_gray.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_green.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_red.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_yellow.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_pressed.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_close_on.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_header_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_item_app_background_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_item_background_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\statusbar_background.9.png
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2728: error: Public entry identifier 0x10801a3 entry index is larger than available symbols (index 419, total symbols 39).
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2728: error: Public symbol drawable/APKTOOL_DUMMY_01a3 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2753: error: Public entry identifier 0x108023a entry index is larger than available symbols (index 570, total symbols 39).
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2753: error: Public symbol drawable/APKTOOL_DUMMY_023a declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2754: error: Public entry identifier 0x108023b entry index is larger than available symbols (index 571, total symbols 39).
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2858: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_custom3_flash declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:3618: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_flash_custom3_anim1 declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dkosmach\AppData\Local\Temp\APKTOOL2037895822355495266.tmp, -x, -S, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dkosmach\AppData\Local\Temp\APKTOOL2037895822355495266.tmp, -x, -S, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
The system cannot find the file specified.

Another issue Im having is when using APK manager. After I decdode and modify the XMLs, I try to recomple the framework-res.apk. I follow the instructions and delete any files I modified from the keep folder. When I continue, my the changed files are still missing, they are not being copied over. Am I doing something wrong? Or is it because of the errors?

the problem is with the files that are in lines starting with "Failure processing PNG image"
if you open them in android skd's draw9patch and you save them it will be good. if you repair all the files then it will recompile fine

helllmonkey said:
Here the error output, the took out the hundred of crogram.... not defined errors. I havent had any luck trying to trouble shoot this. Im assuming its because of the uknown or missing sources, but I havent figured out how to fix it.
Code:
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_gray.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_green.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_red.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_confirm_yellow.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_left_end_pressed.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_gray.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_green.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_red.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_confirm_yellow.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\jog_tab_bar_right_end_pressed.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_close_on.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_header_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_item_app_background_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_item_background_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\drawable-hdpi\statusbar_background.9.png
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2728: error: Public entry identifier 0x10801a3 entry index is larger than available symbols (index 419, total symbols 39).
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2728: error: Public symbol drawable/APKTOOL_DUMMY_01a3 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2753: error: Public entry identifier 0x108023a entry index is larger than available symbols (index 570, total symbols 39).
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2753: error: Public symbol drawable/APKTOOL_DUMMY_023a declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2754: error: Public entry identifier 0x108023b entry index is larger than available symbols (index 571, total symbols 39).
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:2858: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_custom3_flash declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res\values\public.xml:3618: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_flash_custom3_anim1 declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dkosmach\AppData\Local\Temp\APKTOOL2037895822355495266.tmp, -x, -S, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dkosmach\AppData\Local\Temp\APKTOOL2037895822355495266.tmp, -x, -S, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\platform-tools\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
The system cannot find the file specified.
Click to expand...
Click to collapse
Make sure those images mentioned in the log are fixed - i.e. they have guides in the image for the system to read. If you don't know what I mean, it means that these images are not properly saved as .9.png files.

Thanks guys, I got it to compile last night, except my modified XMLs didnt copy over. I only tried it once, and my brain was fried from trying to fix this, so Im going to spend more time with it today.

helllmonkey said:
Thanks guys, I got it to compile last night, except my modified XMLs didnt copy over. I only tried it once, and my brain was fried from trying to fix this, so Im going to spend more time with it today.
Click to expand...
Click to collapse
lol...
*my brain was fried from trying to fix this*
I know that feeling when in apkmode LOL

helllmonkey said:
Another issue Im having is when using APK manager. After I decdode and modify the XMLs, I try to recomple the framework-res.apk. I follow the instructions and delete any files I modified from the keep folder. When I continue, my the changed files are still missing, they are not being copied over. Am I doing something wrong? Or is it because of the errors?
Click to expand...
Click to collapse
Did you also delete the resources.arsc file (if modding XMLs)?

I know I am supposed to, but I was rushed trying to get it done before I went home for the day and I was quite tired, so I may have forgot too. I havent had time to try it again though. Hopefully I can get to it this afternoon.

Related

uhh, another apk tool error, please help :(

here we go again. This is a error which is annoying me and i dont know a solution for, help pleaseeee.
Here are the first few lines of the error:
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
'adb' is not recognized as an internal or external command,
operable program or batch file.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1375: error: Multiple entry names declared for public entry identifier 0x28a in type id (webselect_dialog_listview vs zzz_puzzlelockpuzzlebg).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1369: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1375: error: Public symbol id/zzz_puzzlelockpuzzlebg declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1376: error: Multiple entry names declared for public entry identifier 0x28b in type id (tw_cursorhandle_view vs zzz_puzzlenotivvmlayout).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1370: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1376: error: Public symbol id/zzz_puzzlenotivvmlayout declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1377: error: Multiple entry names declared for public entry identifier 0x28c in type id (mode_normal vs zzz_puzzlenotivvmtext).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1371: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1377: error: Public symbol id/zzz_puzzlenotivvmtext declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2577: error: Multiple entry names declared for public entry identifier 0x3f8 in type string (missed_texts vs zzz_dual_clock_city_seoul).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2642: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2577: error: Public symbol string/zzz_dual_clock_city_seoul declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2636: error: Public symbol string/zzz_screen_captured_fail declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2574: error: Multiple entry names declared for public entry identifier 0x3f5 in type string (missed_call vs zzz_skt_missing_sim_message1).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2639: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2574: error: Public symbol string/zzz_skt_missing_sim_message1 declared here is not defined.
Click to expand...
Click to collapse
If i change the id it gives me this error:
"The string that has the error" has conflitcing public identifiers.
Click to expand...
Click to collapse
Help
You have some image "duplicates". It's probably because you have some PNGs named both something.png and something.9.png. When you compile you can say in a way that it only looks for the file name. Not the extension.
C0mpu13rFr34k said:
You have some image "duplicates". It's probably because you have some PNGs named both something.png and something.9.png. When you compile you can say in a way that it only looks for the file name. Not the extension.
Click to expand...
Click to collapse
So all I do is remove the image duplicates and it will go away??
Sent from my GT-I9000 using XDA App
webstar1 said:
So all I do is remove the image duplicates and it will go away??
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Yes remove the duplicates you are not using but make sure that if the old unmodified image was a 9.png then it's best if your new one is too. Otherwise your might have weird stretching with some images...

[RESOLVED][HELP] Compiling time error. Empty libs

Hi guys. I compiling gingerbread from sources and I have this problem.
Code:
target Executable: dhcpcd (out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/LINKED/dhcpcd)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/net.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/signals.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/configure.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/client.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/if-linux.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/lpf.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function parse_string_hwaddr:external/dhcpcd/dhcpcd.c:229: error: undefined reference to 'hwaddr_aton'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function parse_string_hwaddr:external/dhcpcd/dhcpcd.c:235: error: undefined reference to 'hwaddr_aton'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function parse_option:external/dhcpcd/dhcpcd.c:398: error: undefined reference to 'inet_cidrtoaddr'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function main:external/dhcpcd/dhcpcd.c:902: error: undefined reference to 'do_interface'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function main:external/dhcpcd/dhcpcd.c:1034: error: undefined reference to 'dhcp_run'
collect2: ld returned 1 exit status
make: *** [out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/LINKED/dhcpcd] Error 1
Can you help me? I use Ubuntu 10.04,3 x86_64 and I used a source.android.com how to for this process...
Resolved using "make clean" and reusing "make -j2 otapackage".
Thank you guys.

[DEV HELP] Problems building gps

I have some problems compiling gps with caf source.
At first I have build a rom without gps, but I want it to be functional
So if you can help, please let me know
Code:
target thumb C++: libloc_api-rpc-qc <= hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:38:35: error: commondefs_rpcgen_rpc.h: No such file or directory
In file included from out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:39,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:72: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:74: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:76: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:78: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:94: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:101: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:106: error: 'rpc_loc_position_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:109: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:110: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:129: error: 'rpc_loc_pos_technology_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:151: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:154: error: 'rpc_loc_sv_info_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:156: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:157: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:159: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:160: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:167: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:170: error: 'rpc_loc_gnss_info_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:174: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:175: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:184: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:234: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:235: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:240: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:246: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:247: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:357: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:358: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:362: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:406: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:413: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:421: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:460: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:470: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:516: error: 'rpc_uint32' does not name a type
In file included from out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:39,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:526: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:527: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:533: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:536: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:537: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:557: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:584: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:590: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:597: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:628: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:633: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:731: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:734: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:735: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:736: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:738: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:740: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:766: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:767: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:768: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:769: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:778: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:779: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:784: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:790: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:791: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:795: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:798: error: 'rpc_loc_assist_pos_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:799: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:808: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:829: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:836: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:851: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:857: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:862: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:863: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:864: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:865: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:866: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:872: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:873: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:874: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:879: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:885: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:911: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:916: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:917: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:918: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:919: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:931: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:932: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:933: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:947: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:949: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:952: error: 'rpc_loc_assist_data_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:953: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:971: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:972: error: 'rpc_loc_nmea_sentence_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:973: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:978: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:980: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:981: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:994: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:995: error: 'rpc_loc_nmea_sentence_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:996: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1000: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1002: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1009: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1034: error: 'rpc_loc_client_handle_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1035: error: 'rpc_loc_event_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1036: error: 'rpc_loc_position_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1037: error: 'rpc_loc_pos_technology_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1043: error: 'rpc_loc_sv_info_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1045: error: 'rpc_loc_gnss_info_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1092: error: 'rpc_loc_server_connection_handle' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1117: error: 'rpc_loc_assist_pos_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1136: error: 'rpc_loc_nmea_sentence_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1137: error: 'rpc_loc_assist_data_type' has not been declared
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:50: error: ISO C++ forbids declaration of 'rpc_uint32' with no type
2nd part:
Code:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:50: error: expected ';' before '*' token
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:53: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:56: error: 'rpc_loc_event_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:57: error: 'rpc_loc_event_cb_f_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:62: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:67: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:72: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:77: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:84: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:89: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:90: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:91: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:92: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:97: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:102: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:107: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:112: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:117: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:123: error: ISO C++ forbids declaration of 'rpc_uint32' with no type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:123: error: expected ';' before '*' token
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:250: error: 'rpc_loc_event_cb_f_type' has not been declared
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:42,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:49: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:50: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:51: error: 'rpc_loc_event_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:57: error: 'rpc_int32' does not name a type
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:52,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:43: error: 'rpc_loc_client_handle_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:52: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:55: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:71: error: variable or field 'loc_api_callback_process_sync_call' declared void
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:71: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:72: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:73: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:79: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:80: error: expected primary-expression before 'ioctl_type'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:81: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:81: error: 'ioctl_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:82: error: expected primary-expression before 'timeout_msec'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:83: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:83: error: 'cb_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:84: error: initializer expression list treated as compound expression
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:65: error: 'rpc_loc_client_handle_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:66: error: 'rpc_loc_event_mask_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:76: error: 'rpc_loc_client_handle_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:85: warning: 'loc_close' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:85: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:90: error: variable or field 'loc_clear' declared void
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:90: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:95: warning: 'loc_start_fix' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:95: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:100: warning: 'loc_stop_fix' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:100: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:105: warning: 'loc_ioctl' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:105: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:106: error: expected primary-expression before 'ioctl_type'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:107: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:107: error: 'ioctl_data' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:108: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:112: warning: 'loc_eng_ioctl' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:112: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:113: error: expected primary-expression before 'ioctl_type'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:114: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:114: error: 'ioctl_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:115: error: expected primary-expression before 'timeout_msec'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:116: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:116: error: 'cb_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:117: error: initializer expression list treated as compound expression
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:39: error: 'rpc_loc_client_handle_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:40: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:42: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:43: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:60: error: 'rpc_loc_client_handle_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:61: error: 'rpc_loc_event_mask_type' has not been declared
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:39:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:42: warning: 'loc_callback_log' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:42: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:43: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:44: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:47: warning: 'loc_get_event_name' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:47: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:65: error: 'rpc_loc_client_handle_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:66: error: 'rpc_loc_event_mask_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: In function 'int32 loc_event_cb(void*, int, int, const rpc_loc_event_payload_u_type*)':
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:71: error: 'loc_callback_log' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: At global scope:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:106: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: In constructor 'LocApiRpcAdapter::LocApiRpcAdapter(LocEng&)':
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:121: error: class 'LocApiRpcAdapter' does not have any field named 'client_handle'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:122: error: class 'LocApiRpcAdapter' does not have any field named 'eMask'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:122: error: 'convertMask' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: In destructor 'virtual LocApiRpcAdapter::~LocApiRpcAdapter()':
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:129: error: 'client_handle' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:130: error: 'loc_clear' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:133: error: 'client_handle' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:133: error: 'loc_close' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: At global scope:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:136: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:201: error: 'int32 LocApiRpcAdapter::locEventCB' is not a static member of 'class LocApiRpcAdapter'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:201: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:202: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:203: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:203: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:204: error: expected ',' or ';' before '{' token
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/libloc_api-rpc-qc_intermediates/src/LocApiRpcAdapter.o] Error 1
This is the craziest error i have ever seen...
Good luck buddy...
Sent from my LG-P500 using XDA
Oké, commondefs_rpcgen_rpc.h is missing...
Should be in one of the hardware/msm7k folders, but is not in any folder.
Thanks for pointing it out Samrox144, I looked over this one
_Arjen_ said:
Oké, commondefs_rpcgen_rpc.h is missing...
Should be in one of the hardware/msm7k folders, but is not in any folder.
Thanks for pointing it out Samrox144, I looked over this one
Click to expand...
Click to collapse
hope you fix it soon
Ok, trimmed down the errors (using gps folder from cm9 for now )
Next to solve:
Code:
Header: out/target/product/p500/obj/include/librpc/rpc/clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/pmap_clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: out/target/product/p500/obj/include/librpc/rpc/svc.h
Header: out/target/product/p500/obj/include/librpc/rpc/types.h
Header: out/target/product/p500/obj/include/librpc/rpc/xdr.h
target thumb C++: gps.p500 <= hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:116: warning: missing initializer for member 'GpsInterface::update_criteria'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)(const char*)' to 'int (*)(AGpsType, const char*, AGpsBearerType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp: In function 'void loc_eng_report_agps_status(AGpsType, AGpsStatusValue)':
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv4_addr'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv6_addr'
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/gps.p500_intermediates/loc_eng.o] Error 1
_Arjen_ said:
Ok, trimmed down the errors (using gps folder from cm9 for now )
Next to solve:
Code:
Header: out/target/product/p500/obj/include/librpc/rpc/clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/pmap_clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: out/target/product/p500/obj/include/librpc/rpc/svc.h
Header: out/target/product/p500/obj/include/librpc/rpc/types.h
Header: out/target/product/p500/obj/include/librpc/rpc/xdr.h
target thumb C++: gps.p500 <= hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:116: warning: missing initializer for member 'GpsInterface::update_criteria'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)(const char*)' to 'int (*)(AGpsType, const char*, AGpsBearerType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp: In function 'void loc_eng_report_agps_status(AGpsType, AGpsStatusValue)':
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv4_addr'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv6_addr'
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/gps.p500_intermediates/loc_eng.o] Error 1
Click to expand...
Click to collapse
I have done the same in my code, using cm9 gps folder...
But i dont get these errors...
Sent from my LG-P500 using XDA
Yeah,remember this ****,happened to me with OMGB camera. You just need to look into the msm7k files. Or just fgrep CM9 sources and CAF sources,see where this crap is defined and replace,or merge. Worked perfectly for me.
P.S: Today I'll have info on my laptop,it will probably sent on saturday or next week. It's been a month now can't wait to teamwork with you!
Changed some things for gps, will try later.
Dropped it now to go back to cm9
Hope you'll have your laptop back soon
_Arjen_ said:
Changed some things for gps, will try later.
Dropped it now to go back to cm9
Hope you'll have your laptop back soon
Click to expand...
Click to collapse
Man, you are a real kind heart, helping almost every developer on our forum...
Love you for that bro...
Sent from my LG-P500 using XDA
I also did a part on cm9, so why not help to get it ready for nightlies
And when you let the thing that is bothering you rest for a while, the solution comes always
Maybe this will help you....
http://forum.xda-developers.com/showthread.php?p=23696156
Sent from my LG-P500 using xda premium

[Q] Error in Recompile

Hi
I plan to Decompile Settings.apk APK Studio's I Now I want Recompile error was finished.
SDK and JDK installed the latest version of the latest version've also got the latest version of APKTool
Please help me
ROM version CM12.1
Error:
I: Using Apktool 2.0.0
W: Could not find sources
I: Building resources...
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:117: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferencePanel'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:125: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceHeaderList'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:136: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceFragmentList'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:143: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceHeaderPanel'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:144: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceHeaderList'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:145: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceFragment'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:290: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.Material.DialogPreference'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:349: error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:347: error: Error: No resource found that matches the given name: attr 'android:errorColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:346: error: Error: No resource found that matches the given name: attr 'androidreferencePanelStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:348: error: Error: No resource found that matches the given name: attr 'android:successColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:370: error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:368: error: Error: No resource found that matches the given name: attr 'android:errorColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:367: error: Error: No resource found that matches the given name: attr 'androidreferencePanelStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:369: error: Error: No resource found that matches the given name: attr 'android:successColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:414: error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:412: error: Error: No resource found that matches the given name: attr 'android:errorColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:410: error: Error: No resource found that matches the given name: attr 'androidreferenceFragmentListStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:411: error: Error: No resource found that matches the given name: attr 'androidreferenceFragmentPaddingSide'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:406: error: Error: No resource found that matches the given name: attr 'androidreferenceFragmentStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:408: error: Error: No resource found that matches the given name: attr 'androidreferenceHeaderPanelStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:409: error: Error: No resource found that matches the given name: attr 'androidreferenceListStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:407: error: Error: No resource found that matches the given name: attr 'androidreferencePanelStyle'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:413: error: Error: No resource found that matches the given name: attr 'android:successColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:456: error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:454: error: Error: No resource found that matches the given name: attr 'android:errorColor'.
C:\Users\Pouya\Desktop\Settings\res\values\styles.xml:455: error: Error: No resource found that matches the given name: attr 'android:successColor'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Pouya\AppData\Local\Temp\brut_util_Jar_6415734235692862927.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-7148efb99f, -F, C:\Users\Pouya\AppData\Local\Temp\APKTOOL6294396769437643753.tmp, -0, arsc, -I, C:\Users\Pouya\apktool\framework\1.apk, -S, C:\Users\Pouya\Desktop\Settings\res, -M, C:\Users\Pouya\Desktop\Settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
at brut.androlib.Androlib.buildResources(Androlib.java:396)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Pouya\AppData\Local\Temp\brut_util_Jar_6415734235692862927.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-7148efb99f, -F, C:\Users\Pouya\AppData\Local\Temp\APKTOOL6294396769437643753.tmp, -0, arsc, -I, C:\Users\Pouya\apktool\framework\1.apk, -S, C:\Users\Pouya\Desktop\Settings\res, -M, C:\Users\Pouya\Desktop\Settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Pouya\AppData\Local\Temp\brut_util_Jar_6415734235692862927.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-7148efb99f, -F, C:\Users\Pouya\AppData\Local\Temp\APKTOOL6294396769437643753.tmp, -0, arsc, -I, C:\Users\Pouya\apktool\framework\1.apk, -S, C:\Users\Pouya\Desktop\Settings\res, -M, C:\Users\Pouya\Desktop\Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more

[[GUIDE]] TroubleShooting Errors in Apktool while Recompiling Apks!

Yo Guys! After a long time I am writing a thread on Apktool after writing THIS thread!
So, this time I shall be dealing with finding the errors while recompiling a SYSTEM App in apktool!
Most of us know how to decompile/recompile apks, but if we get the error, we often get scared and feel lost.
So this guide shall surely be helping you with knowing what error have you exactly faced, and may be you can work on it
THIS GUIDE IS HUGE SO YOU NEED PATIENCE TO READ IT!​ So, let's start.
So, for example, I tried the 5TabUI guide by Sir @dendenXD in my JB 4.2.2 device. When I recompiled I got this error:
Code:
C:\Documents and Settings\TEMP>apktool b SystemUIGionee
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Documents and Settings\TEMP\SystemUIGionee\res\layout\gemini_status_bar_expanded.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/dendenxd').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17,
-F, C:\DOCUME~1\TEMP\LOCALS~1\Temp\APKTOOL7638241710007663088.tmp,
-0, arsc, -I, C:\Documents and Settings\TEMP\apktool\framework\1.apk,
-S, C:\Documents and Settings\TEMP\SystemUIGionee\res,
-M, C:\Documents and Settings\TEMP\SystemUIGionee\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17,
-F, C:\DOCUME~1\TEMP\LOCALS~1\Temp\APKTOOL7638241710007663088.tmp, -0, arsc,
-I, C:\Documents and Settings\TEMP\apktool\framework\1.apk,
-S, C:\Documents and Settings\TEMP\SystemUIGionee\res,
-M, C:\Documents and Settings\TEMP\SystemUIGionee\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17,
-F, C:\DOCUME~1\TEMP\LOCALS~1\Temp\APKTOOL7638241710007663088.tmp, -0, arsc,
-I, C:\Documents and Settings\TEMP\apktool\framework\1.apk,
-S, C:\Documents and Settings\TEMP\SystemUIGionee\res,
-M, C:\Documents and Settings\TEMP\SystemUIGionee\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Documents and Settings\TEMP>
Big isn't it? Well not hard though.
Let's see what apktool has got for you.
Scroll through the error.
And find this line in my error.
Code:
C:\Documents and Settings\TEMP\SystemUIGionee\res\layout\gemini_status_bar_expanded.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/dendenxd').
Notice some thing?
The line above is the only error that I got, so we now have a easy work!
When checking error,
First separate it.
Okay let me separate every thing.
This is the xml, where you have a error.
Code:
C:\Documents and Settings\TEMP\SystemUIGionee\res\layout\gemini_status_bar_expanded.xml
In the same line you will see a number, here it is:
Code:
:10:
This it the number of line in the xml where error is seen.
Next, the error!
This is the error that I am facing:
Code:
error: Error: No resource found that matches the given name (at 'id' with value '@id/dendenxd')
Yes, that is the error!
So here is the solution to solve the 'id' errors.
In my case, I will open gemini_status_bar_expanded, directly jump to line 10, and look for @id/dendenxd in the line, alright?
Now just make:
Code:
@id/dendenxd
Look like this:
Code:
@+id/dendenxd
Save the XML. Done. Now recompile the UI and voila! You are done!
Now next, we shall be dealing with a big error than the previous one.
Recently, one of my friend gave me a UI that even when recompiled directly without any changes, would give a big list of errors!
So I tried it and removed the errors!
This is what the error was:
Code:
C:\Documents and Settings\TEMP>apktool b AryanUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\DOCUME~1\TEMP\LOCALS~1\Temp\AP
KTOOL1329044921247052698.tmp, -I, C:\Documents and Settings\TEMP\apktool\framewo
rk\1.apk, -S, C:\Documents and Settings\TEMP\AryanUI\res, -M, C:\Documents and S
ettings\TEMP\AryanUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\DOCUME~1\TEMP\LOCALS~1\Temp\APKTOOL1329044921247052698.tmp, -I, C:\Documents an
d Settings\TEMP\apktool\framework\1.apk, -S, C:\Documents and Settings\TEMP\Arya
nUI\res, -M, C:\Documents and Settings\TEMP\AryanUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\DOCUME~1\TEMP\LOCALS~1\Temp\APKT
OOL1329044921247052698.tmp, -I, C:\Documents and Settings\TEMP\apktool\framework
\1.apk, -S, C:\Documents and Settings\TEMP\AryanUI\res, -M, C:\Documents and Set
tings\TEMP\AryanUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title.xml:14: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title.xml:19: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title.xml:21: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title_gemini.xml:14: error: Error: No resource found that matches the given name
(at 'style' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title_gemini.xml:19: error: Error: No resource found that matches the given name
(at 'style' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title_gemini.xml:24: error: Error: No resource found that matches the given name
(at 'style' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title_gemini.xml:26: error: Error: No resource found that matches the given name
(at 'style' with value '@style/SystemBarNotificationText').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:5
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@style/SystemBarPanelSettingsRow').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:6
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@style/SystemBarPanelSettingsIcon').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:7
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@style/SystemBarPanelSettingsContents').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
0: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
1: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsRow').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
2: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsIcon').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
3: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsContents').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
5: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
6: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsRow').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
7: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsIcon').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:1
8: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsContents').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
1: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
2: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsRow').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
3: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsIcon').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
6: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
7: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsRow').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
8: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsIcon').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:2
9: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsContents').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:3
2: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:3
3: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsRow').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:3
4: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsIcon').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:3
5: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsContents').
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_settings_view.xml:3
7: error: Error: No resource found that matches the given name (at 'style' with
value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Documents and Settings\TEMP>
Veeeery biiiiiig!!!!
Yes, now this is time consuming!
Now. what we have to do is, look for the errors.
Yes, right above I told you how to look for a error, just like that let's solve one error here.
So one of the error is:
Code:
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_
title.xml:14: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarNotificationText').
So, according to this, the error is in:
Code:
C:\Documents and Settings\TEMP\AryanUI\res\layout\system_bar_notification_panel_title.xml
In line:
Code:
:14:
And the error is:
Code:
Error: No resource found that matches the given name (at 'style' with value'@style/SystemBarNotificationText').
So, how to solve this if there is no style with such name in your UI?
SIMPLE, JUST DELETE THOSE LINES FROM THE XMLs!​Yes!
Let's do it.
I shall now open system_bar_notification_panel_title.xml, look at line 14 in it, and search for a line like:
Code:
style="@style/SystemBarNotificationText"
And simply delete that WHOLE line and save the xml.
Same goes with all other errors! If you find a error that has been titled this value not found from an xml, simply delete the line, with correct SPACING by the way!
Easy right!
Now coming to smali errors while recompiling.
Most of the smalis are usually built for apktool 1.5.2 , so I always recommend using apktool 1.5.2 for daily use.
If it is specified that the mod needs apktool 2.0.0, then you are free to use apktool 2.0.0!
That's it for today! Hope this helped you!
Credits:
@iBotPeaches[For APKTOOL!]
@out386 [Ritayan Chakraborty: For helping me out in troubleshooting errors and solve the 'id' errors]
@arun.negi004[For the tip of deleting the required lines] @Aniruddha_Pathak[ME]
And YOU!
HIT THANKS IF YOU LIKED MY WORKS!​
Goodwork ill try this 1 hope it will work :good
kenzukie said:
Goodwork ill try this 1 hope it will work :good
Click to expand...
Click to collapse
Do tell me how it worked for you And don't forget to hit thanks if it worked!

Categories

Resources