About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
Android problem
Author Message
kulesz Offline
Member

Post: #1
Android problem
After running fresh project (did anything like in documentation) I got in LogCat:

Code:
11-05 12:43:28.439: W/dalvikvm(31582): threadid=1: thread exiting with uncaught exception (group=0x40018578)
11-05 12:43:28.459: E/AndroidRuntime(31582): FATAL EXCEPTION: main
11-05 12:43:28.459: E/AndroidRuntime(31582): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esenthel.Project/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to find native library: Project
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.os.Handler.dispatchMessage(Handler.java:99)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.os.Looper.loop(Looper.java:123)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.ActivityThread.main(ActivityThread.java:3687)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at java.lang.reflect.Method.invokeNative(Native Method)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at java.lang.reflect.Method.invoke(Method.java:507)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at dalvik.system.NativeStart.main(Native Method)
11-05 12:43:28.459: E/AndroidRuntime(31582): Caused by: java.lang.IllegalArgumentException: Unable to find native library: Project
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.NativeActivity.onCreate(NativeActivity.java:187)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-05 12:43:28.459: E/AndroidRuntime(31582):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
11-05 12:43:28.459: E/AndroidRuntime(31582):     ... 11 more

And the application crashes (it didn't even show the graphics).
And log from all process:
Code:
11-05 12:47:42.039: D/AndroidRuntime(31720): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-05 12:47:42.039: D/AndroidRuntime(31720): CheckJNI is OFF
11-05 12:47:42.039: D/AndroidRuntime(31720): setted country_code = Poland
11-05 12:47:42.039: D/AndroidRuntime(31720): setted sales_code = TPL
11-05 12:47:42.039: D/AndroidRuntime(31720): found sales_code tag = <TPL>, </TPL>
11-05 12:47:42.039: E/AndroidRuntime(31720): /system/csc/feature.xml ==> cannot open file
11-05 12:47:42.279: D/AndroidRuntime(31720): Calling main entry com.android.commands.pm.Pm
11-05 12:47:42.339: W/ActivityManager(162): No content provider found for:
11-05 12:47:42.569: W/FastDormancy(229):  before ======= ENTER DORMANCY =======
11-05 12:47:44.699: W/ActivityManager(162): No content provider found for:
11-05 12:47:44.709: D/PackageParser(162): Scanning package: /data/app/vmdl1627209941.tmp
11-05 12:47:45.539: I/PackageManager(162): Removing non-system package:com.esenthel.Project
11-05 12:47:45.539: I/ActivityManager(162): Force stopping package com.esenthel.Project uid=10000
11-05 12:47:45.739: D/PackageManager(162): Scanning package com.esenthel.Project
11-05 12:47:45.739: I/PackageManager(162): Package com.esenthel.Project codePath changed from /data/app/com.esenthel.Project-2.apk to /data/app/com.esenthel.Project-1.apk; Retaining data and using new
11-05 12:47:45.739: I/PackageManager(162): Unpacking native libraries for /data/app/com.esenthel.Project-1.apk
11-05 12:47:45.789: W/NativeHelper(162): Native ABI mismatch from package file
11-05 12:47:45.789: I/ActivityManager(162): Force stopping package com.esenthel.Project uid=10000
11-05 12:47:45.789: W/PackageManager(162): Code path for pkg : com.esenthel.Project changing from /data/app/com.esenthel.Project-2.apk to /data/app/com.esenthel.Project-1.apk
11-05 12:47:45.789: D/PackageManager(162):   Activities: android.app.NativeActivity
11-05 12:47:45.789: W/PackageManager(162): Resource path for pkg : com.esenthel.Project changing from /data/app/com.esenthel.Project-2.apk to /data/app/com.esenthel.Project-1.apk
11-05 12:47:46.009: D/PackageManager(162): New package installed in /data/app/com.esenthel.Project-1.apk
11-05 12:47:46.009: W/PackageManager(162): Not granting permission android.permission.READ_FRAME_BUFFER to package com.esenthel.Project (protectionLevel=2 flags=0x8be42)
11-05 12:47:46.169: I/ActivityManager(162): Force stopping package com.esenthel.Project uid=10000
11-05 12:47:46.359: V/PackageIntentReceiver(30590): onReceive() intent:Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.esenthel.Project flg=0x10000000 cmp=com.sec.android.app.controlpanel/.PackageIntentReceiver (has extras) } pkg:com.esenthel.Project action:android.intent.action.PACKAGE_REMOVED
11-05 12:47:46.399: W/PackageManager(162): Unable to load service info ResolveInfo{40aeba38 com.android.exchange.TasksSyncAdapterService p=0 o=0 m=0x108000}
11-05 12:47:46.399: W/PackageManager(162): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-05 12:47:46.399: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCa​che.java:391)
11-05 12:47:46.399: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredService​sCache.java:260)
11-05 12:47:46.399: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.j​ava:110)
11-05 12:47:46.399: W/PackageManager(162):     at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-05 12:47:46.399: W/PackageManager(162):     at android.os.Handler.handleCallback(Handler.java:587)
11-05 12:47:46.399: W/PackageManager(162):     at android.os.Handler.dispatchMessage(Handler.java:92)
11-05 12:47:46.399: W/PackageManager(162):     at android.os.Looper.loop(Looper.java:123)
11-05 12:47:46.399: W/PackageManager(162):     at com.android.server.ServerThread.run(SystemServer.java:630)
11-05 12:47:46.409: W/PackageManager(162): Unable to load service info ResolveInfo{40adf460 com.android.exchange.NotesSyncAdapterService p=0 o=0 m=0x108000}
11-05 12:47:46.409: W/PackageManager(162): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-05 12:47:46.409: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCa​che.java:391)
11-05 12:47:46.409: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredService​sCache.java:260)
11-05 12:47:46.409: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.j​ava:110)
11-05 12:47:46.409: W/PackageManager(162):     at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-05 12:47:46.409: W/PackageManager(162):     at android.os.Handler.handleCallback(Handler.java:587)
11-05 12:47:46.409: W/PackageManager(162):     at android.os.Handler.dispatchMessage(Handler.java:92)
11-05 12:47:46.409: W/PackageManager(162):     at android.os.Looper.loop(Looper.java:123)
11-05 12:47:46.409: W/PackageManager(162):     at com.android.server.ServerThread.run(SystemServer.java:630)
11-05 12:47:46.419: W/PackageManager(162): Unable to load service info ResolveInfo{40a06c40 com.android.exchange.TasksSyncAdapterService p=0 o=0 m=0x108000}
11-05 12:47:46.419: W/PackageManager(162): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-05 12:47:46.419: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCa​che.java:391)
11-05 12:47:46.419: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredService​sCache.java:260)
11-05 12:47:46.419: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.j​ava:110)
11-05 12:47:46.419: W/PackageManager(162):     at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-05 12:47:46.419: W/PackageManager(162):     at android.os.Handler.handleCallback(Handler.java:587)
11-05 12:47:46.419: W/PackageManager(162):     at android.os.Handler.dispatchMessage(Handler.java:92)
11-05 12:47:46.419: W/PackageManager(162):     at android.os.Looper.loop(Looper.java:123)
11-05 12:47:46.419: W/PackageManager(162):     at com.android.server.ServerThread.run(SystemServer.java:630)
11-05 12:47:46.449: W/PackageManager(162): Unable to load service info ResolveInfo{40a067b8 com.android.exchange.NotesSyncAdapterService p=0 o=0 m=0x108000}
11-05 12:47:46.449: W/PackageManager(162): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-05 12:47:46.449: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCa​che.java:391)
11-05 12:47:46.449: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredService​sCache.java:260)
11-05 12:47:46.449: W/PackageManager(162):     at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.j​ava:110)
11-05 12:47:46.449: W/PackageManager(162):     at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-05 12:47:46.449: W/PackageManager(162):     at android.os.Handler.handleCallback(Handler.java:587)
11-05 12:47:46.449: W/PackageManager(162):     at android.os.Handler.dispatchMessage(Handler.java:92)
11-05 12:47:46.449: W/PackageManager(162):     at android.os.Looper.loop(Looper.java:123)
11-05 12:47:46.449: W/PackageManager(162):     at com.android.server.ServerThread.run(SystemServer.java:630)
11-05 12:47:46.459: D/BatteryService(162): update start
11-05 12:47:46.459: D/BatteryService(162): update start
11-05 12:47:46.459: D/BatteryService(162): update start
11-05 12:47:46.489: D/UNA(15308): The Package is not preload
11-05 12:47:46.609: D/InstallReceiver(31542): com.esenthel.Project
11-05 12:47:46.619: V/PackageIntentReceiver(30590): onReceive() intent:Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.esenthel.Project flg=0x10000000 cmp=com.sec.android.app.controlpanel/.PackageIntentReceiver (has extras) } pkg:com.esenthel.Project action:android.intent.action.PACKAGE_ADDED
11-05 12:47:46.829: D/UNA(15308): The Package is not preload
11-05 12:47:46.899: I/com.keramidas.TitaniumBackup.schedules.BootReceiver(31642): Application package was replaced (eg: upgraded) => Scheduling next wake-up ...
11-05 12:47:46.899: I/com.keramidas.TitaniumBackup.schedules.SchedulerService(31642): scheduleNextWakeup(): Invoked with idToExcludeForToday=null
11-05 12:47:47.019: I/com.keramidas.TitaniumBackup.schedules.SchedulerService(31642): scheduleNextWakeup(): No next wakeup scheduled.
11-05 12:47:47.079: E/installd(98): Couldn't unlink /data/dalvik-cache/data@app@com.esenthel.Project-2.apk@classes.dex: No such file or directory
11-05 12:47:47.079: D/AndroidRuntime(31720): Shutting down VM
11-05 12:47:47.079: W/PackageManager(162): Couldn't remove dex file for package:  at location /data/app/com.esenthel.Project-2.apk, retcode=-1
11-05 12:47:47.449: D/AndroidRuntime(31733): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-05 12:47:47.449: D/AndroidRuntime(31733): CheckJNI is OFF
11-05 12:47:47.449: D/AndroidRuntime(31733): setted country_code = Poland
11-05 12:47:47.449: D/AndroidRuntime(31733): setted sales_code = TPL
11-05 12:47:47.449: D/AndroidRuntime(31733): found sales_code tag = <TPL>, </TPL>
11-05 12:47:47.449: E/AndroidRuntime(31733): /system/csc/feature.xml ==> cannot open file
11-05 12:47:47.579: W/FastDormancy(229):  before ======= ENTER DORMANCY =======
11-05 12:47:47.689: D/AndroidRuntime(31733): Calling main entry com.android.commands.am.Am
11-05 12:47:47.699: I/ActivityManager(162): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.esenthel.Project/android.app.NativeActivity } from pid 31733
11-05 12:47:47.739: D/AndroidRuntime(31733): Shutting down VM
11-05 12:47:47.739: I/ActivityManager(162): Start proc com.esenthel.Project for activity com.esenthel.Project/android.app.NativeActivity: pid=31741 uid=10000 gids={1015, 3003}
11-05 12:47:47.749: I/AndroidRuntime(31733): NOTE: attach of thread 'Binder Thread #3' failed
11-05 12:47:47.839: I/OrientationDebug(162): [pwm] in updateOrientationListenerLp()
11-05 12:47:47.839: V/OrientationDebug(162): in updateOrientationListenerLp(), Screen status=true, current orientation=10, SensorEnabled=false
11-05 12:47:47.839: I/OrientationDebug(162): [pwm] needSensorRunningLp(), return true #1
11-05 12:47:47.839: I/OrientationDebug(162): [pwm] in updateOrientationListenerLp(), now call mOrientationListener.enable(), and mOrientationSensorEnabled = true #1
11-05 12:47:47.839: I/OrientationDebug(162): [WindowOrientationListener] in enable(), now call SensorManager.registerListener()
11-05 12:47:47.839: E/SensorManager(162): registerListener :: handle = 0  name= BMA220 delay= 60000 Listener= android.view.WindowOrientationListener$SensorEventListenerImpl@40767a18
11-05 12:47:47.839: E/SensorHAL(162): +__poll_activate: handle=0 enabled=1
11-05 12:47:47.849: E/SensorHAL(162): > Accelerometer Write /sys/class/input/input3/enable 1
11-05 12:47:47.849: E/SensorManager(162): reg :: handle = 0
11-05 12:47:47.929: D/AndroidRuntime(31741): Shutting down VM
11-05 12:47:47.929: W/dalvikvm(31741): threadid=1: thread exiting with uncaught exception (group=0x40018578)
11-05 12:47:47.959: E/AndroidRuntime(31741): FATAL EXCEPTION: main
11-05 12:47:47.959: E/AndroidRuntime(31741): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esenthel.Project/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to find native library: Project
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.os.Handler.dispatchMessage(Handler.java:99)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.os.Looper.loop(Looper.java:123)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.ActivityThread.main(ActivityThread.java:3687)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at java.lang.reflect.Method.invokeNative(Native Method)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at java.lang.reflect.Method.invoke(Method.java:507)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at dalvik.system.NativeStart.main(Native Method)
11-05 12:47:47.959: E/AndroidRuntime(31741): Caused by: java.lang.IllegalArgumentException: Unable to find native library: Project
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.NativeActivity.onCreate(NativeActivity.java:187)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-05 12:47:47.959: E/AndroidRuntime(31741):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
11-05 12:47:47.959: E/AndroidRuntime(31741):     ... 11 more
11-05 12:47:47.959: E/(162): Dumpstate > /data/log/dumpstate_app_error
11-05 12:47:47.959: W/ActivityManager(162):   Force finishing activity com.esenthel.Project/android.app.NativeActivity
11-05 12:47:48.349: I/OrientationDebug(162): [pwm] in updateOrientationListenerLp()
11-05 12:47:48.349: V/OrientationDebug(162): in updateOrientationListenerLp(), Screen status=true, current orientation=-1, SensorEnabled=true
11-05 12:47:48.349: I/OrientationDebug(162): [pwm] needSensorRunningLp(), return false #3
11-05 12:47:48.349: I/OrientationDebug(162): [pwm] in updateOrientationListenerLp(), now call mOrientationListener.disable(), and mOrientationSensorEnabled = false #2
11-05 12:47:48.349: I/OrientationDebug(162): [WindowOrientationListener] in disable(), now call SensorManager.unregisterListener()
11-05 12:47:48.349: E/SensorManager(162): unregisterListener:: all sensors,  listener = android.view.WindowOrientationListener$SensorEventListenerImpl@40767a18
11-05 12:47:48.349: E/SensorHAL(162): +__poll_activate: handle=0 enabled=0
11-05 12:47:48.349: E/SensorHAL(162): > Accelerometer Write /sys/class/input/input3/enable 0

