[Q] Can someone provide a Stock Browser for Razr M? - Droid RAZR M Q&A, Help & Troubleshooting

Hi,
so i bought the Razr M since it's finally a well spec'ed Android phone that's not huge. I only have one (well maybe two) big issue(s) with it.
Since Moto decided to make Chrome the sole Browser i can't find any way to get client certificates to work.
I found somewhere on the Interwebs the ICS stock browser (Browser.apk) but that one wouldn't install:
Code:
$ adb install Browser.apk
4622 KB/s (2298320 bytes in 0.485s)
pkg: /data/local/tmp/Browser.apk
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
In some forum i found the advise to change the "android:authorities" fields in AndroidManifest.xml. So i went ahead decompiled the apk and changed those fields. Only now i can't get the apk file to build again:
Code:
$ apktool b Browser
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/wolf/razr_m/Browser/res/layout/bookmark_grid_row.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_group_view.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_thumbnail.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarks.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout-sw600dp/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshots.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/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, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
At this point being not a developer i'm getting a little lost.
Would someone be able to help me out with this? What do i need to do to build this apk or maybe someone would be able to build a stock browser package, that is installable on the Razr M?
My second approach was to install Firefox so i could work my certificate into its keystore files but that fails because on the Razr M it seems impossible to move apps to the sd card -- any hopes that this might get "fixed" with the upcomimg jelly bean?
Help would be much appreciated,
-wolf

tequela said:
Hi,
so i bought the Razr M since it's finally a well spec'ed Android phone that's not huge. I only have one (well maybe two) big issue(s) with it.
Since Moto decided to make Chrome the sole Browser i can't find any way to get client certificates to work.
I found somewhere on the Interwebs the ICS stock browser (Browser.apk) but that one wouldn't install:
Code:
$ adb install Browser.apk
4622 KB/s (2298320 bytes in 0.485s)
pkg: /data/local/tmp/Browser.apk
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
In some forum i found the advise to change the "android:authorities" fields in AndroidManifest.xml. So i went ahead decompiled the apk and changed those fields. Only now i can't get the apk file to build again:
Code:
$ apktool b Browser
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/wolf/razr_m/Browser/res/layout/bookmark_grid_row.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_group_view.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_thumbnail.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarks.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout-sw600dp/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshots.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/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, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
At this point being not a developer i'm getting a little lost.
Would someone be able to help me out with this? What do i need to do to build this apk or maybe someone would be able to build a stock browser package, that is installable on the Razr M?
My second approach was to install Firefox so i could work my certificate into its keystore files but that fails because on the Razr M it seems impossible to move apps to the sd card -- any hopes that this might get "fixed" with the upcomimg jelly bean?
Help would be much appreciated,
-wolf
Click to expand...
Click to collapse
Try ics browser+ on the market. It's basically stock with a few tweaks. I like it.
-Sent from my TMOUS HTC One S.-
-Stock/rooted 2.21 + 1.06s baseband-
-Hboot 1.06-

phositadc said:
Try ics browser+ on the market. It's basically stock with a few tweaks. I like it.
-Sent from my TMOUS HTC One S.-
-Stock/rooted 2.21 + 1.06s baseband-
-Hboot 1.06-
Click to expand...
Click to collapse
Thanks for the tip.
Unfortunately ics browser+ doesn't work on the phone. It asks to access my SID and LSID on initial launch and then crashes
Very same thing happened with "quick ics browser".

I see the issue as well. A Quick Browser and Browser+ crashed on mine too. However it's not the only RAZR M caused the problem. My wife's Galaxy Nexus got a problem with them too. I guess it might needed some update for a newer phone? It work fine on my DX with CM9 rom. Anyway, I would suggest you to try and use Dolphin Browser. Work like a charm on mine and my wife's GNex.
Sent from my "XT907"aka RAZRm

Hell-Intimidator said:
I would suggest you to try and use Dolphin Browser. Work like a charm on mine and my wife's GNex.
Click to expand...
Click to collapse
Unfortunately Dolphin browser doesn't support client certificates either. The only browser(s) i'm aware of supporting this is the ICS & JB stock vanilla Android browser(s)....

