01-05 18:37:27.540: E/DCloudApplication(3500): onTrimMemory
我看logchat 只报这个异常....
我怀疑内存溢出 把一开始预加载的都去掉
结果打印这个错...
01-05 19:05:43.270: E/AudioManagerAndroid(5318): BLUETOOTH permission is missing!
01-05 19:05:45.640: E/AndroidRuntime(5318): FATAL EXCEPTION: main
01-05 19:05:45.640: E/AndroidRuntime(5318): Process: maya.pparking, PID: 5318
01-05 19:05:45.640: E/AndroidRuntime(5318): java.lang.IllegalStateException: you have not supplyed the global app context info from SDKInitializer.initialize(Context) function.
01-05 19:05:45.640: E/AndroidRuntime(5318): at com.baidu.mapapi.a.b(Unknown Source)
01-05 19:05:45.640: E/AndroidRuntime(5318): at com.baidu.mapapi.map.MapView.a(Unknown Source)
01-05 19:05:45.640: E/AndroidRuntime(5318): at com.baidu.mapapi.map.MapView.<init>(Unknown Source)
01-05 19:05:45.640: E/AndroidRuntime(5318): at io.dcloud.js.map.adapter.DHMapView.<init>(DHMapView.java:91)
01-05 19:05:45.640: E/AndroidRuntime(5318): at io.dcloud.js.map.adapter.DHMapFrameItem$MapHandler.handleMessage(DHMapFrameItem.java:454)
01-05 19:05:45.640: E/AndroidRuntime(5318): at android.os.Handler.dispatchMessage(Handler.java:102)
01-05 19:05:45.640: E/AndroidRuntime(5318): at android.os.Looper.loop(Looper.java:149)
01-05 19:05:45.640: E/AndroidRuntime(5318): at android.app.ActivityThread.main(ActivityThread.java:5045)
01-05 19:05:45.640: E/AndroidRuntime(5318): at java.lang.reflect.Method.invokeNative(Native Method)
01-05 19:05:45.640: E/AndroidRuntime(5318): at java.lang.reflect.Method.invoke(Method.java:515)
01-05 19:05:45.640: E/AndroidRuntime(5318): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
01-05 19:05:45.640: E/AndroidRuntime(5318): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610)
01-05 19:05:45.640: E/AndroidRuntime(5318): at dalvik.system.NativeStart.main(Native Method)
ps:纠结的是我用hbuilder直接调试倒可以运行 打包装过去就是报这些错
1 个回复
kon (作者)
台电的 x80hd 4.4.4
intel的cpu
嗯基本测试的apad都是 intel的cpu....