BTW, it's Samsung Galaxy Ace (2.3.3)
(This post was last modified: 11-05-2011 12:50 PM by kulesz.)
11-05-2011 12:46 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Android problem
Are you running project from sdk ?
What device do you have?
Does it support Android 2.3 and ARMV7?
Did you try other devices?
11-05-2011 12:52 PM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #3
RE: Android problem
I'm running on Samsung Galaxy Ace, it's Android 2.3.3 with Qualcomm MSM7225. Hmm, according to specs, it supports ARMv6 instruction set :-/
I'll test with other devices later.
(This post was last modified: 11-05-2011 01:01 PM by kulesz.)
11-05-2011 01:00 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Android problem
I'll upload in a second EE SDK with ARMV7 and ARMV5
I thought that most android 2.3 devices have armv7 support.
11-05-2011 01:01 PM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #5
RE: Android problem
I've just checked a bit, it seems that a lot of them doesn't have ARMv7 support (not including the new high-end phones, comparable to netbooks :-))
11-05-2011 01:04 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Android problem
does it support opengl es 2.0?
11-05-2011 01:04 PM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #7
RE: Android problem
BTW, when can we expect the ARMv5 SDK upload?
As far as I know, it should support OpenGL ES 2.0.
(This post was last modified: 11-05-2011 01:07 PM by kulesz.)
11-05-2011 01:05 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: Android problem
I'm compiling it now.
Should be available within ~30 minutes.
11-05-2011 01:08 PM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #9
RE: Android problem
OK, great.
In the afternoon I'll test it on the Motorola Defy also (ARM Cortex-A8 with ARMv7 support, but slower frequency) and maybe on Samsung i5510.
11-05-2011 01:12 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #10
RE: Android problem
thanks! looking forward to get feedback if it works ok.
new sdk is being uploaded, should be finished in around ~13 minutes, once it's ready, I'll make a post in version history thread.
11-05-2011 01:22 PM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #11
RE: Android problem
Thanks Esenthel, works on Samsung Galaxy Ace now.
About 90 fps without touching.
11-05-2011 01:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #12
RE: Android problem
Thanks!
So I see that not all Android devices have vsync forced. (Mine HTC Evo 3d has fps limited to 60)
I'll do more research on android vsync.
11-05-2011 02:00 PM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #13
RE: Android problem
Yes, that intrigued me too. I expected to have 60fps limit, but I'll also look into it.
(This post was last modified: 11-05-2011 02:04 PM by kulesz.)
11-05-2011 02:04 PM
Find all posts by this user Quote this message in a reply
Post Reply