简体   繁体   English

我的应用程序可以在仿真器2.1 / 2.2上正常运行,但不能在2.2设备上运行

[英]My application runs fine on emulator 2.1/2.2 but not on a 2.2 device

Ive written an app and had the build target set as Gingerbread. 我编写了一个应用程序,并将构建目标设置为Gingerbread。 Ive followed the beginning android games book and so the opengles ive used is v1.0. Ive遵循了开始的android游戏书,因此使用的opengles ive是v1.0。 Ive not written any specific features that need v2.3 or up. 我没有编写任何需要v2.3或更高版本的特定功能。 The min sdk is v7 and the target is 10. THe app runs perfectly on my gingerbread phone and ICS tablet. 最小SDK为v7,目标为10。该应用程序可以在我的姜饼手机和ICS平板电脑上完美运行。 It runs fine on the 2.1 and 2.2 emulator. 它可以在2.1和2.2模拟器上正常运行。 But on on a 2.2 device(a motorola). 但是在2.2设备(摩托罗拉)上。 THe app installs fine but hangs on a white screen? 该应用可以很好地安装但挂在白屏上吗? Any ideas? 有任何想法吗? thanks 谢谢

Enable USB debugging on your phone then run your app on your phone instead of the emulator. 在手机上启用USB调试,然后在手机上而不是模拟器上运行应用程序。 and see what errors come up on the cat log 并查看cat日志上出现了什么错误

I found the problem. 我发现了问题。 I thought i had my texture dimensions at power of two values. 我以为我的纹理尺寸是两个值的幂。 But I didnt. 但是我没有。 Rescaled and it works fine 重新缩放,效果很好

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在2.2设备上测试我的2.1 android应用程序? - how to test my 2.1 android application on 2.2 device? Android 2.1模拟器中的Javascript注入问题,但在2.2中很好 - Javascript injection problem in Android 2.1 emulator but fine in 2.2 在Android 2.1上支持我的Android 2.2应用程序 - Supporting my Android 2.2 application on Android 2.1 如何在Android 2.2模拟器或Android 2.1设备中使用地理编码器 - how to use geocoder in android 2.2 emulator or android 2.1 device 应用程序在模拟器上运行良好,但在设备上显示NoClassDefFoundError - Application runs fine on emulator but gives NoClassDefFoundError on device 编译的JNI库(libmupdf.so),适用于Android 2.2和Android模拟器,但在android 2.1上失败 - Compiled JNI library (libmupdf.so), working fine for android 2.2 & Android emulator, but failing on android 2.1 Android数据库应用程序在模拟器上运行良好,但在设备上显示错误 - Android database application runs fine on emulator but gives an error on the device addView在android 2.2上崩溃,在2.1和1.6上正常工作 - addView crashes on android 2.2, works fine on 2.1 and 1.6 在模拟器2.3中而不是在Android 2.2中的onLowMemory应用程序? - Application onLowMemory in Emulator 2.3 and not in 2.2 in android? 在模拟器2.2中安装Android Market应用程序 - Installing android market application in emulator 2.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM