Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: Do you find the latest beta functional ?
Yes 989 75.21%
No 326 24.79%
Voters: 1315. You may not vote on this poll

 
Post Reply+
Tip us?
 
jmbillings
Old
#2391  
Senior Member
Thanks Meter 37
Posts: 439
Join Date: Mar 2009
Location: Ely

 
DONATE TO ME
After some quick pointers here. I'm testing out a quick change to an image in SystemUI.apk. I got the file, dropped it in the modding folder, unzipped, edited a png, saved, optimized, zipped and zipaligned. All that worked well.
I then tried the adb push option (as I assume SystemUI.apk is a system file?) and it failed. Here is the screen output:

Code:
Please make your decision:8
Where do you want adb to push to and as what name
Example of input : /system/app/launcher.apk
Type input: /system/app/SystemUI.apk
Waiting for device
remount failed: Operation not permitted
Pushing apk
"An Error Occured, Please Check The Log (option 21)"
Press any key to continue . . .
but in the log, I see this:

Code:
-------------------------------------------------------------------------- 
|05/01/2012 --  9:40:00.96| 
-------------------------------------------------------------------------- 
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)
cannot stat 'place-apk-here-for-modding\unsignedSystemUI.apk': No such file or directory
So it's looking for a file called "unsignedSystemUI.apk". That doesn't exist, the file is still called the same as the original.

I zipped a second time, and now it created the above file, but when I now do adb push it's looking for "signedSystemUI.apk" instead?!
 
Roman-Kumori
Old
#2392  
Roman-Kumori's Avatar
Senior Member
Thanks Meter 51
Posts: 177
Join Date: Dec 2010
Location: Moscow
Default Problems with Whatsapp

Help me please.
I wanted to theme Whatsapp app.

And when I tried to re-compile the app I got this:

Code:
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedICS_1.6.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedICS_1.6.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedSystemUIstock.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedSystemUIstock.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\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...
I: Building apk file...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedGNfr.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedGNfr.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedGNSysUI.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedGNSysUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\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...
I: Building apk file...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedLauncher2(original).apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedLauncher2(original).apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\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...
I: Building apk file...
═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы.
"7za" эх *ты*хЄё* тэєЄЁхээхщ шыш тэх°эхщ
ъюьрэфющ, шёяюыэ*хьющ яЁюуЁрььющ шыш яръхЄэ√ь Їрщыюь.
"7za" эх *ты*хЄё* тэєЄЁхээхщ шыш тэх°эхщ
ъюьрэфющ, шёяюыэ*хьющ яЁюуЁрььющ шыш яръхЄэ√ь Їрщыюь.
═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы.
═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы.
"7za" эх *ты*хЄё* тэєЄЁхээхщ шыш тэх°эхщ
ъюьрэфющ, шёяюыэ*хьющ яЁюуЁрььющ шыш яръхЄэ√ь Їрщыюь.
"7za" эх *ты*хЄё* тэєЄЁхээхщ шыш тэх°эхщ
ъюьрэфющ, шёяюыэ*хьющ яЁюуЁрььющ шыш яръхЄэ√ь Їрщыюь.
═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы.
--------------------------------------------------------------------------
|07.01.2012 --  2:47:03,52|
--------------------------------------------------------------------------
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedfram14.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedfram14.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedSysUI14.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedSysUI14.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\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...
I: Building apk file...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedWhatsApp_2.7.1528.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedWhatsApp_2.7.1528.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\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...
Exception in thread "main" java.lang.NullPointerException
        at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
        at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2569)
        at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFlexLexer.java:2661)
        at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:2530)
        at org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java
:119)
        at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:238)
        at org.jf.smali.smaliParser.smali_file(smaliParser.java:430)
        at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
        at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

        at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

        at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
        at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
        at brut.androlib.Androlib.buildSources(Androlib.java:179)
        at brut.androlib.Androlib.build(Androlib.java:170)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/signedWhatsApp_2.7.1528.apk
