English 中文(简体)
为什么机器人的活墙纸不设好?
原标题:why Android live wall paper in not setting? its forcably closing. why?

我下载了水族馆的活壁纸 当我在日食上运行时 它没有误差 但是在控制台里 它展示了以下信息

                                                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] LiveAquariumWallpaperinLiveAquariumWallpaper.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

最佳回答

您正在使用一个大 Bitmap, 它引导您找到记忆外。 正如您可以看到这条线,

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)

您必须找到缩小位图大小的方法, 或使用较小的位图来缩小位图大小 。

我们在这里讨论了很多关于OOM的事 看看这些 找出一个方法来重温它

< a href=" "https://stackoverflow.com/search?q=out%20of%20memory%20android" >https://stackoverflow.com/search?q=out+of+memory+android

问题回答

您的 Apk 安装得当, 但是它会像正常程序一样显示 ur 输出 。 所以, 如果 u LongTouch 家用屏幕将显示要设置的壁纸, 则需要设置为 liverwallper. in real 裝置 。 如果 u LongTouch 家用屏幕, 它会显示要设置的壁纸, 选择一个 u, 将会找到 ur 已安装的壁纸 apk., 选择 opk u 在屏幕上看到壁纸 。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签