need help with my live wall paper

Discussion in 'Help & Support' started by bsmooth1, May 21, 2013.

  1. bsmooth1 Keeps coming back

    Member Since:
    Apr 29, 2013
    Message Count:
    19
    Likes Received:
    0
    Trophy Points:
    10
    Hello all, the problem that i am having is every time i try to activate my wall paper that i created using this wonderful software I keep getting a error that pops up n says " unfotunately, persian cat has stopped" the name of my wall paper is persina cat. so Im not sure why my wallpaper will not open up and load.

    I upload my apk without any problem to the android market. I was trying to activate the wallpaper on the galaxy note II.

    if anyone has an kind of advice it would be greatly appreciated
  2. James Rebello Active Member

    Member Since:
    Mar 28, 2013
    Message Count:
    70
    Likes Received:
    31
    Trophy Points:
    50
    If you have eclipse installed then you can check the exact error message using logcat. You should always test the wallpaper before uploading it to Google Play
  3. bsmooth1 Keeps coming back

    Member Since:
    Apr 29, 2013
    Message Count:
    19
    Likes Received:
    0
    Trophy Points:
    10
    After reading some of the other forum post I am under the impression that your background picture file size can possibly hinder the wallpaper from opening up on phone. Am I correct in saying that?
  4. James Rebello Active Member

    Member Since:
    Mar 28, 2013
    Message Count:
    70
    Likes Received:
    31
    Trophy Points:
    50
    Having a large picture size causes problems. However in LWC 2.1 the image is scaled down so that might not be the issue. Hence having the logcat output from eclipse would be ideal.
    I you have eclipse and the adt plugin installed you can post the logcat or you can go to this link and follow the instructions on installing the same:
    http://developer.android.com/sdk/installing/installing-adt.html
  5. bsmooth1 Keeps coming back

    Member Since:
    Apr 29, 2013
    Message Count:
    19
    Likes Received:
    0
    Trophy Points:
    10
    here is a list of the errors that are popping up in eclipse.

    Attached Files:

  6. bsmooth1 Keeps coming back

    Member Since:
    Apr 29, 2013
    Message Count:
    19
    Likes Received:
    0
    Trophy Points:
    10
    when i ran log cat this is what i got

    [2013-05-23 20:46:46 - LiveWallpaperSettings] ------------------------------
    [2013-05-23 20:46:46 - LiveWallpaperSettings] Android Launch!
    [2013-05-23 20:46:46 - LiveWallpaperSettings] adb is running normally.
    [2013-05-23 20:46:46 - LiveWallpaperSettings] No Launcher activity found!
    [2013-05-23 20:46:46 - LiveWallpaperSettings] The launch will only sync the application package on the device!
    [2013-05-23 20:46:46 - LiveWallpaperSettings] Performing sync
    [2013-05-23 20:46:47 - LiveWallpaperSettings] Automatic Target Mode: launching new emulator with compatible AVD 'WVGA854'
    [2013-05-23 20:46:47 - LiveWallpaperSettings] Launching a new emulator with Virtual Device 'WVGA854'
    [2013-05-23 20:46:57 - Emulator] Failed to create Context 0x3005
    [2013-05-23 20:46:57 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
    [2013-05-23 20:47:00 - Emulator] emulator: emulator window was out of view and was recentered
    [2013-05-23 20:47:00 - Emulator]
    [2013-05-23 20:47:01 - LiveWallpaperSettings] New emulator found: emulator-5554
    [2013-05-23 20:47:01 - LiveWallpaperSettings] Waiting for HOME ('android.process.acore') to be launched...
    [2013-05-23 20:48:42 - LiveWallpaperSettings] HOME is up on device 'emulator-5554'
    [2013-05-23 20:48:42 - LiveWallpaperSettings] Uploading LiveWallpaperSettings.apk onto device 'emulator-5554'
    [2013-05-23 20:48:48 - LiveWallpaperSettings] Failed to install LiveWallpaperSettings.apk on device 'emulator-5554': timeout
    [2013-05-23 20:48:48 - LiveWallpaperSettings] Launch canceled!

    where am i going wrong??
  7. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    167
    Trophy Points:
    500
    Those are just warnings. They won't break your app.

    This is not logcat. It's your console log. It looks like your installation timed out before it could install. I would try it again.

    It should say installation successful. When it says that, open the app on the emulator and then click on the logcat tab in Eclipse. Should be near your console tab somewhere. Paste the red messages that relate to your app here.
  8. James Rebello Active Member

    Member Since:
    Mar 28, 2013
    Message Count:
    70
    Likes Received:
    31
    Trophy Points:
    50
    This log suggests a problem when installing when trying to install the LWP on the emulator . Can you try connecting your actual device and installing it. You can post the logcat for the device.
    Note: If you have not enabled USB debugging on the phone then first enable it and connect it to your PC. Check whether the device is visible in the DDMS view in eclipse. If it's not you would have to install drivers for your device
  9. bsmooth1 Keeps coming back

    Member Since:
    Apr 29, 2013
    Message Count:
    19
    Likes Received:
    0
    Trophy Points:
    10
    HERE IS THE LIST OF ERRORS USING the log cat. I know it should not be this hard to get a wallpaper installed and working just cannot figure out what the problem is. Upon adding the project to eclipse i changed the name of the project and went to all the according files to make sure that the name matched up with all the other files. In this attempt i did not try to add any advertising code. Im not sure if its just the emulator on my pc that is acting up but i am proceeding trying to directly add the wall paper to my android device


    05-24 15:08:41.418: E/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
    05-24 15:08:41.418: E/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
    05-24 15:08:41.418: E/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
    05-24 15:08:41.418: E/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
    05-24 15:09:18.207: E/BatteryService(61): usbOnlinePath not found
    05-24 15:09:18.207: E/BatteryService(61): batteryVoltagePath not found
    05-24 15:09:18.207: E/BatteryService(61): batteryTemperaturePath not found
    05-24 15:09:18.287: E/SurfaceFlinger(61): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    05-24 15:09:34.147: E/EventHub(61): could not get driver version for /dev/input/mouse0, Not a typewriter
    05-24 15:09:34.147: E/EventHub(61): could not get driver version for /dev/input/mice, Not a typewriter
    05-24 15:09:35.318: E/System(61): Failure starting core service
    05-24 15:09:35.318: E/System(61): java.lang.SecurityException
    05-24 15:09:35.318: E/System(61):at android.os.BinderProxy.transact(Native Method)
    05-24 15:09:35.318: E/System(61):at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    05-24 15:09:35.318: E/System(61):at android.os.ServiceManager.addService(ServiceManager.java:72)
    05-24 15:09:35.318: E/System(61):at com.android.server.ServerThread.run(SystemServer.java:176)
    05-24 15:09:35.349: E/AndroidRuntime(61): Crash logging skipped, no checkin service
    05-24 15:09:59.340: E/MediaPlayerService(31): Couldn't open fd for content://settings/system/notification_sound
    05-24 15:09:59.387: E/MediaPlayer(61): Unable to to create media player
    05-24 15:10:07.842: E/ActivityThread(107): Failed to find provider info for android.server.checkin
    05-24 15:10:25.352: E/ActivityThread(107): Failed to find provider info for android.server.checkin
    05-24 15:10:31.712: E/ActivityThread(107): Failed to find provider info for android.server.checkin
    05-24 15:11:00.601: E/Database(194): sqlite3_open_v2("/data/data/com.android.email/databases/EmailProvider.db", &handle, 6, NULL) failed
    05-24 15:11:00.713: E/AndroidRuntime(194): Uncaught handler: thread Thread-9 exiting due to uncaught exception
    05-24 15:11:00.831: E/AndroidRuntime(194): java.lang.NullPointerException
    05-24 15:11:00.831: E/AndroidRuntime(194):at com.android.email.Controller$7.run(Controller.java:491)
    05-24 15:11:01.091: E/ActivityThread(61): Failed to find provider info for android.server.checkin
    05-24 15:11:01.104: E/Checkin(61): Error reporting crash: java.lang.IllegalArgumentException: Unknown URL content://android.server.checkin/crashes
    05-24 15:11:02.661: E/Database(194): sqlite3_open_v2("/data/data/com.android.email/databases/EmailProvider.db", &handle, 6, NULL) failed
    05-24 15:11:02.791: E/AndroidRuntime(194): Uncaught handler: thread main exiting due to uncaught exception
    05-24 15:11:03.402: E/AndroidRuntime(194): java.lang.RuntimeException: Unable to create service com.android.exchange.SyncManager: android.database.sqlite.SQLiteException: unable to open database file
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.app.ActivityThread.handleCreateService(ActivityThread.java:2790)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.app.ActivityThread.access$3200(ActivityThread.java:119)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1917)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.os.Handler.dispatchMessage(Handler.java:99)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.os.Looper.loop(Looper.java:123)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.app.ActivityThread.main(ActivityThread.java:4363)
    05-24 15:11:03.402: E/AndroidRuntime(194):at java.lang.reflect.Method.invokeNative(Native Method)
    05-24 15:11:03.402: E/AndroidRuntime(194):at java.lang.reflect.Method.invoke(Method.java:521)
    05-24 15:11:03.402: E/AndroidRuntime(194):at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
    05-24 15:11:03.402: E/AndroidRuntime(194):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
    05-24 15:11:03.402: E/AndroidRuntime(194):at dalvik.system.NativeStart.main(Native Method)
    05-24 15:11:03.402: E/AndroidRuntime(194): Caused by: android.database.sqlite.SQLiteException: unable to open database file
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1698)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:739)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:761)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:754)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:473)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
    05-24 15:11:03.402: E/AndroidRuntime(194):at com.android.email.provider.EmailProvider.getDatabase(EmailProvider.java:532)
    05-24 15:11:03.402: E/AndroidRuntime(194):at com.android.email.provider.EmailProvider.query(EmailProvider.java:838)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.content.ContentProvider$Transport.query(ContentProvider.java:130)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.content.ContentResolver.query(ContentResolver.java:202)
    05-24 15:11:03.402: E/AndroidRuntime(194):at com.android.exchange.SyncManager$AccountObserver.<init>(SyncManager.java:404)
    05-24 15:11:03.402: E/AndroidRuntime(194):at com.android.exchange.SyncManager.onCreate(SyncManager.java:798)
    05-24 15:11:03.402: E/AndroidRuntime(194):at android.app.ActivityThread.handleCreateService(ActivityThread.java:2780)
    05-24 15:11:03.402: E/AndroidRuntime(194):... 10 more
    05-24 15:11:04.412: E/gralloc(61): [unregister] handle 0x485830 still locked (state=40000001)
  10. James Rebello Active Member

    Member Since:
    Mar 28, 2013
    Message Count:
    70
    Likes Received:
    31
    Trophy Points:
    50
    Ok here's a detailed list of steps
    1. After you import your project it should look like this

    1.png

    2. Once you get this go to DDMS view and see if your device is listed

    2.png

    3. Then open your logcat and run the app. Error messages in logcat will appear in red. Select all the red lines and export it as a text file or your can printscreen

    3.png

Share This Page