I am trying to edit something in the Google Voice apk, but everytime I try to compile, I get the following error:
Code:
C:\Users\Family\Desktop\APKTool>apktool b com.google.android.apps.googlevoice-2
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Unknown Source)
... 5 more
I have tried updating aapt.exe, re-installing APKTool, etc. but nothing has worked.. I am on Windows Vista 64-bit. Any suggestions?
Google Voice always has issues when trying to decompile etc.. just use one from another ROM or something. What do you want to do?
CdTDroiD said:
Google Voice always has issues when trying to decompile etc.. just use one from another ROM or something. What do you want to do?
Click to expand...
Click to collapse
Well I tried decompiling and recompiling a random apk and got the same error. I'm trying to make a way to get to the inbox if you're in a conversation thread. For example, sometimes I have to press the Back key like 30 times to get all the way back to the inbox. I was going to make the "Archive" button take you to the inbox (because I never use Archive).
I will try to compile on a different computer and update what happens.
edit: Fixed it!
Just deleted everything in the /apktool/frameworks folder and it worked.
twolves14 said:
edit: Fixed it!
Just deleted everything in the /apktool/frameworks folder and it worked.
Click to expand...
Click to collapse
Sorry i dont understand. I have the same error, but where is "apktool/framework"??
I have this..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How can i decompile it?
dany_danay said:
Sorry i dont understand. I have the same error, but where is "apktool/framework"??
I have this..
How can i decompile it?
Click to expand...
Click to collapse
I will have to look at my old desktop PC, but I'll let you know what I did in more detail.
Related
I was looking for an app similar to one I used to use on WinMo that let me have my phones display on my computer's desktop, let me use my mouse and keyboard with the phone, and supported portrait and landscape, all over usb. I found this androidscreencast that allows these options but also allows video capture. You need the SDK installed and up to date java. Try it out.
http://code.google.com/p/androidscreencast/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I get an "unable to launch application" error, and the following exception:
CouldNotLoadArgumentException[ Could not load file/URL specified: androidscreencast]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
and wrapped exception:
java.io.FileNotFoundException: androidscreencast (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
<edit> Got it working by just launching androidscreencast directly from the file itself. No need to use a cmd line to execute it.
hmm, can't get it to work yet
edit:
nevermind, i just had to unlock my screen.
CaelanT said:
<edit> Got it working by just launching androidscreencast directly from the file itself. No need to use a cmd line to execute it.
Click to expand...
Click to collapse
Cool, I probably shouldve put that in the OP. Just save the java file and run it when you want to connect.
I've used this before, isn't the fps really slow? Would love to have this instead of a laptop dock thingy... Cheaper lol.
Sent from my MB860 using Tapatalk
Jnewell05 said:
isn't the fps really slow?
Click to expand...
Click to collapse
yes, it is. but its easy so...
this is awesome thanks for all the hard work
Perhaps one of yo ucould help me!!?
I have an EVO 4g and want to use this app.
I can control the phone from the PC, but the screen on my PC is blank!!
Whats even more strange, is that when i boot into recovery, I CAN SEE MY SCREEN on the PC...
Anyone experience this?
i cant click or use keybard
Nottach said:
I was looking for an app similar to one I used to use on WinMo that let me have my phones display on my computer's desktop, let me use my mouse and keyboard with the phone, and supported portrait and landscape, all over usb. I found this androidscreencast that allows these options but also allows video capture. You need the SDK installed and up to date java. Try it out.
http://code.google.com/p/androidscreencast/
Click to expand...
Click to collapse
i ran all the instructions but i cant click or use the keyboard what am i missing?
please help
Hi,
First post here, hello! and I'm new to android and smartphones in general, be gentle!
I have a Samsung Galaxy SII and I'm one of the ones who suffer from the "echo problem" during calls. In my case, turning off noise cancellation fixes the problem. The only problem is, as you might know, that you can't disable it permanently (without editing the Phone.apk).
What I'm trying to do is what's stated in this thread: http://forum.xda-developers.com/showthread.php?t=1372718
(I can't post there need 10 posts)
First of all, the software I'm using is as follows;
ROM: CheckROM v4
Kernal: DarkKnight v2.3
Modem: KI4
Am I right in thinking that my ROM is deodexed?
So, what I've done:
1. Install AndroidSDK and ADB. I followed this guide: http://www.youtube.com/watch?v=y6K1XLmafPc&feature=player_embedded
2. I found the Phone.apk in my phone and put it on my PC.
3. I've attempted to decompile Phone.apk using APKTool, using this guide: http://www.miui-au.com/add-ons/apktool/
This is where I'm stuck, I've gotten up to the stage where you put "apktool d Settings.apk" in the command prompt. This is the error I get:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, I may be wrong but is this because it's a "Themed" apk?
I would appreciate any help! Thanks.
I've already replied on the other forum, but I'll add it here incase anyone else has the same problem.
You need to add the file "twframework-res.apk" to where apktool is aswell. Then after doing "apktool if framework-res.apk" do "apktool if twframework-res.apk" then carry on as normal .
Bloomfield87 said:
I've already replied on the other forum, but I'll add it here incase anyone else has the same problem.
You need to add the file "twframework-res.apk" to where apktool is aswell. Then after doing "apktool if framework-res.apk" do "apktool if twframework-res.apk" then carry on as normal .
Click to expand...
Click to collapse
Ah great, that seemed to work thank you!
Now I need to edit it and re-compile it again. Hopefully I can manage that, but it's likely I'll have a problem, will post back if I do.
Hello mates!
So i wanted to use Slim ICS in my own language and wanted to start with Settings.apk from Slim 4.2.
btw.I succesfully installed adb on my computer.(checked with cmd)
I'm using latest apktool and i typed;
apktool d Settings.apk
Successfully decompiled.Settings folder created and all of the stuff is in there.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I JUST changed a string in res/values .Then tried to compile it ... And the problem occours....
Help me please.At least i want to do this...
Sorry if i opened the thread in to wrong section but this thing is about developing so..
Have a nice day to all people!
Just typed this earlier in another post but I think it applies with the Setting.apk also. Your framework files will be different, but hopefully it helps you..
NOTE: For all of the above you will need to set the framework for apktool before you will be able to de/recompile apks.
-Drop copies of framework-res.apk, moto-res.apk, blur-res.apk, and SystemUI.apk into the same folder as apktool (with APK Manager it's the "other" folder)
-Open the command prompt on the folder where apktool is (by right-clicking or holding Shift and right-clicking)
-Type the following for each apk in the command prompt:
Code:
apktool if framework-res.apk
-Hit enter
Code:
apktool if moto-res.apk
-Hit enter, and do the same for the other two apks
-Now you should have no de/recompiling problems (well I shouldn't say no... watch them .9.pngs and check the log for errors)
Click to expand...
Click to collapse
Sent from my phone's mind
http://www.blindndumb.com/2012/04/android-tutorial-how-to.html
Follow that guide to the tee and i garuntee you will not have a single issue
alteredlikeness said:
Just typed this earlier in another post but I think it applies with the Setting.apk also. Your framework files will be different, but hopefully it helps you..
Sent from my phone's mind
Click to expand...
Click to collapse
Hmm.I just had framework-re.apk in there and typed apktool if ramework-res.apk ..... Gonna try it today!
Sent from my GT-I9000 using Tapatalk 2
Me too
Hi,
i would like to build an .apk from source with eclipse, but when i port the source project of "keyguard", i've got so many errors (1271) so i can't build it !
Anyone know what can i do without correct all errors ? :/
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you in advance.
After searching a bit I found the following topic: hxxp://stackoverflow.com/questions/17487777/using-internal-android-classes (can't post clickable links yet).
From your screenshot it looks like you're trying to use "LockPatternUtils" which is part of "internal android classes".
ArcaneHammer said:
After searching a bit I found the following topic: hxxp://stackoverflow.com/questions/17487777/using-internal-android-classes (can't post clickable links yet).
From your screenshot it looks like you're trying to use "LockPatternUtils" which is part of "internal android classes".
Click to expand...
Click to collapse
So what can i do ? :/
Thank you for your answer !
NOTICE: I can upload the keyguard folder if you want more informations
Could you share the project you're trying to compile, the official website if it has one? Please keep in mind that while I'm a developer I'm by no means an expert on Android. I'll give it shot but it's probably not going to do much good.
ArcaneHammer said:
Could you share the project you're trying to compile, the official website if it has one? Please keep in mind that while I'm a developer I'm by no means an expert on Android. I'll give it shot but it's probably not going to do much good.
Click to expand...
Click to collapse
Link with Keyguard (extract it)(I just changed an opacity value compared to the original one in KeyguardViewManager.jar) :
http://www.mediafire.com/download/9h1jo9i9b545zdl/keyguard.zip
AOSB Page:
http://probam.net/
AOSB Github:
https://github.com/AOSB/
Source where i downloaded Keyguard (to download it, i had to download all framework source):
https://github.com/AOSB/android_frameworks_base/tree/kitkat/packages/Keyguard
Thank you for yoru help !
Apparently there is a thread about this project from the developer: hxxp://forum.xda-developers.com/showthread.php?t=2377129
Given the Android.mk in the code tree I think you may require the NDK. Here is a tutorial for how to set this up: hxxp://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/
I've not done any NDK development, so this goes way beyond my skillset.
before edit/Recompile
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after
why ?!!
UP UP UP
I hope to help me @Blekota
Up up up
what is the apktool use ?
same problem with me , but I found the problem and fix it
abd3mobaraki said:
what is the apktool use ?
same problem with me , but I found the problem and fix it
Click to expand...
Click to collapse
i'm using apktool 2.0.0 RC3
how to fix it
engloda said:
i'm using apktool 2.0.0 RC3
how to fix it
Click to expand...
Click to collapse
after recompiling , open by any zip program and enter res folder
then look to folders name , if there numbers an name its the problem
good luck
i have the same problem
engloda said:
Up up up
Click to expand...
Click to collapse
this is may come from a bad deodex ... i have the same problem.... i had changed in a milion whays the java paths andd the java jdk-version the 7 and 8 version ...and still have the problems... the same like yours... i picked up the secSettings from the rom of Sweet Rom and from Xnote i decompiled them and after that i compiled them back... and i had no issue... but decompiling and recompiling my secSettings from my build deodexed and made in two variants : with Archikitchen and with the dsixda Android kitchen i have all the time issues ,. the same like yours,,,, i donĀ“t know whay...
i had send some messages to soloilmeglior and to not-i and untill now no response... was wantted to know wich version of apktool they are use and how they have the phat to java jdk fixed
UP UP Plz :crying:crying:
I hope to help me @thereassaad
abd3mobaraki said:
after recompiling , open by any zip program and enter res folder
then look to folders name , if there numbers an name its the problem
good luck
Click to expand...
Click to collapse
i dont found numbers anny other solution ? allah yjazik help me