tequela said:
Thanks for the tip.
Unfortunately ics browser+ doesn't work on the phone. It asks to access my SID and LSID on initial launch and then crashes
Very same thing happened with "quick ics browser".
Click to expand...
Click to collapse
That sucks. It works fine on my One S running ics 4.0.4. I saw another thread saying that the M crashes on the USA today app. Seems like the M has some issues with random apps.
-Sent from my TMOUS HTC One S.-
-Stock/rooted 2.21 + 1.06s baseband-
-Hboot 1.06-

tequela said:
Unfortunately Dolphin browser doesn't support client certificates either. The only browser(s) i'm aware of supporting this is the ICS & JB stock vanilla Android browser(s)....
Click to expand...
Click to collapse
Chrome is the stock jellybean browser that is why it is stock on here because we will be getting updated to jellybean soon
Sent from my XT907 using xda app-developers app

melo563 said:
Chrome is the stock jellybean browser that is why it is stock on here because we will be getting updated to jellybean soon
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
That's not quite true. I know it'd seem like it would be, but there's still a stock Browser app included with Jelly Bean. It's present on the Nexus 7. In fact, one of the things Motorola was saying about the Razr M is that it's the first phone to ship with Chrome as the default browser.

I don't mind having Chrome as the default browser but it's annoying that they don't also leave the stock android browser on there, in case you want to use that.

sleepwalkers said:
That's not quite true. I know it'd seem like it would be, but there's still a stock Browser app included with Jelly Bean. It's present on the Nexus 7. In fact, one of the things Motorola was saying about the Razr M is that it's the first phone to ship with Chrome as the default browser.
Click to expand...
Click to collapse
I heard that chrome was the stock browser but I don't own one so I won't argue.
Sent from my XT907 using xda app-developers app

well i found a way to use my client cert...
there's a plugin for firefox called "Cert Manager" but it only works with FF 13... so i downloaded fennec-13.0b1.en-US.android-arm.apk from the mozilla ftp and installed it on the phone... with the Cert MAnager plugin i was able to load my client cert from a PKCS12 file and can now access my company's intranet from the phone again.
This is not really a nice solution but sufficient for me, since i only need that intranet access every once in a while.
Still hoping that Chrome will add client cert support soon, or that someone will be able to provide a Stock Browser for the M that works...
Maybe with JB it all will get better?
Edit: the firefox solution is buggy... only works right after importing the client certificate. After quitting and reopening the password promt to unlock the "software security device" freezes the app... only thing to do then is to delete firefox's data in preferences->apps and reimport the certificate... quite the hassle
@Motorola: please include the Android Stock Browser again with the upcoming Jelly Bean update!

I'm having this same issue on the Droid Razr HD Maxxx. i tried the firefox solution on my old Droid X and it wasn't an option since i constantly have to refresh the site for work purposes. i found a browser called Sandrob that worked nicely but he stopped developing it after gingerbread. if anybody can find a solution for this pls.

Should just be as easy as grabbing a stock browser.apk for ICS or JB depending on what you're running, placing it in /system/app, changing the permissions and rebooting.

spunker88 said:
Should just be as easy as grabbing a stock browser.apk for ICS or JB depending on what you're running, placing it in /system/app, changing the permissions and rebooting.
Click to expand...
Click to collapse
i couldn't find a stock browser.apk anywhere that would install on the phone. i may be mistaken but i believe the browser apk is device specific. my phone is running ICS for now if you think you can find one would be a great help.

I doubt it will install but if you place it in /system/app and change permissions it should work. Of course you'll need root. Here is a Browser.apk from CM9.
Tutorial for installing Browser on the Nexus 7, should be the same except use an ICS browser, I've attached one:
http://www.theandroidsoul.com/nexus-7-hack-install-aosp-android-browser-n7/

It launches and tries to authenticate to google before FC, subsequent launches FC immediately. I sure would like a working version. Some sites just don't work correctly with Chrome, ie: m.yahoo.com
Chrome does not cache your position on the main page when returning from a news article. It always reverts to page "1"
spunker88 said:
I doubt it will install but if you place it in /system/app and change permissions it should work. Of course you'll need root. Here is a Browser.apk from CM9.
Tutorial for installing Browser on the Nexus 7, should be the same except use an ICS browser, I've attached one:
http://www.theandroidsoul.com/nexus-7-hack-install-aosp-android-browser-n7/
Click to expand...
Click to collapse

