Deepu Mandy
Deepu Mandy

Reputation: 117

why Android live wall paper in not setting? its forcably closing. why?

i downloaded the Acquarium live wall paper, when i run on eclipse it shows no errors, but in console its is showing the following message

                                                Android Launch!
  [2012-05-25 14:55:43 - LiveAquariumWallpaper] adb is running normally.
  [2012-05-25 14:55:43 - LiveAquariumWallpaper] **No Launcher activity found!**
  [2012-05-25 14:55:43 - LiveAquariumWallpaper] **The launch will only sync the application package on the device!**
  [2012-05-25 14:55:43 - LiveAquariumWallpaper] Performing sync
  [2012-05-25 14:55:43 - LiveAquariumWallpaper] Automatic Target Mode: Preferred AVD 'deepi-8' is available on emulator 'emulator-5556'
  [2012-05-25 14:55:45 - LiveAquariumWallpaper] Application already deployed. No need to reinstall.
  [2012-05-25 14:55:45 - LiveAquariumWallpaper] \LiveAquariumWallpaper\bin\LiveAquariumWallpaper.apk installed on device
  [2012-05-25 14:55:45 - LiveAquariumWallpaper] Done!

why i am getting this message, if i try to set menu-> live wall papers->Aquarium-> set wall paper, not setting, unfortunately closing . why? whats the reason for it? in Logcat: here

Upvotes: 0

Views: 223

Answers (2)

Andro Selva
Andro Selva

Reputation: 54322

You are making use of a big Bitmap which is leading you to Out Of memory. As you can see this line,

05-25 15:21:04.276: E/AndroidRuntime(360):   at android.graphics.Bitmap.nativeCreate(Native Method)
05-25 15:21:04.276: E/AndroidRuntime(360):   at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
05-25 15:21:04.276: E/AndroidRuntime(360):   at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
05-25 15:21:04.276: E/AndroidRuntime(360):   at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)

You have to find out ways to reduce the Bitmap Size by scaling it or by using a smaller Bitmap.

We have hell a lot of discussion about OOM here. take a look at these and find out a way to reslove it.

https://stackoverflow.com/search?q=out+of+memory+android

Upvotes: 1

Thamilvanan
Thamilvanan

Reputation: 385

Your apk is installed properly but it wont show ur output like normal application.so u need to set as livewallper.in real Device if u LongTouch the home Screen it will show wallpapers to set by selecting this one u ll find ur installed wallpaper apk.by selecting that apk u ll see the wallpaper on screen.

Upvotes: 0

Related Questions