When I tried to run the Android Application of Run Android application on the Simulator or Emulator.I see Logcat errors

IAM working for BB 10

Need to port to android BB

Please resolve these issues.

11-05 14:56:47.049: E/AndroidRuntime (1626): FATAL error: main
{11-05 14:56:47.049: E/AndroidRuntime (1626): java.lang.RuntimeException: could not start the activity ComponentInfo{com.tru/com.yupptv.android.yupptv.MainActivity}: java.lang.UnsupportedOperationException: device doesn't have a package com.google.android.gsf
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
11-05 14:56:47.049: E/AndroidRuntime (1626): to android.app.ActivityThread$ H.handleMessage (ActivityThread.java:1234)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.os.Handler.dispatchMessage(Handler.java:99)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.os.Looper.loop(Looper.java:137)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.main(ActivityThread.java:5039)
11-05 14:56:47.049: E/AndroidRuntime (1626): at java.lang.reflect.Method.invokeNative (Native Method)
11-05 14:56:47.049: E/AndroidRuntime (1626): at java.lang.reflect.Method.invoke(Method.java:511)
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
11-05 14:56:47.049: E/AndroidRuntime (1626): at dalvik.system.NativeStart.main (Native Method)
11-05 14:56:47.049: E/AndroidRuntime (1626): due: java.lang.UnsupportedOperationException: device doesn't have a package com.google.android.gsf
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98)
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.yupptv.android.yupptv.BaseActivity.onCreate(BaseActivity.java:189)
11-05 14:56:47.049: E/AndroidRuntime (1626): at com.yupptv.android.yupptv.MainActivity.onCreate(MainActivity.java:68)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.Activity.performCreate(Activity.java:5104)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
11-05 14:56:47.049: E/AndroidRuntime (1626): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
11-05 14:56:47.049: E/AndroidRuntime (1626):... 11 more

It is true, that we don't have gsf (google services framework), which is not part of the open source android.

It is not something we "can just fix.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for