General :: Theme Chooser APK Recompile Error
Jun 23, 2012
I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.
Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)
Once again I'n only getting these errors Recompiling TC Themes.
Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.
(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.
[code]...
View 2 Replies
Oct 25, 2012
I recently built a nightly of cm7 with theme chooser included. It boots perfectly fine than when i go to see the apps everything shows except theme chooser. I also have theme manager. Than i tried installing it from a cm7 rom from a different device and it failed. Than i deleted it in system and replaced it and rebooted and it still didnt show.
View 1 Replies
View Related
Sep 14, 2012
Do you know whether it is put into AOKP rom theme chooser? I mean this. AOKP for my phone has not theme chooser and I would like to add to the rom. Is it (for this) some app or something?
View 1 Replies
View Related
Jan 1, 2012
I am using adw launcher ex and theme chooser to customize my phones gui.
I have encountered a small problem with icons, i dont want to use the themes icons i want to use the default icons of the phone is this possible i have searched the menu and options but found nothing?
View 5 Replies
View Related
Aug 21, 2012
is there anyway to trick cm9/aokp theme chooser to think that my device is hdpi, instead of mdpi, without lcd density changer hack most HDPI themes, if not all(with the exception to lucid) work on mdpi devices yet theme chooser doesn't allow me and will give me a compiler error.
if the above does not work. is there anything i could change in the theme apk, whether its an xml, or image or anything I could change to make theme chooser think that i am using an MDPI theme, even if the theme includes hdpi images? THE "APPLY HDPI THEMES TO MDPI PAGE, LCD DENSITY CHOOSER PAGE.
View 8 Replies
View Related
May 17, 2012
I have a galaxy player 5 and one developer made a cm9 build. So i want to add cm9 theme chooser to this build cuz the developer is busy porting kernel 3 to our rom.
View 1 Replies
View Related
May 1, 2009
I'm trying to recompile AnimationDrawable class ( source code tooked from android source ) but I get some errors...
It says "The constructor DrawableContainer.DrawableContainerState (AnimationDrawable.AnimationState, AnimationDrawable) is undefined". Any ideas how to fix it?
View 3 Replies
View Related
May 16, 2013
I decompile an apk (an ordinary TSF Shell theme) without any problem but when it comes to recompiling. Its always the same error. Trying this for a week with apktool, tickle my android and with apk multi tool. When I send my decompiled files to my friends they can compile it but on my computer at home or at work I get the same error forever. I have Windows 7 Ultimate 64 bit installed. You can see installed java version on the code.
Code:
|16.05.2013 -- 23:22:52,12|
--------------------------------------------------------------------------
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
[code]......
View 1 Replies
View Related
Mar 25, 2014
the errors in recompiling/signing CM themes to use in HK theme manager (Xposed Module).
View 1 Replies
View Related
Aug 18, 2013
The title says all, the decompiling is succesfull, but i cant recompile any apk, this is the log when i try to recompile holo launcher. (using the last apktool)
and the same happen even if i dont edit nothing on the apk and try to recompile.
I have "if framework-res and systemui" resources from my phone
View 1 Replies
View Related
Aug 8, 2012
I've been able to successfully disassemble the Google Now apk for ICS devices and made a change to the sounds it makes for "open" and "success". However, xdaAutoTool displays a lot of errors when I try to recompile it.
View 1 Replies
View Related
Jun 15, 2012
Any TUT in how to recompile an existing kernel so i can make some changes and then recompile it?
View 5 Replies
View Related
Mar 3, 2012
Everywhere i look redirects to apkmanager.. Which is not working for me.. Any manual way to recompile an apk.. Or an alternative to apk manager.
SPH-D710
View 6 Replies
View Related
Dec 29, 2013
I cant recompile movies,stock launcher apk. If I just decompile and again recompile without any changes it gives me error.
C1904
View 5 Replies
View Related
Jul 8, 2012
I want recompile the kernel of my lg e400 for add ext2-3-4 support.How i must proceed? I'm able to compiling with success and i have source from lg, sdk installed etc etc.
View 3 Replies
View Related
Aug 20, 2013
I want to add some function to my system music player app. So I decompiled the classes.dex with dex2jar, copied the source code and add the code for my functions. Now my problem is that I do not know how to recompile the app. I can't compile it with Eclipse because it uses some system namespaces (in Eclipse it is an error so I can't compile) How can I recompile the app? I only have the *.java files.
Or can't I use the java files and have to edit the smali files? Of course that's much harder...
View 6 Replies
View Related
May 18, 2013
I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?
View 2 Replies
View Related
Dec 21, 2013
how to Decompile/Recompile System apps from MTK phones? I'm using apktool 1.5.2.I can decompile like "SystemUI.apk"But I can't recompile. Even I didn't edit anything yet.Specially those who have MTK phones.
View 3 Replies
View Related
May 17, 2012
I don't want to use APK Multi-Tools or APK_Manager or whatever. I want to know exactly what those tools are doing in order to recompile the system apk while keeping the original signature.
What I initially did...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
But obviously that's unsigned. I need to sign it, but I want to use the original signature, which I'm guessing is the META-INF stuff, right? So I attempted this...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
7za x -o"%~dpnx1-signature" "%~dpnx1.apk" META-INF -r
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
7za a -tzip "%~dpnx1.apk" "%~dpnx1-signature/*" -mx9
You'll notice I now use 7-Zip to pull out META-INF from the original APK and then insert it back into the recompiled one afterwards.
The only other thing I can think of would be to go with my first method, but then use 7-zip to pull out the compiled files from the unsigned apk and insert them into the signed apk. I haven't tried that yet, but it will be the next one I go with. Every time this fails, though, I have to do a nandroid restore.
For those interested, after running "apktool b" (to build/compile), ignore the output zip. Instead go into the source directory and there is now a build directory. In that is an apk directory. Simply add your changed files to the original untouched APK (if you modified any XML files, then replace resources.arsc; if you added anything to smali, then replace classes.dex; if you added any XML files, then you need to include those as well; for me, i copied resources.arsc, classes.dex, and one new XML file). I used the following command:
Code:
zip -9 ..SystemUI.apk reslayoutstatus_bar.xml classes.dex resources.arsc
I use zip instead of 7za for cosmetic reasons. You can also use "7za a -tzip etc..." if you want.
View 1 Replies
View Related
Sep 10, 2010
I'm trying to create a basic AlertDialog using an activity with a theme of Theme.Dialog.What I want is for there to be a horizontal bar between the title and the message. However, the bar is not being resized correctly. Rather than being the width of the activity, the bar is the width of the message text. This means that if the activity is being expanded by the message, then the bar will fill the whole activity, so it looks correct. However, if the message width is less than the activity width, the bar only displays above the part of the activity with the text. I've tried every single combination of "fill_parent" and "wrap_content" that I can think of, and none of those work.I've also tried using RelativeLayout and placing the bar above the message text, but that also doesn't work. If I use the RelativeLayout approach and set the bar to fill_parent, it causes the activity to expand to fill the whole screen width, which is also undesirable. Ideally, I want the text placed, the activity width computed, and the bar resized to that width (without affecting it). Is there some way to flag a view to fill the parent view but not to affect its size?
View 1 Replies
View Related
Jul 15, 2009
I use themes in my apps, which generally just extend android:Theme and then set a bunch of styles. I use dialogs made from layouts, but since I set the theme for the application, they have inherited all of the regular styles and no longer carry a border, etc. My question is: How do I say, "I want everything to use this theme which extends Theme, except dialogs, which should use this other theme that extends Theme.Dialog"? It seems like that's how things work by default but when you set the theme to your own, you lose the dialog theme!
View 3 Replies
View Related
Mar 6, 2009
I've extended Theme.Dialog to use a different color as per the sample in the ApiDemos project but for some reason it does not use the theme properly in my project. I created a new project and it works perfectly fine there. The main problem here is that it does not show as floating in my project. Instead, it sets the rest of the screen black except for what would be the dialog window, where it uses the correct colors, etc. Any ideas? I am beating my head against the wall here.
View 2 Replies
View Related
Jan 4, 2010
Has anyone found an app that replaces the crummy date chooser that is default on Android? Coming from a Palm (or even from Windows), I think Android has the _worst_ date picker I've ever used! I think I'd rather key the date
View 2 Replies
View Related
Feb 22, 2010
I'm wondering if anyone has a lead on some nice code to do a Folder Chooser / Directory Picker? I know they wrote one at OpenIntents but I don't want to package the whole OI thing with my app - it'll make it bigger than I need. I just want a nice interface for picking directories (As in, a directory of images to slideshow).
View 2 Replies
View Related
Jun 19, 2010
Where can i find a Reference Chooser like this: http://www.vogella.de/articles/Android/images/first46.gif
View 2 Replies
View Related
Nov 24, 2009
I would like to know how I can create a chooser for the user to select from either a video or a photo. I want them to be able to capture a new video/photo or select from existing videos/photos. With the following code, I get a chooser that allows for that, but also allows audio creation/selection.
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("*/*");
startActivityForResult(Intent.createChooser(intent, getString (R.string.mediaChooserTitle)), REQUEST_MEDIA);
If I set the type to "image/*" I can create/get a photo, and "video/* I can get/create a video. How can I combine these types?
View 2 Replies
View Related
Sep 25, 2010
I want my activity to appear in the list of activities (gallery. live wallpapers, etc) that you see when you try to choose a wallpaper from the home screen. Im assuming this is done with intents but cant seem to find one that works. The closest one I can find is:
<action android:name="android.intent.action.ACTION_SET_WALLPAPER>
but that doesn't work and seems to be used for something else.
View 3 Replies
View Related
Sep 25, 2010
In my application the user selects an image. When the ACTION_GET_CONTENT intent is launched it displays the dialog to select one of the available image viewers installed on the device. However I need the built in Gallery app to be chosen because upon selecting an image it launches the screen to crop the image (same thing that comes up when choosing the home screen wallpaper) which only the Gallery chooser offers.
Is it possible to skip this chooser dialog and launch the Gallery automatically? Or at least remove the other options from the list so only Gallery displays?
View 3 Replies
View Related
Sep 14, 2009
I'm writing an application where images are read from the filesystem based on a certain naming scheme and file structure. To add images to the application, I need to be able to add to this file structure. I need to be able to select from existing images and copy the image to its new location.
I've set up a chooser, as follows: i = new Intent(Intent.ACTION_GET_CONTENT, null); i.setType("image/jpg"); startActivityForResult(Intent.createChooser(i, "Select photo"), PICK_FROM_FILE);
When I get the result using this line: URI uri = URI.create(outputIntent.getData().toString());
the value of uri looks like this: content://media/external/images/media/2
How do I transform this into a jpg file?
View 6 Replies
View Related
Aug 8, 2010
I attempt to "Select the complete widget and use the Properties view to set the property "background" to the color attribute "myColor"." I can select the widget, highlight the 'Background' property, and when i press the [...] button in the value column the Reference Chooser Window never appears and the Value [...] button disapears. Reproducible: Always
Steps to Reproduce:
1.Highlight the Widget in the Layout View
2.Highlight the Background Property
3.Press [...] button under Value
View 2 Replies
View Related