Error while Decompiling & Recompiling apks with Apktool for mobile

Search This thread

shyamSGY

Senior Member
Mar 16, 2014
174
40
Hello Guys,
I had tried to decompile apks with apktool (FOR MOBILE) ..I've imported the framework and done everything...
It shows error Like "No default transition (translation i dont remember) found in /sdcard/xxx
...
what could be the problem?
i have also tried Cm 10s Framework....
..
I am on Hyperion 9
...
Somebody help please! :)
 
Last edited:

TechBurner

Senior Member
Jul 11, 2012
588
662
Delhi
techburner.in
Hello Guys,
I had tried to decompile apks with apktool (FOR MOBILE) ..I've imported the framework and done everything...
It shows error Like "No default transition (translation i dont remember) found in /sdcard/xxx
...
what could be the problem?
i have also tried Cm 10s Framework....
..
I am on Hyperion 9
...
Somebody help please! :)

Try my video and follow all the steps and try to decompile on cache folder like I did in the video.
http://youtu.be/2dHgwXw3Qvw
If there is still a problem copy the whole log here

Sent from my GT-I9500 using Tapatalk
 

TheFixItMan

Senior Member
Jul 8, 2012
7,844
4,052
London
Hello Guys,
I had tried to decompile apks with apktool (FOR MOBILE) ..I've imported the framework and done everything...
It shows error Like "No default transition (translation i dont remember) found in /sdcard/xxx
...
what could be the problem?
i have also tried Cm 10s Framework....
..
I am on Hyperion 9
...
Somebody help please! :)

default translation means there is no translation for strings to different languages in the framework - this is fine and the apk will compile if no errors are found
 

shyamSGY

Senior Member
Mar 16, 2014
174
40
Try my video and follow all the steps and try to decompile on cache folder like I did in the video.
http://youtu.be/2dHgwXw3Qvw
If there is still a problem copy the whole log here

Sent from my GT-I9500 using Tapatalk

this what i got while decompiling google play services:

I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030119
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.data.value.ResBagValue.serializeToResValuesXml(ResBagValue.java:40)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)



Sent from my GT-S5360 using Tapatalk 2
 

TechBurner

Senior Member
Jul 11, 2012
588
662
Delhi
techburner.in
this what i got while decompiling google play services:

I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030119
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.data.value.ResBagValue.serializeToResValuesXml(ResBagValue.java:40)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)



Sent from my GT-S5360 using Tapatalk 2

import framework and try use aapt version 4.4 and apktool ver try with both 1.5.2 and 2.0 . if it partially decompiles check if it has decompiled the public.XML and check what resource has the id 0x01030119 and then try to use a zip archiver to replace that resource with a new one.

Sent from my GT-I9500 using Tapatalk
 

TheFixItMan

Senior Member
Jul 8, 2012
7,844
4,052
London
this what i got while decompiling google play services:

I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030119



Sent from my GT-S5360 using Tapatalk 2



looks like your apktool isnt able to decompile certain objects - you can upload the apk and I can decompile it but I would use apktool on a pc or a different version of apktool for mobile
 

shyamSGY

Senior Member
Mar 16, 2014
174
40
import framework and try use aapt version 4.4 and apktool ver try with both 1.5.2 and 2.0 . if it partially decompiles check if it has decompiled the public.XML and check what resource has the id 0x01030119 and then try to use a zip archiver to replace that resource with a new one.

Sent from my GT-I9500 using Tapatalk

I use apktool on mobile.

Sent from my GT-S5360 using Tapatalk 2
 

TechBurner

Senior Member
Jul 11, 2012
588
662
Delhi
techburner.in
I use apktool on mobile.

Sent from my GT-S5360 using Tapatalk 2
So am I!!! Use the version of apktool i used in the video

ha9e4yqu.jpg

4yjedabe.jpg

umugaje4.jpg


Sent from my GT-I9500 using Tapatalk
 

TechBurner

Senior Member
Jul 11, 2012
588
662
Delhi
techburner.in
as expected your apktool mobile is either setup wrong or not able to decompile as it decompiled fine on my pc - see attachment

It decompiled fine on my mobile too !
I: Using Apktool 2.0.0-Beta7 on com.google.android.gms.90000000.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table...
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...


Sent from my GT-I9500 using Tapatalk
 

shyamSGY

Senior Member
Mar 16, 2014
174
40
It decompiled fine on my mobile too !
I: Using Apktool 2.0.0-Beta7 on com.google.android.gms.90000000.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table...
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...


Sent from my GT-I9500 using Tapatalk

I saw your Video and followed the Link ...I just need the apk..not the data..Could you upload the apk?

Sent from my GT-S5360 using Tapatalk 2
 

Top Liked Posts