Figured out the issue after doing this on my rooted nexus 7...
Renaming the file system/app/BrowserProviderProxy.apk to something.apk does not work, just change the extension to .apx and you are home free. This was on my unlocked rooted dev version m.

Can't thank you enough for tip re: .apx
It was the ONLY way to get the stock ICS browser to work in my Razr Maxx HD. Installed the .apk from further up the thread as per instructions, applied your fix, and it works like a champ, no FC. Nice.

+1
Works great for me too!

.
Sent from my XT907 using xda premium

Related

"ERROR No resource identifier found for attribute 'onClick' in package 'android'"

"ERROR No resource identifier found for attribute 'onClick' in package 'android'"
I am following this guide: vogella.de/articles/AndroidNetworking/article.htmlbut I can't get it to work. I get an error saying:
"ERROR No resource identifier found for attribute 'onClick' in package 'android'" in the main.xml file. I guess that it doesn't recognize the attribute onClick. Can anyone help me?
i usually use onclicklistener to activate this feature in java code instead of onclick handle in main.xml...
onClick attribute is not defined for API 3 and less. (Android <= 1.5)
It works since API 4 (Android 1.6)
Proguard will rename the onClick method and break it unless you specifically tell it not to, or you can just turn off proguard which is easier.

compile error - CarHomeGoogle

Hi, when i decompile and then compile CarHomeGoogle 2.2.1 without any changes i get error
Code:
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout\carhome.xml:5: error: No resource identifier found for attribute 'defaultScreen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land\delete_zone.xml:5: error: No resource identifier found for attribute 'direction' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port\delete_zone.xml:5: error: No resource identifier found for attribute 'direction' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'hintToken' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'uri' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'removable' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'className' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'packageName' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'className' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'removable' in package 'com.android.carhome'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, E:\Users\sami\AppData\Local\Temp\APKTOOL8020954777841076030.tmp, -I, C:\Users\sami\apktool\framework\1.apk, -S, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res, -M, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.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, E:\Users\sami\AppData\Local\Temp\APKTOOL8020954777841076030.tmp, -I, C:\Users\sami\apktool\framework\1.apk, -S, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res, -M, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
anyone can help me fix that please?
Anyon? please...

Compiling apk problem (apktool + SE apps)

