desword / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
1 stars 0 forks source link

'android:preferencePanelStyle'. #636

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Decompile LGSettings.apk
2.Rebuild (without changes)
3.

What is the expected output? What do you see instead?

-------------------------------------------------------------------------- 
|20.05.2014 -- 23:15:15,42| 
-------------------------------------------------------------------------- 
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Home\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\Home\apktool\framework\2.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
modified-system-apk-files-here alt dizini ya da dosyas halen var.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\res\values\styles.xml:87: error: Error: No resource 
found that matches the given name: attr 'android:preferencePanelStyle'.
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\res\values\styles.xml:365: error: Error: No 
resource found that matches the given name: attr 
'android:preferenceFragmentStyle'.
Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, 
C:\Users\Home\AppData\Local\Temp\APKTOOL3952489258523602894.tmp, -0, arsc, -I, 
C:\Users\Home\apktool\framework\1.apk, -I, 
C:\Users\Home\apktool\framework\2.apk, -S, 
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\res, -M, 
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
    at brut.androlib.Androlib.buildResources(Androlib.java:281)
    at brut.androlib.Androlib.build(Androlib.java:209)
    at brut.androlib.Androlib.build(Androlib.java:177)
    at brut.apktool.Main.cmdBuild(Main.java:237)
    at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could 
not exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, 
-F, C:\Users\Home\AppData\Local\Temp\APKTOOL3952489258523602894.tmp, -0, arsc, 
-I, C:\Users\Home\apktool\framework\1.apk, -I, 
C:\Users\Home\apktool\framework\2.apk, -S, 
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\res, -M, 
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
    ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, 
--min-sdk-version, 19, --target-sdk-version, 19, -F, 
C:\Users\Home\AppData\Local\Temp\APKTOOL3952489258523602894.tmp, -0, arsc, -I, 
C:\Users\Home\apktool\framework\1.apk, -I, 
C:\Users\Home\apktool\framework\2.apk, -S, 
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\res, -M, 
C:\Users\Home\Downloads\APK-Multi-Tool-Stable-RELEASE\APK-Multi-Tool-Stable-RELE
ASE\projects\LGSettings.apk\AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)
    ... 6 more

What version of the product are you using? On what operating system?

Win7 X64

Apktool 2.0.0-Beta7 + Apktool 1.5.2 + APK-Multi-Tool-Stable-

Always the same error ( There is no problem in other applications )

Original issue reported on code.google.com by mailyazbana on 20 May 2014 at 8:25

GoogleCodeExporter commented 9 years ago
addition

APK-Multi-Tool-Stable- v2.0.0b9

Original comment by mailyazbana on 20 May 2014 at 8:28

GoogleCodeExporter commented 9 years ago
Can not reproduce. This is a framework problem. Double check your frameworks.

Original comment by connor.tumbleson on 21 May 2014 at 11:43

GoogleCodeExporter commented 9 years ago
Device LG G2

All files were checked 

Other countries were tested orig. FW

No other system don't have this problem apk

Framework able to fix it myself ?

I think it is a problem from LG Source

Original comment by mailyazbana on 21 May 2014 at 12:25