[Galaxy S6 General] edzamber:
Hi,

My xml is not as your ...

any idea how ? i can't recompil because Error parsing XML: not well-formed (invalid token).

Here is modified code :

<?xml version="1.0" encoding="utf-8"?>

<com.android.keyguard.status.SecKeyguardClockView android:gravity="center" android:orientation="vertical" android:id="@id/keyguard_sec_clock_view" android:layout_width="fill_parent" android:layout_height="wrap_content"

xmlns:android="http://schemas.android.com/apk/res/android">

<FrameLayout android:layout_gravity="center_horizontal" android:id="@id/keyguard_sec_clock_holder" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" />

<FrameLayout android:orientation="vertical" android:id="@id/keyguard_sec_clock_bottom" android:focusable="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/kg_owner_text_margin_start" android:layout_marginEnd="@dimen/kg_owner_text_margin_end">

<com.android.keyguard.status.KeyguardTextView android:textSize="@dimen/kg_owner_text_size" android:textColor="@color/theme_textclock_color" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center" android:id="@id/keyguard_owner_info" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:fontFamily="roboto-regular" style="@style/keyguard_clock_weather_text_shadow" />

<com.android.keyguard.nextalarm.GetNextAlarmTimeTe xt android:id="@id/next_alarm_txt" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#7f000000" android:fontFamily="sec-roboto-light" style="@style/keyguard_text_shadow" />

</FrameLayout>

</com.android.keyguard.status.SecKeyguardClockView>

Here is my original code :

<?xml version="1.0" encoding="utf-8"?>

<com.android.keyguard.status.SecKeyguardClockView android:gravity="center" android:orientation="vertical" android:id="@id/keyguard_sec_clock_view" android:layout_width="fill_parent" android:layout_height="wrap_content"

xmlns:android="http://schemas.android.com/apk/res/android">

<FrameLayout android:layout_gravity="center_horizontal" android:id="@id/keyguard_sec_clock_holder" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" />

<FrameLayout android:orientation="vertical" android:id="@id/keyguard_sec_clock_bottom" android:focusable="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/kg_owner_text_margin_start" android:layout_marginEnd="@dimen/kg_owner_text_margin_end">

<com.android.keyguard.status.KeyguardTextView android:textSize="@dimen/kg_owner_text_size" android:textColor="@color/theme_textclock_color" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center" android:id="@id/keyguard_owner_info" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:fontFamily="roboto-regular" style="@style/keyguard_clock_weather_text_shadow" />

</FrameLayout>

</com.android.keyguard.status.SecKeyguardClockView>

here is my log

Recompiling "SystemUI.apk" With Original Signature,

in work area "_WorkArea1", using "apktool_2.0.1_ther.jar"

With Tickle My Android 13.0.0.

(tinyurl.com\ticklemyandroid)

----------------

I: Using Apktool 2.0.1-dirty

I: Smaling smali folder into classes.dex...

I: Building resources...

warning: string 'hdmi_mhl' has no default translation.

warning: string 'toast_msg_unblock_notification_chn' has no default translation.

C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\res\layout\sec_keyguard_clock_view.xml:7: error: Error parsing XML: not well-formed (invalid token)

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [d:\Temp\brut_util_Jar_6963753564166220376.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, d:\Temp\APKTOOL8049828853508926235.tmp, -I, C:\Users\Sandrine\apktool\framework\1.apk, -S, C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\res, -M, C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)

at brut.androlib.Androlib.buildResources(Androlib.java:397)

at brut.androlib.Androlib.build(Androlib.java:285)

at brut.androlib.Androlib.build(Androlib.java:256)

at brut.apktool.Main.cmdBuild(Main.java:225)

at brut.apktool.Main.main(Main.java:84)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [d:\Temp\brut_util_Jar_6963753564166220376.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, d:\Temp\APKTOOL8049828853508926235.tmp, -I, C:\Users\Sandrine\apktool\framework\1.apk, -S, C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\res, -M, C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:445)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [d:\Temp\brut_util_Jar_6963753564166220376.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, d:\Temp\APKTOOL8049828853508926235.tmp, -I, C:\Users\Sandrine\apktool\framework\1.apk, -S, C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\res, -M, C:\Users\Sandrine\Desktop\TickleMyAndroid_v13.1\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)

... 6 more

----------------

Recompile Not Successful!