OK so I've made it this far with akila87's help but now I'm stuck building my decompiled apk. I'm trying to bring back the old 2.1 SE calculator but i don't know if I coded my xml files if they are good because they are not being recompiled or built again. heres the problem...
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Home>cd C:\apktool-install-windows-2.2_r01-3
C:\apktool-install-windows-2.2_r01-3>apktool b Calculator
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
(skipping index file 'C:\apktool-install-windows-2.2_r01-3\Calculator\res\dr
awable-hdpi\Thumbs.db')
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:5: error:
Error: No resource found that matches the given name: attr 'android:background'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:6: error:
Error: No resource found that matches the given name: attr 'android:focusable'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:8: error:
Error: No resource found that matches the given name: attr 'android:layout_heigh
t'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:9: error:
Error: No resource found that matches the given name: attr 'android:layout_margi
n'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:10: error:
Error: No resource found that matches the given name: attr 'android:layout_marg
inLeft'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:11: error:
Error: No resource found that matches the given name: attr 'android:layout_weig
ht'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:7: error:
Error: No resource found that matches the given name: attr 'android:layout_width
'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:4: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:14: error:
Error: No resource found that matches the given name: attr 'android:background'
.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:17: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:22: error:
Error: No resource found that matches the given name: attr 'android:gravity'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:26: error:
Error: No resource found that matches the given name: attr 'android:layout_heig
ht'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:25: error:
Error: No resource found that matches the given name: attr 'android:layout_widt
h'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:27: error:
Error: No resource found that matches the given name: attr 'android:maxLines'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:23: error:
Error: No resource found that matches the given name: attr 'android:padding'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:28: error:
Error: No resource found that matches the given name: attr 'android:scrollHoriz
ontally'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:24: error:
Error: No resource found that matches the given name: attr 'android:scrollbars'
.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:21: error:
Error: No resource found that matches the given name: attr 'android:textColor'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:20: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:30: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:31: error:
Error: No resource found that matches the given name: attr 'android:windowBackg
round'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKT
OOL2546885007159582906.tmp, -S, C:\apktool-install-windows-2.2_r01-3\Calculator\
res, -M, C:\apktool-install-windows-2.2_r01-3\Calculator\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:\D
OCUME~1\Home\LOCALS~1\Temp\APKTOOL2546885007159582906.tmp, -S, C:\apktool-instal
l-windows-2.2_r01-3\Calculator\res, -M, C:\apktool-install-windows-2.2_r01-3\Cal
culator\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\apktool-install-windows-2.2_r01-3>_
When you do jar files you have to add the sources before compile or decompile... so maybe that apk needs the sources by doing apktool if (source name) in terminal... maybe if the original source and the 2.2 or 2.3 source?.... hope this helps
Sent from my X10i using XDA App
Exactly. You need to inc source jar or Java classes. Sorry for obvious question (log posted) could you tell me what your build setup is please?
Edit: create an eclipse project and import.
rdannar said:
When you do jar files you have to add the sources before compile or decompile... so maybe that apk needs the sources by doing apktool if (source name) in terminal... maybe if the original source and the 2.2 or 2.3 source?.... hope this helps
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Sent from my X10a using XDA Premium App
MrHassell said:
Exactly. You need to inc source jar or Java classes. Sorry for obvious question (log posted) could you tell me what your build setup is please?
Edit: create an eclipse project and import.
Sent from my X10a using XDA Premium App
Click to expand...
Click to collapse
I'm on CM6 6.1.3 (v54)... I'm trying to edit the stock SE calculator.apk :/ and it decompilied no problem. If I put apktool d calculator (folder) ill get the calculator.out which has the apktool.yml which I copied and pasted into clthe decompiled calculator folder
And where do I get these sources?
Sent from a pyramid in Canadada
your problem is that you didn't imported a framework that works with the apk(in your case the 2.1's framework)
you will find help doing it if you look at the bottom of apktool's help screen
you can import multiple frameworks, so I suggest you to import 2.2's, too
resources are loaded from framework-res.apk
PS.: sometimes recompiling fails if AndroidManifest.xml contains some random crappy stuff. if compiling still fails post that xml and then I could post a corrected one. and please delete any kind of rubbish from the dirs... *caugh* thumbs.db *caugh*
moved to proper forum
oh, mcfly. procedure, procedure. soapbox time?
first verify that apktool is setup and working correctly for you. lets assume that it is;
these are simple instructions for tagging 1 single framework for use in working in 1 rom. additional options are required if working with multiple romsets;
1
tag the rom framework for use in decompiling and recompiling apks that came with the sony rom;
Code:
framework if framework-res.apk
if you were in an unextracted rom folder;
Code:
/system/framework
2
decompile apk you wish to work with
Code:
apktool d Calculator.apk
your apk should decompile without error
3
NOW we verify your apktool setup. recompile the Calculator.apk, unmodified. casing matters and you should specify the output file.
Code:
apktool b Calculator ./built/Calculator.apk
DO YOU HAVE ERRORS AT THIS POINT? if you do, you don't have apktool setup right.
if you don't your xml modifications are either too excessive (they don't jive w/ the jar), or you're improperly making xml modifications. it happens. the changes you make, as the others said, have to jive w/ the jar that accompanies it. my past experience has been that modifications to the /res/values folder that you're making tends to break apk's if its more than just manipulation to a few simple digital values for colors or margins, and even then stability is iffy. i find its better to creatively manipulate the images by overlaying the images where i want them placed in a graphic editor, and then experimenting with creating them to display where i want on the screen. i do this in combination w screenshots from the calculator that i want to display. not a procedure easily explained..
..i was able to turn the current se21 calculator into a htc hybrid by replacing the provided background w/ a black background that has a grey bar across the output field at the top of the screen. i simply put the grey bar on the background image. no xml manipulation required. looks nice compared to the funky blue one it came w.
zip up what you have and send it my way and i can tell you if what you're doing is doable w/ apktool.
i can be of no help to you with eclipse and use of source in your venture. source coding is a little above my current list of working skills beyond simple stock source compiles w the make system for apps and roms.
i have the same error when compiling the com.htc.resources.apk
how i add the sources ?
thanks

[Q] No Resource Identifier Found errors during CM7 build

Hello, I'm trying to build CM7 from source, and I managed to get through most of it until it starts to compile the Apps in "packages/apps."
The errors I'm getting are:
Code:
target R.java/Manifest.java: ADWLauncher (out/target/common/obj/APPS/ADWLauncher_intermediates/src/R.stamp)
Install: out/host/linux-x86/bin/dx
target R.java/Manifest.java: AccountAndSyncSettings (out/target/common/obj/APPS/AccountAndSyncSettings_intermediates/src/R.stamp)
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'minHeight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'paddingLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'paddingRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_marginTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'singleLine' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'textAppearance' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_below' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_alignLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'textAppearance' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'maxLines' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: Error: No resource found that matches the given name (at 'minHeight' with value '?android:attr/listPreferredItemHeight').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: Error: No resource found that matches the given name (at 'paddingRight' with value '?android:attr/scrollbarSize').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/title').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceMedium').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/summary').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'layout_below' with value '@android:id/title').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'layout_alignLeft' with value '@android:id/title').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceSmall').
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:20: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:20: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'drawSelectorOnTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'scrollbarAlwaysDrawVerticalTrack' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'background' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:48: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:48: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:48: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_marginTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:60: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:60: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:60: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'background' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'visibility' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_margin' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_alignParentRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'drawableRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'drawablePadding' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: Error: No resource found that matches the given name (at 'background' with value '@android:drawable/bottom_bar').
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: Error: No resource found that matches the given name (at 'background' with value '@android:drawable/bottom_bar').
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:20: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:20: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'drawSelectorOnTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'scrollbarAlwaysDrawVerticalTrack' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:20: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:20: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'drawSelectorOnTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'scrollbarAlwaysDrawVerticalTrack' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'background' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:44: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:44: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:44: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_marginTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:56: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:56: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:56: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: Error: No resource found that matches the given name (at 'background' with value '@android:drawable/bottom_bar').
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:19: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:19: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:19: error: No resource identifier found for attribute 'gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'src' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'src' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'src' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_gravity' in package 'android'
...........
Sorry about the long log, just to get my point across. So where am I going wrong? Everything went perfectly fine until this step. I don't even understand what the first error means:
Code:
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Is this causing the rest of the errors? I've tried Googling the hell out of it, but I'm still stuck.
What is going on?

[Windows][UTILITY][TOOL] APK Multi-Tool

