This is for those having compiling issues with systemUI.apk and framework-res.apk and the error is a layout error. Here is what I did to fix it.
For example the error in framework-res that pops up: "@layout/keyguard_transport_control" which is in keyguard_screen_unlock_portrait.xml
Just change the line to "[email protected]/keyguard_transport_control"
I did this for all my systemUI and framework-res recompile errors and all is well. Much easier fix and less time consuming then other ways I've seen mentioned.
Errors recompiling SecPhone.apk
Example is this error:
To fix this error go to (SecPhone\res\values-es\strings.xml)
Go to line 197
This is the line with the error: Just remove what is highlighted red.
I had 3 string.xml's that had this error
Hopes this helps anyone.
For example the error in framework-res that pops up: "@layout/keyguard_transport_control" which is in keyguard_screen_unlock_portrait.xml
Just change the line to "[email protected]/keyguard_transport_control"
I did this for all my systemUI and framework-res recompile errors and all is well. Much easier fix and less time consuming then other ways I've seen mentioned.
Errors recompiling SecPhone.apk
Example is this error:
Code:
C:\Users\shoman94\Desktop\ROMS\SHOstock-SGS4\SHOstock\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SecPhone\res\values-es\strings.xml:197: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\shoman94\Desktop\ROMS\SHOstock-SGS4\SHOstock\xdaAutoAPKTool_V3.0.2\_INPUT_APK\SecPhone\res\values-es\strings.xml:198: error: Unexpected end tag string
Go to line 197
This is the line with the error: Just remove what is highlighted red.
Code:
<string name="throttle_time_frame_subtext">"%1$d[COLOR="Red"]%[/COLOR] del ciclo transcurrido.
Próx período en %2$d días (%3$s)"</string>
Hopes this helps anyone.
Last edited: