[XDA-University] abo hani:
I have just tried to change SDK Version for Settings.apk from Z1 4.3

and tried it on Acro S

And go this Error :

E/AndroidRuntime( 4741): FATAL EXCEPTION: main

E/AndroidRuntime( 4741): java.lang.NoClassDefFoundError: android/os/UserManager

E/AndroidRuntime( 4741): at com.android.settings.Settings.updateHeaderLis

t(Settings.java:469)

E/AndroidRuntime( 4741): at com.android.settings.Settings.onBuildHeaders(

Settings.java:421)

E/AndroidRuntime( 4741): at android.preference.PreferenceActivity.onCreat

e(PreferenceActivity.java:549)

E/AndroidRuntime( 4741): at com.android.settings.Settings.onCreate(Settin

gs.java:166)

E/AndroidRuntime( 4741): at android.app.Activity.performCreate(Activity.j

ava:5008)

E/AndroidRuntime( 4741): at android.app.Instrumentation.callActivityOnCre

ate(Instrumentation.java:1079)

E/AndroidRuntime( 4741): at android.app.ActivityThread.performLaunchActiv

ity(ActivityThread.java:2035)

E/AndroidRuntime( 4741): at android.app.ActivityThread.handleLaunchActivi

ty(ActivityThread.java:2096)

E/AndroidRuntime( 4741): at android.app.ActivityThread.access$600(Activit

yThread.java:138)

E/AndroidRuntime( 4741): at android.app.ActivityThread$H.handleMessage(Ac

tivityThread.java:1207)

E/AndroidRuntime( 4741): at android.os.Handler.dispatchMessage(Handler.ja

va:99)

E/AndroidRuntime( 4741): at android.os.Looper.loop(Looper.java:213)

E/AndroidRuntime( 4741): at android.app.ActivityThread.main(ActivityThrea

d.java:4787)

E/AndroidRuntime( 4741): at java.lang.reflect.Method.invokeNative(Native

Method)

E/AndroidRuntime( 4741): at java.lang.reflect.Method.invoke(Method.java:5

11)

E/AndroidRuntime( 4741): at com.android.internal.os.ZygoteInit$MethodAndA

rgsCaller.run(ZygoteInit.java:789)

E/AndroidRuntime( 4741): at com.android.internal.os.ZygoteInit.main(Zygot

eInit.java:556)

E/AndroidRuntime( 4741): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4741): Caused by: java.lang.ClassNotFoundException: android.os

.UserManager

E/AndroidRuntime( 4741): at dalvik.system.BaseDexClassLoader.findClass(Ba

seDexClassLoader.java:61)

E/AndroidRuntime( 4741): at java.lang.ClassLoader.loadClass(ClassLoader.j

ava:501)

E/AndroidRuntime( 4741): at java.lang.ClassLoader.loadClass(ClassLoader.j

ava:461)

E/AndroidRuntime( 4741): ... 18 more

W/ActivityManager( 502): Force finishing activity com.android.settings/.Setti

ngs

I/ActivityManager( 502): Start proc com.sonyericsson.crashmonitor for broadcast

com.sonyericsson.crashmonitor/.receiver.CrashMonitorServiceBroadcastReceiver: p

id=4765 uid=10096 gids={1007, 1015, 1023, 1028}

E/Trace ( 4765): error opening trace file: No such file or directory (2)

D/ActivityThread( 4765): setTargetHeapUtilization:0.25

D/ActivityThread( 4765): setTargetHeapIdealFree:8388608

D/ActivityThread( 4765): setTargetHeapConcurrentStart:2097152

I/CrashMonitor( 4765): CrashMonitorServiceBroadcastReceiver: Forwarding intent:

android.intent.action.DROPBOX_ENTRY_ADDED tag: system_app_crash

I/CrashMonitor( 4765): CrashMonitorService: Service started...

I/ActivityManager( 502): No longer want com.google.android.apps.uploader (pid 4

432): hidden #16

I/CrashMonitor( 4765): CrashMonitorService: onHandleIntent action: android.inten

t.action.DROPBOX_ENTRY_ADDED

D/dalvikvm( 4530): Trying to load lib /data/data/com.sonyericsson.android.bootin

fo/lib/libMiscTaAccessor.so 0x421a3808

D/dalvikvm( 4530): Shared lib '/data/data/com.sonyericsson.android.bootinfo/lib/

libMiscTaAccessor.so' already loaded in same CL 0x421a3808

W/ActivityManager( 502): Activity pause timeout for ActivityRecord{424831d0 com

.android.settings/.Settings}

i have tried to do like this to another apps like Lockscreen and its working fine ! :|