I am currently working on a major update to the apk manager application as well and changing the name to APK Multi-Tool with some new added features and also to fix some issues with some code errors.
I am also changing a lot of the features as well since a lot of the code has been outdated for a while.
I have updated all the files and modified Apk manager's Scripts to fix many user reported bugs from Daneshm90 apk manager which he had written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Daneshm90 the Original Writer of APK Manager
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Features:
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Batch optimize apk (Zipalign,optipng,or both)
- Batch Ogg optimization
- Batch install apk from script (option 19)
- Batch Theme Image Transfer TOOL
- Batch Theme optipng TOOL
- Batch Theme Zipalign APK TOOL
- Compression level selector (monitor status above menu)
- Error detection. Checks if error occurred anytime u perform a task, and reports it
- Extract, Zip apk's.
- Incorporates brut.all's apktool
- Improved syntax of questions/answers
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- Optimize pngs (ignores .9.pngs)
- Pull apk from phone into modding environment.
- Push to specific location on phone
- Quick sign an apk (Batch mode supported)
- Read log (Option 24)
- Sign apks
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Zipalign apks
- Much Much More
Instructions:
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script
Requirements:
Java 1.6
Android SDK
FAQ
Resulting apk file is much smaller than original! Is there something missing?
First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.
There is no META-INF dir in resulting apk. Is this ok?
Yes. META-INF contains apk signatures mostly and after modifying apk in no longer signed, so there are no signatures in it. You have to sign resulting apk and then META-INF dir will be created.
What do you call "magic apks"?
Sometimes there are some apks which (for my current knowledge) are invalid, broken, theoretically they shouldn't exist. There may be many reasons of their existence: my lack of understanding of Android resources; some non-public, maybe future SDK tools or custom modifications of these; manual hacking of binaries, etc. Usually I can't do anything about it, but you could at least try to replace broken parts by something valid. Actually it's quite likely that they aren't even used, because if they would, then application would crash.
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
TO DO LIST
Add new feature to Randomly Generate a new Key File for signing the apk files after modifying and recompiling of the apk files this will also allow of uploading to the android market as this added feature will allow you to sign apk files that you may of compiled without signing beforehand.
Modify the Signapk script to be compatible with the Randomly Generation feature in the works
and a few other added features are in the works as I am redesigning the application and rewriting a lot of the code to fix issues as well as some of the new features have broken parts as some features have been moved and broken some command line prompts.
Installing APK Multi-Tool Itself
Run the installer and make sure it is pointed to the root of hard drive
Example
C:\APKMultiTools\
Downloads:
http://apk-multi-tool.github.io/APK-Multi-Tool/ for all downloads and updates
Please check back daily or weekly as this project is under active Development and I am releasing Alpha releases on the website for Testing and bug reports.
Latest test build http://hugefiles.net/79bvb14x2f8p
Mailing List:
Google Group Email mailing List
If you like this and wish to wish to send cash my way Donations Are Welcome
Optipng'ing is not working for me. After extraction, Optipng will be run and will do nothing because it says it cannot find the folder.
CUBENSIS said:
Optipng'ing is not working for me. After extraction, Optipng will be run and will do nothing because it says it cannot find the folder.
Click to expand...
Click to collapse
Which optiping are you using the batch theme opt or the original method
Sent from my DROID using xda premium
Option 18, batch optimize.
Sent from my Droid Incredible HD using XDA App
Have you tried using it on the apk itself instead of extracting
Sent from my DROID using xda premium
That's what I did. What i meant to say is I choose option 18, the apk gets extracted, optipng says it can't find the files/directory that was fed to it, and the apk is re-zipped w/o any .png changes. See attached screen grab.
Try placing the file in the transfered folder and running opt 16
Sent from my DROID using xda premium
Seems to be a very helpfull tool.
But GO**AMN, on the website, change the color of the titles from red to something else. Hurts my eyes reading haha.
raziel23x said:
Try placing the file in the transfered folder and running opt 16
Click to expand...
Click to collapse
i had to edit the script because it was calling for roptipng.exe. after chaging it oo optipng.exe, here's the result
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
A subdirectory or file C:\Apk_Multi-Tool\optimized already exists.
A subdirectory or file C:\Apk_Multi-Tool\untouched already exists.
Could Not Find C:\Apk_Multi-Tool\0
Click to expand...
Click to collapse
Regarding option 18, after learning a bit about batch programming and looking through the file...it seems the problem is quite simple. Optipng does not support ** for recursion, and as far as I can tell ** means nothing @ Windows command line. Therefore it will fail since the command in the batch file is
Code:
optipng -o99 "apkopt_temp_%~n1\**\*.png"
Thank you
thank you for continuing updates of this application
Lol thank I completly forgotten to update the script
Sent from my DROID using xda premium
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\JOSHDE~1\AppData\Local\Tem
p\APKTOOL8354808961139312827.tmp, -I, C:\Users\Josh Desktop\apktool\framework\1.
apk, -I, C:\Users\Josh Desktop\apktool\framework\2.apk, -S, C:\Apk_Multi-Tool\ot
her\..\projects\Mms.apk\res, -M, C:\Apk_Multi-Tool\other\..\projects\Mms.apk\And
roidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\JOSHDE~1\AppData\Local\Temp\APKTOOL8354808961139312827.tmp, -I, C:\Users\Jo
sh Desktop\apktool\framework\1.apk, -I, C:\Users\Josh Desktop\apktool\framework\
2.apk, -S, C:\Apk_Multi-Tool\other\..\projects\Mms.apk\res, -M, C:\Apk_Multi-Too
l\other\..\projects\Mms.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
The system cannot find the file specified.
Press any key to continue . . .
This is the error i get when trying to recompile Mms.apk from a sense rom, yes i am using the com.htc.resources.apk with it. Can anyone help?
Why does the Batch Theme Image Transfer TOOL option not do anything?
I enter 15, hit enter and some text blinks on the screen and thats it...?
MarylandCookie said:
Why does the Batch Theme Image Transfer TOOL option not do anything?
I enter 15, hit enter and some text blinks on the screen and thats it...?
Click to expand...
Click to collapse
Did you read the Docs included?
Thanks for the new version, it's pure awesome !!!
If anyone is interested in giving a feature request feel free to post them asi want this tool to be a all in one needed application as well as if you want. To see some features have a stand alone veriarent(sp)
Sent from my DROID using xda premium
I went to Java 1.6 and now I am getting a log file this is the current error. Anyone have any ideas?
Code:
--------------------------------------------------------------------------
|Mon 10/31/2011 -- 13:03:26.95|
--------------------------------------------------------------------------
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
Could Not Find C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedfoursquare.apk
Could Not Find C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedfoursquare.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Will\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
ERROR: 9-patch image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_background.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas).
Found at pixel #128 along top edge.
ERROR: Failure processing PNG image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_background.9.png
ERROR: 9-patch image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_cell.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas).
Found at pixel #57 along top edge.
ERROR: Failure processing PNG image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_cell.9.png
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_activity.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_activity.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dark_grey_toolbar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_header.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_invite.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_button_invite').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:10: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_source_phone').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:11: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_source_facebook').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:12: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_source_twitter').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:16: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_button_request').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_option_addressbook_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg_top_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:12: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg_arrow_noside').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_search_right_border').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_search_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_search_activity.xml:6: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:6: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_share_option_facebook').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_option_search_right_border').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg_bottom').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:18: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dark_grey_toolbar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_tip_activity.xml:14: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/addphoto_checkin').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:14: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@drawable/arrow_light_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:16: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@drawable/arrow_light_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:18: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:23: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/login_button_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity_address.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity_address.xml:22: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/login_button_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_activity.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/header_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_activity.xml:6: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_header_button_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_activity.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/explore_icon_mixer').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_overlay_title.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/map_callout_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_details_activity.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_details_activity.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/badge_detail_loading').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_details_activity.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/badge_details_activity_divider').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_grid_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_set_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_sets_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_sets_activity.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_sets_list_dialog.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dlg_transparent_black_rounded').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/category_none').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_list_item.xml:6: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/arrow_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_page.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/border_round_rect_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_page.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/category_none').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_activity.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/new_places_found_btn_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_activity.xml:10: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/new_places_found_refresh').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/call_empty_comment').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_detail_toolbar_btn_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:14: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_add_photo').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:17: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_detail_toolbar_btn_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:18: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/btn_add_comment').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_list_item.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_list_item.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photocomment_checkin_button_single_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photos_inactive').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/comments_inactive').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:11: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/addphoto_checkin').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:14: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_section_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:16: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/yes_toggle_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:17: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/no_toggle_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:19: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_section_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:21: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/yes_toggle_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:22: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/no_toggle_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_section_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:26: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/modal_fb_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:27: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/modal_twitter_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_message_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_yellow').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:18: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/curve_arrow_green').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:20: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/calendar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:30: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_score_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:33: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:42: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_orange').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:46: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:50: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tip_icon_user_orange').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:58: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dark_grey_toolbar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_badge_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/checkin_result_badge').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_badge_item.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_score_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_points_icon').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_special_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/special_lock_locked').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_special_item.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/arrow_light_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_simple_list_item.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_simple_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\edu_new_checkin_button_dialog.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/new_checkin_button_edu_dialog').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\empty_loading.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_header_search.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_header_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_header_search.xml:4: error: Error: No resource found that matches the given name (at 'drawableLeft' with value '@drawable/explore_search_icon').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_keyword_item.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_keyword_button').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_keywords_scroller.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_header_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_header_blue_left').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:6: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_header_blue_right').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:9: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tip_list_item_corner_todo').
and it goes on and on and on like this
From that log there seems to be a issue with the 9.png files.
From what I see there is perhaps a error accuring with the basalmi blocks when decompiling I will look into what may be causing this and perhaps I may have a fix once I finish patching up my custom version of apktool.jar
Sent from my DROID using xda premium
raziel23x said:
From that log there seems to be a issue with the 9.png files.
From what I see there is perhaps a error accuring with the basalmi blocks when decompiling I will look into what may be causing this and perhaps I may have a fix once I finish patching up my custom version of apktool.jar
Sent from my DROID using xda premium
Click to expand...
Click to collapse
Maybe thisll help. It is step by step of what I did and/or didnt do. Maybe I am missing a step or doing something that I am not supposed to be doing. Thanks again for your help.
Error Messages

Categories

Resources