═х єфрхЄё* эрщЄш C:\Users\Lygmoo\Documents\Andro\ApkManagerRUS_ICS\place-apk-her
e-for-modding\../place-apk-here-for-modding/unsignedWhatsApp_2.7.1528.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lygmoo\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...
Exception in thread "main" java.lang.NullPointerException
        at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
        at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2569)
        at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFlexLexer.java:2661)
        at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:2530)
        at org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java
:119)
        at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:238)
        at org.jf.smali.smaliParser.smali_file(smaliParser.java:430)
        at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
        at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

        at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

        at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
        at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
        at brut.androlib.Androlib.buildSources(Androlib.java:179)
        at brut.androlib.Androlib.build(Androlib.java:170)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 5 (═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
        at brut.androlib.Androlib.installFramework(Androlib.java:365)
        at brut.apktool.Main.cmdInstallFramework(Main.java:193)
        at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: 5 (═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы)
        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.zip.ZipFile.<init>(Unknown Source)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
        ... 3 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 5 (═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
        at brut.androlib.Androlib.installFramework(Androlib.java:365)
        at brut.apktool.Main.cmdInstallFramework(Main.java:193)
        at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: 5 (═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы)
        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.zip.ZipFile.<init>(Unknown Source)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
        ... 3 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 24 (═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
        at brut.androlib.Androlib.installFramework(Androlib.java:365)
        at brut.apktool.Main.cmdInstallFramework(Main.java:193)
        at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: 24 (═х єфрхЄё* эрщЄш єърчрээ√щ Їрщы)
        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.zip.ZipFile.<init>(Unknown Source)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
        ... 3 more
--------------------------------------------------------------------------
|07.01.2012 --  6:54:49,40|
--------------------------------------------------------------------------
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
        at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
        at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2569)
        at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFlexLexer.java:2661)
        at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:2530)
        at org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java
:119)
        at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:238)
        at org.jf.smali.smaliParser.smali_file(smaliParser.java:430)
        at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
        at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

        at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

        at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
        at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
        at brut.androlib.Androlib.buildSources(Androlib.java:179)
        at brut.androlib.Androlib.build(Androlib.java:170)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Для продолжения нажмите любую клавишу . . .
Then I decided to make clear if I made a mistake or smth else.
I decompiled Whatsapp (clean) and tried to recompile it without modding. The same thing.

Suggest me smth please.)

---------- Post added at 07:06 AM ---------- Previous post was at 07:05 AM ----------

Quote:
Originally Posted by seimu View Post
Hi, I'm making themes for whatsapp, and using the apkmanager everything works fine when only change the png (options 1, 3 and 4). The problem comes when decompile with option 9 (to modify a xml file for the font color) and not even change any xml, compiled with option 11 and it gives me error. I leave the log. I need help. Thx!!

PHP Code:
IBaksmaling...
ILoading resource table...
IDecoding resources...
ILoading resource table from fileC:\Users\SeRGi0\apktool\framework\1.apk
I
Copying assets and libs...
IChecking whether sources has changed...
ISmaling...
Exception in thread "main" java.lang.NullPointerException
    at org
.jf.util.PathUtil.getRelativeFile(Unknown Source)
    
at org.jf.smali.smaliFlexLexer.getSourceName(Unknown Source)
    
at org.jf.smali.smaliFlexLexer.getErrorHeader(Unknown Source)
    
at org.jf.smali.smaliFlexLexer.nextToken(Unknown Source)
    
at org.antlr.runtime.CommonTokenStream.fillBuffer(Unknown Source)
    
at org.antlr.runtime.CommonTokenStream.LT(Unknown Source)
    
at org.jf.smali.smaliParser.smali_file(Unknown Source)
    
at brut.androlib.mod.SmaliMod.assembleSmaliFile(Unknown Source)
    
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
    
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
    
at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
    
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
    
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
    
at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
    
at brut.androlib.Androlib.buildSources(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
I have the same problem I guess.
ロマン・ボトフ、どうぞよろしく。
この世界は思考の外である。
 
armag3d0n2oo5
Old
#2393  
armag3d0n2oo5's Avatar
Senior Member
Thanks Meter 161
Posts: 849
Join Date: Jul 2010
Location: Bucharest
Guys , i have a problem.
When i wanna extract an apk , that window close in the next moment.

--------------------------------------------------------------------------
|Sat 01/07/2012 -- 21:46:26.23|
--------------------------------------------------------------------------
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
Launcher_v0.5.1.apk==None was unexpected at this time.



But this problem is only for this apk, with others work flawless...
What i can do ?
If i helped you press "Thanks" please.

Icons LunarUI
More LunarUi icons
 
Ajthescot
Old
#2394  
Ajthescot's Avatar
Recognized Themer
Thanks Meter 1623
Posts: 1,083
Join Date: May 2010

 
DONATE TO ME
Guys with unknown source errors try installing a newer framework. one from ics. grab a g nexus rom and rip it from that.
I had the same error on Google plus app and the framework from that fixed it

Sent from my HTC EVO 3D X515m using xda premium
 
selaludiam
Old
#2395  
selaludiam's Avatar
Member
Thanks Meter 1
Posts: 47
Join Date: Dec 2011
Location: pojok suram hitam kelam
when i compile SemcGenericUxpRes
aapt.exe crash

so compile failed

even i don't change anything on it

i've try to decompile and compile framework-res and success
x8 x10 x12 xxx

42 stock rom

 
onasri15
Old
#2396  
Senior Member
Thanks Meter 12
Posts: 361
Join Date: Jan 2011
Location: Mississauga
It can't find my systemui.apk in the place here for signing folder even though its there. What do I do?

---------- Post added at 10:04 PM ---------- Previous post was at 09:52 PM ----------

I renamed to signed.apk to fix the error and now whenever I try to sign it keeps disappearing. Nowhere to be found on my desktop. Someone please help?
 
hackersdoom13
Old
#2397  
Member
Thanks Meter 1
Posts: 53
Join Date: Mar 2011
currently using newest apktool and apk maanger. i decoded an apk and made a few changes but i cant seem to figure out the correct command to type in cmd for compiling. i cd'd to C:\apk manager\other
the directory of the revised/decoded apk is C:\apk manager\place-apk-here-for-modding\music.apk
what should i type in cuz it always says file could not be found
Phone: HTC Sensation 4G
ROM: CyanogenMod 7.1
Kernerl: CM7 faux123-v.0.2.4r
Radio: 10.42.9007.00P_10.11.9007.15_M
Version: Gingerbread 2.3.7
Carrier: T-Mobile United States
 
chrisexv6
Old
#2398  
Senior Member
Thanks Meter 11
Posts: 181
Join Date: Nov 2010
Just starting with this so pardon the possible dumb question:

If I extract an APK, then immediately zip the APK....how come its ending up a different size than the original? Nothing changed obviously. Just trying to get a baseline of exactly how to extract, change some images, then rebuild the APK.

I havent tried installing it or running it on an emulator but I assume its NOT going to work.

Any ideas what I could be doing wrong?

Thanks.

-Chris
 
dully79
Old
#2399  
dully79's Avatar
Senior Member
Thanks Meter 1282
Posts: 1,547
Join Date: Apr 2010
Location: Durham/Liverpool

 
DONATE TO ME
That's because your compressing the apk inside the zip.
You can't install the zip like an apk. You also can't extract the files from a market apk, re zip them and install it as it'll break the signature.
Loving the new draw9patch tool.

 



Bug report:
"I put my mobile on flight mode... but when i threw it, it smashed on the floor!"

I will not respond to private message support questions.
 
_Sparks
Old
#2400  
_Sparks's Avatar
Senior Member
Thanks Meter 678
Posts: 864
Join Date: Jun 2011
Location: United Kingdom
How do I sign an apk, I placed the apk in "Place here for signing" folder. And then when I open the script, and select sign apk, it doesnt work!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...