FORUMS

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more
Thread Closed Subscribe to Thread Email Thread

APK Manager Ver 5.0 - Makes Modifying Ur Apk A Breeze (Windows/Linux)

11th September 2011, 05:12 PM |#61  
Account currently disabled
Flag Wisconsin
Thanks Meter: 744
 
More
very nice job. one question/bug

when batch optimizing, with some apks it asks if it is a directory or file. i select directory and it works fine. i dont get why it asks tho?
 
 
11th September 2011, 06:31 PM |#62  
dsmitty166's Avatar
Senior Member
Flag Sioux Center, Iowa
Thanks Meter: 4,559
 
Donate to Me
More
Trying to sign an APK...

Keep getting this error no matter what I do...

Always looks for an additional unsigned....

Code:
-------------------------------------------------------------------------- 
|Sun 09/11/2011 -- 12:28:58.44| 
-------------------------------------------------------------------------- 
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
java.io.FileNotFoundException: ..\place-apk-here-for-modding\unsignedcom.swype.android.inputmethod-1.apk (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at com.android.signapk.SignApk.main(SignApk.java:437)
Could Not Find C:\Users\David\Desktop\APK Manager 5.0.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedcom.swype.android.inputmethod-1.apk
java.io.FileNotFoundException: ..\place-apk-here-for-modding\unsignedunsignedcom.swype.android.inputmethod-1.apk (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at com.android.signapk.SignApk.main(SignApk.java:437)
Could Not Find C:\Users\David\Desktop\APK Manager 5.0.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedunsignedcom.swype.android.inputmethod-1.apk
11th September 2011, 08:24 PM |#63  
robm1911's Avatar
Recognized Contributor / Themer
Flag Weatherford Tx.
Thanks Meter: 2,134
 
Donate to Me
More
Wow thank you for this I have allways had problems getting APK Manager ro recgonize ADB. Now that you have made this self contianed all my problems are gone (except trying to figure out what I'm going to use it for next)

Edit: so trying to figure out what to do with this I tried to decompile the settings.apk using option 10 then it asks for the dependee apk tried dropping in the framework-res apk then I'm told thats not the dependee apk and to try again. So on a samsung captivate what is the dependee apk???
Last edited by robm1911; 12th September 2011 at 01:32 AM.
12th September 2011, 02:18 AM |#64  
adude247's Avatar
Senior Member
Thanks Meter: 616
 
More
I have the same problem sometimes trying to decompile apps from the market, some will and some wont dont underdtand why....

Sent from my SCH-I500 using XDA Premium App
12th September 2011, 07:26 AM |#65  
waterpolo's Avatar
Senior Member
Flag Naarden (NL)
Thanks Meter: 135
 
More
Quote:
Originally Posted by adude247

I have the same problem sometimes trying to decompile apps from the market, some will and some wont dont underdtand why....

Sent from my SCH-I500 using XDA Premium App

+1

i.e. new market, google maps
12th September 2011, 02:51 PM |#66  
gcamp0730's Avatar
Senior Member
Flag Texas
Thanks Meter: 37
 
Donate to Me
More
Quote:
Originally Posted by dsmitty166

Trying to sign an APK...

Keep getting this error no matter what I do...

Always looks for an additional unsigned....

Code:
-------------------------------------------------------------------------- 
|Sun 09/11/2011 -- 12:28:58.44| 
-------------------------------------------------------------------------- 
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
java.io.FileNotFoundException: ..\place-apk-here-for-modding\unsignedcom.swype.android.inputmethod-1.apk (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at com.android.signapk.SignApk.main(SignApk.java:437)
Could Not Find C:\Users\David\Desktop\APK Manager 5.0.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedcom.swype.android.inputmethod-1.apk
java.io.FileNotFoundException: ..\place-apk-here-for-modding\unsignedunsignedcom.swype.android.inputmethod-1.apk (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at com.android.signapk.SignApk.main(SignApk.java:437)
Could Not Find C:\Users\David\Desktop\APK Manager 5.0.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedunsignedcom.swype.android.inputmethod-1.apk

I notice in the OP there is mention of using folder names without spaces. You might try that to see if it makes a difference.


Sent from my SGH-I897 using xda premium
13th September 2011, 04:40 AM |#67  
Jaxwindle's Avatar
Member
Flag Jacksonville, FL
Thanks Meter: 6
 
More
Thank you for the information on special chars and spaces in the path directory. I took them out, and now I have no problems decompiling apks.
13th September 2011, 07:24 AM |#68  
Member
Thanks Meter: 3
 
More
hello , thanks for posting this for us to use , but here is the problem im facing
i downloaded the zip , extracted to my home folder (linux) and chmod the files . then attempted to excute the Script.sh file and here is the outcome:

Code:
The program optipng is missing or is not in your PATH,
please install it or fix your PATH variable
The program 7za is missing or is not in your PATH,
please install it or fix your PATH variable
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
14th September 2011, 11:50 AM |#69  
Senior Member
Thanks Meter: 242
 
Donate to Me
More
Here is my error. I cannot de-compile or compile with 9, 10, or 11.

Code:
-------------------------------------------------------------------------- 
|Wed 09/14/2011 --  4:03:33.33| 
-------------------------------------------------------------------------- 
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)
I: Framework installed to: C:\Documents and Settings\Michael\apktool\framework\1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Michael\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=resizeMode, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=android, name=resizeMode, value=0x00000003
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01010363
	at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
	at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
	at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
	at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)
	at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
	at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
	at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
	at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
	at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)
	at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
	at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
	at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)
	at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
	at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
	at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
	at brut.apktool.Main.cmdDecode(Main.java:120)
	at brut.apktool.Main.main(Main.java:57)
Last edited by reekotubbs; 14th September 2011 at 12:05 PM.
17th September 2011, 06:36 AM |#70  
zohaib0001's Avatar
Senior Member
Flag Lahore
Thanks Meter: 3,318
 
More
Question arc camera apk problem in decompile and compile
i am trying to recompile xperia ARC camera apk from rom 4.0.A.2.368

but its always give me an error and recompile is unsuccessful

i put apk in the folder 'place apk here for modding'
then run the bat script
then select option 22 then i select my project apk
then i select 9 which is decompile the apk
then if you try to recompile it again its always gives an error that could not compile it

any one can help me
Thread Closed Subscribe to Thread

Tags
android development, apk editing, apk manager 5.0, apk manger, apktool
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes