How can i install Adobe Air on Genymotion emulator - android

I'm trying to install Adobe Air (com.adobe.air) in a Genymotion emulator emulating a Galaxy S4 with android 4.4.4 and I am getting:
Failure [INSTALL_FAILED_INVALID_APK]
With adb logcat I can see:
D/AndroidRuntime( 2350):
D/AndroidRuntime( 2350): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2350): CheckJNI is OFF
D/dalvikvm( 2350): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 2350): Added shared lib libjavacore.so 0x0
D/dalvikvm( 2350): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 2350): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 2350): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 2350): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
E/memtrack( 2350): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 2350): failed to load memtrack module: -2
D/AndroidRuntime( 2350): Calling main entry com.android.commands.pm.Pm
W/ActivityManager( 517): No content provider found for permission revoke: file:///data/local/tmp/Adobe.AIR.v16.0.0.259_www.revdl.com.apk
W/ActivityManager( 517): No content provider found for permission revoke: file:///data/local/tmp/Adobe.AIR.v16.0.0.259_www.revdl.com.apk
I/PackageManager( 517): Copying native libraries to /data/app-lib/vmdl1421280503
D/dalvikvm( 517): GC_FOR_ALLOC freed 1626K, 20% free 10767K/13324K, paused 12ms, total 12ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 309K, 17% free 11063K/13324K, paused 9ms, total 9ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 1138K, 17% free 11163K/13324K, paused 11ms, total 11ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 1036K, 17% free 11173K/13324K, paused 11ms, total 12ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 996K, 17% free 11171K/13324K, paused 9ms, total 10ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 985K, 17% free 11176K/13324K, paused 11ms, total 12ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 987K, 17% free 11184K/13324K, paused 9ms, total 9ms
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = org.mozilla.firefox
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = org.mozilla.firefox_beta
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = com.good.android.gfe
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = com.adobe.air
I/PackageManager( 517): Package with second ABI is in black list: 10079com.adobe.air
W/PackageManager( 517): Package couldn't be installed in /data/app/com.adobe.air-1.apk
D/dalvikvm( 517): GC_EXPLICIT freed 1038K, 17% free 11162K/13324K, paused 1ms+1ms, total 12ms
D/AndroidRuntime( 2350): Shutting down VM
I noted the following piece in the log:
D/xmlCheckExt( 517): pkgName = com.adobe.air
I/PackageManager( 517): Package with second ABI is in black list: 10079com.adobe.air
But when I try:
adb shell pm unblock com.adobe.air
I'm getting:
Package com.adobe.air new blocked state: true
How can I unblock / remove from the blacklist Adobe Air package?

I think that you could find the apk in the sdk folder. In mac is here:
/Applications/Research In Motion/blackberry-tablet-sdk-3.2.1/runtimes/air

Related

what is updateColorViewInt()if drawable=null color and how to fix it

I am making an app when I started my app in emulator like bluestack then it show this logcat and finish it self
02-25 00:32:21.401 850-850/com.tricknearn.app D/dalvikvm: Late-enabling CheckJNI
02-25 00:32:21.601 850-850/com.tricknearn.app D/dalvikvm: GC_FOR_ALLOC freed 70K, 28% free 2690K/3728K, paused 20ms, total 40ms
02-25 00:32:21.651 850-850/com.tricknearn.app I/dalvikvm-heap: Grow heap (frag case) to 9.065MB for 6720012-byte allocation
02-25 00:32:21.661 850-859/com.tricknearn.app D/dalvikvm: GC_FOR_ALLOC freed <1K, 11% free 9252K/10292K, paused 10ms, total 10ms
02-25 00:32:21.671 850-853/com.tricknearn.app D/dalvikvm: GC_CONCURRENT freed <1K, 11% free 9252K/10292K, paused 0ms+0ms, total 0ms
02-25 00:32:22.011 850-850/com.tricknearn.app I/PGA: Attempting to create new SOCKET connectionn pid = 850, tid = 850
02-25 00:32:22.031 850-850/com.tricknearn.app I/PGA: New SOCKET connection: com.tricknearn.app (pid 850, tid 850)
02-25 00:32:23.261 850-850/com.tricknearn.app W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
And when I start this app in mobile device it shows logcat :
02-25 00:38:10.804 17347-17347/com.tricknearn.app V/PhoneWindow: updateColorViewInt()if drawable=null color=-14057287
what does these means and how to fix these. I don't know about that I tried to find this but i did't get usefull information.Need help guys. Thanks in advance.
Output from your phone is correct. Last message means -> if drawable wasn't set then background have white color (-14057287 == white). In output i see only debug, info, verbose and one warning - you don't get any error. Dalvik send to you info that garbage collector works and your heap are growing. What are your question?

Android: Random crash issue

I am getting a random crash but I am not able to figure out where exactly in the code it is happening.
The app suddenly exits randomly.
This comes around the time when when I am trying to populate a list using ListUI. But not sure of the reason.
The relevent stack trace is mentioned below. Could someone please give me direction, as to what kind of problem could be leading to this issue.
W/InputDispatcher( 188): channel '4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 188): channel '4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 188): Attempted to unregister already unregistered input channel '4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity (server)'
I/ActivityManager( 188): Process com.pv.example.impl (pid 2419) has died.
W/ActivityManager( 188): Force removing ActivityRecord{41748ee8 com.pv.example.impl/.ExampleActivity}: app died, no saved state
I/WindowManager( 188): WIN DEATH: Window{4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity paused=false}
I/WindowManager( 188): WINDOW DIED Window{4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity paused=false}
D/Zygote ( 120): Process 2419 terminated by signal (11)
W/InputManagerService( 188): Got RemoteException sending setActive(false) notification to pid 2419 uid 10058
D/dalvikvm( 1440): GC_FOR_ALLOC freed 6082K, 45% free 19093K/34631K, paused 26ms
D/dalvikvm( 1440): GC_CONCURRENT freed 135K, 40% free 20995K/34631K, paused 3ms+6ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed 1905K, 41% free 20712K/34631K, paused 26ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed 1734K, 40% free 20860K/34631K, paused 23ms
D/dalvikvm( 1440): GC_CONCURRENT freed 1220K, 38% free 21663K/34631K, paused 2ms+4ms
D/dalvikvm( 1440): GC_CONCURRENT freed 2541K, 39% free 21156K/34631K, paused 2ms+10ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed <1K, 39% free 21156K/34631K, paused 21ms
I/dalvikvm-heap( 1440): Grow heap (frag case) to 23.673MB for 3097616-byte allocation
D/dalvikvm( 1440): GC_FOR_ALLOC freed 3K, 31% free 24178K/34631K, paused 53ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed 3784K, 39% free 21247K/34631K, paused 20ms
I/dalvikvm-heap( 1440): Grow heap (frag case) to 23.427MB for 2747152-byte allocation
D/dalvikvm( 1440): GC_CONCURRENT freed <1K, 31% free 23929K/34631K, paused 2ms+5ms
D/dalvikvm( 188): GC_CONCURRENT freed 1399K, 15% free 17287K/20231K, paused 10ms+3ms
D/dalvikvm( 2234): GC_CONCURRENT freed 421K, 5% free 12905K/13447K, paused 3ms+4ms

Testing activesync with android virtual devices

I am trying to setup a android virtual device to test syncing with an activesync-server.
I followed these steps:
The problem is that syncing is not working at all, but there are no errors like connection errors ...
IMO the problem is that the virtual device only has a private IP, so the server never can send anything to it?
So I probably need some kind of forwarding, like here:
But I am not sure if that’s correct and I am also not sure which ports should be forwarded.
Here is the logcat, when I want to sync:
W/InputMethodManagerService( 148): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#41302038 attribute=null
I/Choreographer( 274): Skipped 41 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 477): GC_CONCURRENT freed 396K, 6% free 8392K/8903K, paused 15ms+7ms, total 527ms
D/dalvikvm( 274): GC_CONCURRENT freed 360K, 11% free 9493K/10567K, paused 29ms+48ms, total 142ms
I/EAS ContactsSyncAdapterService( 477): Contact sync requested for test#example.com
D/dalvikvm( 148): GREF has increased to 601
D/dalvikvm( 477): WAIT_FOR_CONCURRENT_GC blocked 0ms
I/Choreographer( 274): Skipped 33 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 477): GC_EXPLICIT freed 333K, 7% free 8355K/8903K, paused 78ms+32ms, total 1269ms
I/EAS EmailSyncAdapterService( 477): performSync
I/EAS EmailSyncAdapterService( 477): Mail sync requested for test#example.com
D/dalvikvm( 460): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 460): GC_EXPLICIT freed 216K, 5% free 8483K/8839K, paused 145ms+94ms, total 914ms
D/dalvikvm( 148): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 148): GC_EXPLICIT freed 510K, 7% free 11338K/12167K, paused 8ms+35ms, total 323ms
D/dalvikvm( 274): GC_CONCURRENT freed 415K, 11% free 9486K/10567K, paused 25ms+28ms, total 125ms
E/Inbox[test#example.com]( 477): Uncaught exception in EasSyncServicejava.lang.ArrayIndexOutOfBoundsException: length=32; index=32
E/Inbox[test#example.com]( 477): Sync ended due to an exception.
D/dalvikvm( 477): GC_CONCURRENT freed 376K, 6% free 8420K/8903K, paused 5ms+18ms, total 66ms
I don't think this is a problem with your networking setup. It looks like you have an error in your Sync code, that is causing the process to stop:
E/Inboxtest#example.com: Uncaught exception in EasSyncServicejava.lang.ArrayIndexOutOfBoundsException: length=32; index=32
E/Inboxtest#example.com: Sync ended due to an exception.
>
Wrap this code in a try/catch block to understand what is happening better.

Unable to start service Intent { flg=0x4 cmp=mypackage/.AlarmReceiver (has extras) }: not found

Here my manifest? Is a manifest problem? Many many hours spent to discover the problem... is a service that starts a class by intent (using alarmmanager). If no a manifest problem, what's the problem?
Thanks for help!
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mypackage"
android:versionCode="1"
android:versionName="1" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" android:name="CrashReports">
<service android:name="UnUsedService">
<intent-filter>
<action
android:name="org.gortcloud.startatboot.UnUsedService" />
</intent-filter>
</service>
<receiver android:name="AutoStart">
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
<receiver android:name="AlarmReceiver" android:process=":remote"/>
<activity
android:name="com.example.mypackage.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:enabled="true" android:name=".SobService"/>
<activity android:name="Index"></activity>
<activity android:name="SendText"></activity>
</application>
</manifest>
logcat
E/ThrottleService( 149): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
D/dalvikvm( 149): GC_CONCURRENT freed 637K, 13% free 8307K/9479K, paused 25ms+12ms, total 142ms
D/AndroidRuntime(14611):
D/AndroidRuntime(14611): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(14611): CheckJNI is ON
D/dalvikvm(14611): Trying to load lib libjavacore.so 0x0
D/dalvikvm(14611): Added shared lib libjavacore.so 0x0
D/dalvikvm(14611): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(14611): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime(14611): Calling main entry com.android.commands.pm.Pm
W/ActivityManager( 149): No content provider found for permission revoke: file:///data/local/tmp/MainActivity.apk
D/dalvikvm( 2860): GC_CONCURRENT freed 457K, 14% free 5292K/6087K, paused 17ms+4ms, total 75ms
W/ActivityManager( 149): No content provider found for permission revoke: file:///data/local/tmp/MainActivity.apk
D/dalvikvm( 149): GC_CONCURRENT freed 614K, 12% free 8360K/9479K, paused 22ms+30ms, total 125ms
D/dalvikvm( 149): GC_FOR_ALLOC freed 282K, 13% free 8265K/9479K, paused 69ms, total 70ms
D/dalvikvm( 149): GC_FOR_ALLOC freed 234K, 13% free 8267K/9479K, paused 86ms, total 87ms
D/dalvikvm( 149): GC_FOR_ALLOC freed 239K, 13% free 8270K/9479K, paused 68ms, total 68ms
I/PackageManager( 149): Removing non-system package:org.gortcloud.perledisaggezza
I/ActivityManager( 149): Force stopping package org.gortcloud.perledisaggezza uid=10044
I/ActivityManager( 149): Killing proc 10610:org.gortcloud.perledisaggezza/u0a44: force stop
W/ActivityManager( 149): Force removing ActivityRecord{411fe0f0 org.gortcloud.perledisaggezza/.MainActivity}: app died, no saved state
W/InputDispatcher( 149): channel '412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 149): channel '412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
I/WindowState( 149): WIN DEATH: Window{412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity paused=false}
W/InputDispatcher( 149): Attempted to unregister already unregistered input channel '412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity (server)'
I/Choreographer( 149): Skipped 75 frames! The application may be doing too much work on its main thread.
I/WindowManager( 149): WINDOW DIED Window{412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity paused=false}
I/Choreographer( 258): Skipped 238 frames! The application may be doing too much work on its main thread.
I/PackageManager( 149): Package org.gortcloud.perledisaggezza codePath changed from /data/app/org.gortcloud.perledisaggezza-2.apk to /data/app/org.gortcloud.perledisaggezza-1.apk; Retaining data and using new
W/InputMethodManagerService( 149): Got RemoteException sending setActive(false) notification to pid 10610 uid 10044
I/PackageManager( 149): Running dexopt on: org.gortcloud.perledisaggezza
D/dalvikvm(14630): DexOpt: load 129ms, verify+opt 643ms, 962252 bytes
W/PackageManager( 149): Code path for pkg : org.gortcloud.perledisaggezza changing from /data/app/org.gortcloud.perledisaggezza-2.apk to /data/app/org.gortcloud.perledisaggezza-1.apk
W/PackageManager( 149): Resource path for pkg : org.gortcloud.perledisaggezza changing from /data/app/org.gortcloud.perledisaggezza-2.apk to /data/app/org.gortcloud.perledisaggezza-1.apk
D/dalvikvm( 149): GC_FOR_ALLOC freed 320K, 13% free 8281K/9479K, paused 72ms, total 73ms
I/ActivityManager( 149): Force stopping package org.gortcloud.perledisaggezza uid=10044
D/PackageManager( 149): New package installed in /data/app/org.gortcloud.perledisaggezza-1.apk
W/PackageManager( 149): Not granting permission android.permission.READ_LOGS to package org.gortcloud.perledisaggezza (protectionLevel=50 flags=0x8be46)
I/ActivityManager( 149): Force stopping package org.gortcloud.perledisaggezza uid=10044
D/dalvikvm( 204): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 258): WAIT_FOR_CONCURRENT_GC blocked 1ms
D/dalvikvm( 204): GC_EXPLICIT freed 216K, 62% free 5881K/15367K, paused 8ms+19ms, total 155ms
D/dalvikvm( 258): GC_EXPLICIT freed 409K, 39% free 7423K/12103K, paused 8ms+22ms, total 156ms
D/dalvikvm( 323): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 323): GC_EXPLICIT freed 177K, 10% free 5564K/6151K, paused 8ms+9ms, total 88ms
I/InputReader( 149): Reconfiguring input devices. changes=0x00000010
D/PackageManager( 149): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
D/PackageManager( 149): generateServicesMap(android.content.SyncAdapter): 4 services unchanged
D/BackupManagerService( 149): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.gortcloud.perledisaggezza flg=0x8000010 (has extras) }
D/dalvikvm( 149): WAIT_FOR_CONCURRENT_GC blocked 0ms
I/AccountTypeManager( 367): Loaded meta-data for 1 account types, 0 accounts in 53ms(wall) 5ms(cpu)
D/dalvikvm( 149): GC_EXPLICIT freed 503K, 15% free 8140K/9479K, paused 65ms+21ms, total 204ms
I/InputReader( 149): Reconfiguring input devices. changes=0x00000010
D/PackageManager( 149): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
D/PackageManager( 149): generateServicesMap(android.content.SyncAdapter): 4 services unchanged
D/BackupManagerService( 149): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.gortcloud.perledisaggezza flg=0x8000010 (has extras) }
V/BackupManagerService( 149): removePackageParticipantsLocked: uid=10044 #1
V/BackupManagerService( 149): addPackageParticipantsLocked: #1
W/InputMethodManagerService( 149): Found no subtypes in a system IME: com.android.inputmethod.pinyin
I/AccountTypeManager( 367): Loaded meta-data for 1 account types, 0 accounts in 11ms(wall) 7ms(cpu)
I/Choreographer( 258): Skipped 533 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 149): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 367): GC_CONCURRENT freed 403K, 12% free 5471K/6215K, paused 100ms+14ms, total 174ms
W/RecognitionManagerService( 149): no available voice recognition services found
D/dalvikvm( 149): GC_EXPLICIT freed 400K, 14% free 8170K/9479K, paused 27ms+47ms, total 266ms
D/AndroidRuntime(14611): Shutting down VM
D/dalvikvm(14611): GC_CONCURRENT freed 101K, 78% free 458K/2048K, paused 2ms+1ms, total 13ms
D/jdwp (14611): Got wake-up signal, bailing out of select
D/dalvikvm(14611): Debugger has detached; object registry had 1 entries
I/AndroidRuntime(14611): NOTE: attach of thread 'Binder_3' failed
D/AndroidRuntime(14647):
D/AndroidRuntime(14647): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(14647): CheckJNI is ON
D/dalvikvm(14647): Trying to load lib libjavacore.so 0x0
D/dalvikvm(14647): Added shared lib libjavacore.so 0x0
D/dalvikvm(14647): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(14647): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime(14647): Calling main entry com.android.commands.am.Am
I/ActivityManager( 149): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.gortcloud.perledisaggezza/.MainActivity u=0} from pid 14647
W/WindowManager( 149): Failure taking screenshot for (123x221) to layer 21025
D/AndroidRuntime(14647): Shutting down VM
D/dalvikvm(14647): GC_CONCURRENT freed 102K, 77% free 489K/2048K, paused 1ms+2ms, total 11ms
D/jdwp (14647): Got wake-up signal, bailing out of select
D/dalvikvm(14647): Debugger has detached; object registry had 1 entries
I/AndroidRuntime(14647): NOTE: attach of thread 'Binder_3' failed
D/dalvikvm( 258): GC_CONCURRENT freed 539K, 38% free 7520K/12103K, paused 16ms+127ms, total 360ms
D/dalvikvm(14658): Not late-enabling CheckJNI (already on)
I/ActivityManager( 149): Start proc org.gortcloud.perledisaggezza for activity org.gortcloud.perledisaggezza/.MainActivity: pid=14658 uid=10044 gids={3003, 1028}
E/Trace (14658): error opening trace file: No such file or directory (2)
I/Choreographer( 149): Skipped 35 frames! The application may be doing too much work on its main thread.
D/ACRA (14658): ACRA is enabled for org.gortcloud.perledisaggezza, intializing...
D/ACRA (14658): Using default Report Fields
D/ACRA (14658): Looking for error files in /data/data/org.gortcloud.perledisaggezza/files
D/dalvikvm(14658): GC_FOR_ALLOC freed 179K, 9% free 5372K/5895K, paused 31ms, total 32ms
I/dalvikvm-heap(14658): Grow heap (frag case) to 5.965MB for 457616-byte allocation
D/dalvikvm(14658): GC_CONCURRENT freed 1K, 9% free 5817K/6343K, paused 19ms+13ms, total 61ms
D/dalvikvm(14658): GC_CONCURRENT freed 48K, 6% free 6322K/6663K, paused 15ms+4ms, total 65ms
D/dalvikvm(14658): WAIT_FOR_CONCURRENT_GC blocked 18ms
D/dalvikvm(14658): GC_FOR_ALLOC freed 48K, 6% free 6464K/6855K, paused 41ms, total 41ms
I/dalvikvm-heap(14658): Grow heap (frag case) to 7.234MB for 668816-byte allocation
D/dalvikvm(14658): GC_FOR_ALLOC freed <1K, 6% free 7117K/7559K, paused 58ms, total 58ms
D/dalvikvm(14658): GC_CONCURRENT freed <1K, 6% free 7117K/7559K, paused 16ms+4ms, total 64ms
I/Choreographer(14658): Skipped 58 frames! The application may be doing too much work on its main thread.
I/Choreographer(14658): Skipped 233 frames! The application may be doing too much work on its main thread.
D/gralloc_goldfish(14658): Emulator without GPU emulation detected.
I/ActivityManager( 149): Displayed org.gortcloud.perledisaggezza/.MainActivity: +1s713ms
I/Choreographer( 149): Skipped 61 frames! The application may be doing too much work on its main thread.
I/Choreographer( 149): Skipped 43 frames! The application may be doing too much work on its main thread.
I/Choreographer(14658): Skipped 271 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 243): GC_CONCURRENT freed 384K, 13% free 5798K/6599K, paused 4ms+4ms, total 36ms
I/Choreographer(14658): Skipped 46 frames! The application may be doing too much work on its main thread.
I/Choreographer( 149): Skipped 36 frames! The application may be doing too much work on its main thread.
D/dalvikvm(14692): Not late-enabling CheckJNI (already on)
I/ActivityManager( 149): Start proc org.gortcloud.perledisaggezza:remote for broadcast org.gortcloud.perledisaggezza/.AlarmReceiver: pid=14692 uid=10044 gids={3003, 1028}
E/Trace (14692): error opening trace file: No such file or directory (2)
D/ACRA (14692): ACRA is enabled for org.gortcloud.perledisaggezza, intializing...
D/ACRA (14692): Using default Report Fields
D/ACRA (14692): Looking for error files in /data/data/org.gortcloud.perledisaggezza/files
D/gralloc_goldfish(14692): Emulator without GPU emulation detected.
UnUsedService (starts from my activity by:
startService(new Intent(this, UnUsedService.class));
UnUsedService
public class UnUsedService extends Service {
//private PendingIntent pendingIntent;
#Override
public IBinder onBind(Intent intent) {
return null;
}
#Override
public void onCreate() {
super.onCreate();
Toast.makeText(this, "Service Created", Toast.LENGTH_LONG).show();
//startService(new Intent(this, UnUsedService.class));
}
#Override
public void onDestroy() {
super.onDestroy();
Toast.makeText(this, "Service Destroyed", Toast.LENGTH_LONG).show();
}
private PendingIntent pendingIntent;
#SuppressWarnings("deprecation")
#Override
public void onStart(Intent intent, int startId) {
// super.onStart();
super.onStart(intent, startId);
Toast.makeText(this, "Service Started", Toast.LENGTH_LONG).show();
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR_OF_DAY, 23);
calendar.set(Calendar.MINUTE, 32);
calendar.set(Calendar.SECOND, 0); AlarmManager am = (AlarmManager) getApplicationContext().getSystemService (Context.ALARM_SERVICE);
PendingIntent pi = PendingIntent.getService(getApplicationContext(), 0, new Intent(getApplicationContext(), AlarmReceiver.class), PendingIntent.FLAG_UPDATE_CURRENT);
am.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pi);
am.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis()+1000, AlarmManager.INTERVAL_DAY, pi);
}};
Receiver:
public class AlarmReceiver extends BroadcastReceiver {
#Override
public void onReceive(Context context, Intent intent) {
Toast.makeText(context, "Alarm worked.", Toast.LENGTH_LONG).show();
}
}
I noticed that you're creating the wrong type of PendingIntent:
pendingIntent = PendingIntent.getService(UnUsedService.this, 0, myIntent, 0);
You want to target your BroadcastReceiver, so you need to use:
pendingIntent = PendingIntent.getBroadcast(AlarmReceiver.this, 0, myIntent, 0);
instead of this in your mainifest. .
try this
<activity android:name="com.example.mypackage.Index"></activity>
<activity android:name="com.example.mypackage.SendText"></activity>

What are likely causes for "WSEGL_WaitNative: Unrecognized engine" errors? (Android NDK)

An Android app I've written is producing the following error message when run on one user's Galaxy Nexus:
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
Strangely, when running on several other devices it does not generate this error message. Does anyone know of some possible causes for this error? Google isn't pulling up anything useful for me. I'll try and put together a simple test case and post it here (the project is rather large, so difficult to pinpoint a relevant piece of code to post).
For reference, here is the full logcat output from the app:
D/alogcat (31968): stopped
D/alogcat (31968): starting ...
D/dalvikvm( 250): GC_FOR_ALLOC freed 437K, 32% free 16157K/23559K, paused 19ms
D/dalvikvm( 250): GC_FOR_ALLOC freed 28K, 31% free 16385K/23559K, paused 22ms
I/dalvikvm-heap( 250): Grow heap (frag case) to 17.046MB for 1048592-byte allocation
D/dalvikvm( 250): GC_CONCURRENT freed 0K, 30% free 17409K/24647K, paused 3ms+2ms
D/dalvikvm( 250): GC_CONCURRENT freed 313K, 27% free 18185K/24647K, paused 2ms+3ms
W/ResourceType( 178): Invalid package identifier when getting bag for resource number 0x7f0c0008
D/dalvikvm( 250): GC_FOR_ALLOC freed 37K, 22% free 19298K/24647K, paused 25ms
I/dalvikvm-heap( 250): Grow heap (frag case) to 19.112MB for 230416-byte allocation
D/dalvikvm( 250): GC_FOR_ALLOC freed 4K, 22% free 19519K/24903K, paused 28ms
V/alogcat (31968): save instance
V/alogcat (31968): paused
D/dalvikvm(31994): Late-enabling CheckJNI
I/dalvikvm(31994): Turning on JNI app bug workarounds for target SDK version 9...
I/InputReader( 178): Reconfiguring input devices. changes=0x00000004
I/InputReader( 178): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', surface size is now 720x1280, mode is 1
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/dalvikvm(31994): GC_FOR_ALLOC freed 63K, 2% free 14079K/14339K, paused 11ms
I/dalvikvm-heap(31994): Grow heap (frag case) to 14.257MB for 486264-byte allocation
D/dalvikvm(31994): GC_CONCURRENT freed <1K, 3% free 14553K/14855K, paused 1ms+1ms
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/dalvikvm(31994): GC_FOR_ALLOC freed 0K, 3% free 14554K/14855K, paused 11ms
I/dalvikvm-heap(31994): Grow heap (frag case) to 16.112MB for 1945008-byte allocation
D/dalvikvm(31994): GC_CONCURRENT freed 0K, 2% free 16453K/16775K, paused 2ms+4ms
V/PhoneStatusBar( 250): setLightsOn(true)
I/System.out(31994): libSDL: Starting data downloader
I/System.out(31994): libSDL: Starting downloader
I/ActivityManager( 178): Displayed paulscode.android.mupen64plus.test/paulscode.android.mupen64plus.MainActivity: +536ms
I/InputReader( 178): Reconfiguring input devices. changes=0x00000004
I/InputReader( 178): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', surface size is now 720x1280, mode is 1
W/IInputConnectionWrapper(31968): showStatusIcon on inactive InputConnection
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
I/ActivityManager( 178): Displayed paulscode.android.mupen64plus.test/paulscode.android.mupen64plus.MenuActivity: +276ms
D/dalvikvm(31968): GC_FOR_ALLOC freed 364K, 9% free 14394K/15687K, paused 17ms
I/dalvikvm-heap(31968): Grow heap (frag case) to 14.211MB for 115216-byte allocation
V/PhoneStatusBar( 250): setLightsOn(true)
D/dalvikvm(31968): GC_FOR_ALLOC freed <1K, 9% free 14507K/15815K, paused 17ms
D/alogcat (31968): stopping ...
D/alogcat (31968): stopped
D/dalvikvm(31994): GC_CONCURRENT freed 2742K, 17% free 14481K/17287K, paused 1ms+2ms
V/PhoneStatusBar( 250): setLightsOn(true)
I/ActivityManager( 178): Displayed paulscode.android.mupen64plus.test/paulscode.android.mupen64plus.FileChooserActivity: +395ms
D/dalvikvm( 178): GC_EXPLICIT freed 2120K, 18% free 22700K/27527K, paused 6ms+6ms
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/libSDL.so 0x41816530
D/dalvikvm(31994): GC_CONCURRENT freed 208K, 16% free 14694K/17287K, paused 2ms+1ms
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/libSDL.so 0x41816530
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/libcore.so 0x41816530
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/libcore.so 0x41816530
D/dalvikvm(31994): No JNI_OnLoad found in /data/data/paulscode.android.mupen64plus.test/lib/libcore.so 0x41816530, skipping init
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/libfront-end.so 0x41816530
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/libfront-end.so 0x41816530
I/InputReader( 178): Reconfiguring input devices. changes=0x00000004
I/InputReader( 178): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', surface size is now 720x1280, mode is 1
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/libgles2n64.so 0x41816530
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/libgles2n64.so 0x41816530
D/dalvikvm(31994): No JNI_OnLoad found in /data/data/paulscode.android.mupen64plus.test/lib/libgles2n64.so 0x41816530, skipping init
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/libaudio-sdl.so 0x41816530
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/libaudio-sdl.so 0x41816530
D/dalvikvm(31994): No JNI_OnLoad found in /data/data/paulscode.android.mupen64plus.test/lib/libaudio-sdl.so 0x41816530, skipping init
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/libinput-sdl.so 0x41816530
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/libinput-sdl.so 0x41816530
D/dalvikvm(31994): No JNI_OnLoad found in /data/data/paulscode.android.mupen64plus.test/lib/libinput-sdl.so 0x41816530, skipping init
D/dalvikvm(31994): Trying to load lib /data/data/paulscode.android.mupen64plus.test/lib/librsp-hle.so 0x41816530
D/dalvikvm( 380): GC_CONCURRENT freed 538K, 20% free 16276K/20103K, paused 2ms+11ms
D/dalvikvm(31994): Added shared lib /data/data/paulscode.android.mupen64plus.test/lib/librsp-hle.so 0x41816530
D/dalvikvm(31994): No JNI_OnLoad found in /data/data/paulscode.android.mupen64plus.test/lib/librsp-hle.so 0x41816530, skipping init
V/SDLActivity.java(31994): CPU info available from file /proc/cpuinfo:
V/SDLActivity.java(31994): Processor : ARMv7 Processor rev 10 (v7l)
V/SDLActivity.java(31994): processor : 0
V/SDLActivity.java(31994): BogoMIPS : 2047.70
V/SDLActivity.java(31994):
V/SDLActivity.java(31994): processor : 1
V/SDLActivity.java(31994): BogoMIPS : 2047.70
V/SDLActivity.java(31994):
V/SDLActivity.java(31994): Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
V/SDLActivity.java(31994): CPU implementer : 0x41
V/SDLActivity.java(31994): CPU architecture: 7
V/SDLActivity.java(31994): CPU variant : 0x2
V/SDLActivity.java(31994): CPU part : 0xc09
V/SDLActivity.java(31994): CPU revision : 10
V/SDLActivity.java(31994):
V/SDLActivity.java(31994): Hardware : Tuna
V/SDLActivity.java(31994): Revision : 0009
V/SDLActivity.java(31994): Serial : 0146a5b20b01300f
V/SDLActivity.java(31994): �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
D/dalvikvm(31994): GC_CONCURRENT freed 427K, 15% free 14768K/17287K, paused 1ms+4ms
D/dalvikvm(31994): GC_CONCURRENT freed 59K, 13% free 15206K/17287K, paused 2ms+1ms
D/dalvikvm(31994): GC_CONCURRENT freed 199K, 11% free 15493K/17287K, paused 1ms+2ms
D/dalvikvm(31994): GC_FOR_ALLOC freed 99K, 10% free 15714K/17287K, paused 21ms
D/dalvikvm(31994): GC_CONCURRENT freed 288K, 8% free 15978K/17287K, paused 2ms+2ms
D/dalvikvm(31994): GC_CONCURRENT freed 229K, 6% free 16382K/17287K, paused 2ms+1ms
D/dalvikvm(31994): GC_CONCURRENT freed 266K, 3% free 16795K/17287K, paused 2ms+2ms
V/SDLSurface(31994): SDLSurface changed
I/SDL (31994): SDL_Android_Init()
V/front_end(31994): __ __ __ _ _ ____ _
V/front_end(31994): | \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
V/front_end(31994): | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
V/front_end(31994): | | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
V/front_end(31994): |_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
V/front_end(31994): |_| http://code.google.com/p/mupen64plus/
V/front_end(31994): Mupen64Plus Console User-Interface Version 1.99.4
V/front_end(31994):
V/core_interface(31994): UI-console: attached to core library 'Mupen64Plus Core' version 1.99.4
V/core_interface(31994): Includes support for Dynamic Recompiler.
V/PhoneStatusBar( 250): setLightsOn(true)
I/ActivityManager( 178): Displayed paulscode.android.mupen64plus.test/paulscode.android.mupen64plus.SDLActivity: +816ms
V/front_end(31994): Core: Goodname: Super Mario 64 (E) (M3) [!]
V/front_end(31994): Core: Name: SUPER MARIO 64
V/front_end(31994): Core: MD5: 45676429EF6B90E65B517129B700308E
V/front_end(31994): Core: CRC: 36f03ca0 d2c5c1bc
V/front_end(31994): Core: Imagetype: .z64 (native)
V/front_end(31994): Core: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
V/front_end(31994): Core: Version: 46140000
V/front_end(31994): Core: Manufacturer: 4e000000
V/front_end(31994): Core: Country: Europe (0x50)
V/cheat (31994): UI-Console: Cheat codes disabled.
V/gles2N64(31994): About to get max frameskip
V/SDL-android(31994): About to call midGetMaxFrameSkip
V/SDL-android(31994): Android_JNI_GetMaxFrameSkip returning 2
V/gles2N64(31994): Max frameskip: 2
V/gles2N64(31994): About to setSkips to AUTO
V/gles2N64(31994): Finished setting skips
V/front-end(31994): UI-console: using Video plugin: 'gles2n64' v0.0.5
V/front-end(31994): UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.4
V/front_end(31994): Input: No auto-configuration found for device 'Android accelerometer'
V/front_end(31994): Input: N64 Controller #1: Forcing default keyboard configuration
V/front_end(31994): Input: Using auto-configuration for device 'Keyboard'
V/front-end(31994): UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.4
V/front-end(31994): UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.4
D/gles2n64(31994): [gles2n64]: Loading Config from data/gles2n64.conf
D/gles2n64(31994): Rom is PAL
D/gles2n64(31994): [gles2N64]: Searching data/gles2n64rom.conf Database for "SUPER MARIO 64" ROM
D/gles2n64(31994): Initializing SDL video subsystem...
D/gles2n64(31994): Setting video mode 1196x720...
I/SDL (31994): [STUB] GL_LoadLibrary
V/SDLSurface(31994): Starting up OpenGL ES 2.0
D/libEGL (31994): loaded /system/lib/egl/libGLES_android.so
D/libEGL (31994): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL (31994): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL (31994): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/SDL (31994): [STUB] GL_SetSwapInterval
I/SDL (31994): [STUB] GL_GetSwapInterval
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
V/gles2N64 (OpenGL)(31994): Hardware profile not recognized, using default settings (-0.2f, -0.2f)
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
V/front_end(31994): Input: N64 Controller #1: Using keyboard/mouse
V/front_end(31994): Input: 1 controller(s) found, 1 plugged in and usable in the emulator
V/front_end(31994): Input: Mupen64Plus SDL Input Plugin version 1.99.4 initialized.
V/front_end(31994): Audio: Initializing SDL audio subsystem...
V/SDL (31994): SDL audio: opening device
V/front_end(31994): Core: Starting R4300 emulator: Dynamic Recompiler
V/SDL (31994): SDL audio: opening device
D/gles2n64(31994): UCODE CRC=0x26eabb5c
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
D/dalvikvm( 178): GC_EXPLICIT freed 399K, 18% free 22591K/27527K, paused 6ms+5ms
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
***(Repeated for a while)***
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
V/front_end(31994): Core Status: Saved state to: Mupen64PlusAE_LastSession.sav
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
E/IMGSRV (31994): :0: WSEGL_WaitNative: Unrecognized engine
I/InputReader( 178): Reconfiguring input devices. changes=0x00000004
I/InputReader( 178): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', surface size is now 720x1280, mode is 1
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/dalvikvm( 250): GC_FOR_ALLOC freed 3922K, 35% free 16327K/24903K, paused 19ms
D/dalvikvm( 250): GC_FOR_ALLOC freed 121K, 34% free 16462K/24903K, paused 15ms
I/dalvikvm-heap( 250): Grow heap (frag case) to 17.123MB for 1048592-byte allocation
D/dalvikvm( 250): GC_CONCURRENT freed 40K, 30% free 17446K/24903K, paused 3ms+2ms
W/ResourceType( 178): Invalid package identifier when getting bag for resource number 0x7f0c0008
D/dalvikvm( 250): GC_CONCURRENT freed 324K, 27% free 18242K/24903K, paused 2ms+3ms
D/dalvikvm( 250): GC_CONCURRENT freed 35K, 22% free 19574K/24903K, paused 3ms+2ms
D/dalvikvm( 178): GC_EXPLICIT freed 381K, 19% free 22365K/27527K, paused 6ms+4ms
D/alogcat (31968): stopping ...
D/alogcat (31968): canceling periodic saves
D/alogcat (31968): starting ...
V/alogcat (31968): started
V/alogcat (31968): resumed
D/OpenGLRenderer( 430): Flushing caches (mode 1)
V/PhoneStatusBar( 250): setLightsOn(true)
D/OpenGLRenderer( 430): Flushing caches (mode 0)
D/OpenGLRenderer( 250): Flushing caches (mode 0)
D/dalvikvm(31968): GC_FOR_ALLOC freed 168K, 8% free 14612K/15815K, paused 13ms
I/dalvikvm-heap(31968): Grow heap (frag case) to 14.391MB for 80656-byte allocation
D/dalvikvm(31968): GC_FOR_ALLOC freed 14K, 8% free 14677K/15943K, paused 20ms
This was caused by the following line:
egl.eglWaitNative( EGL10.EGL_NATIVE_RENDERABLE, null );
Which should have been written as:
egl.eglWaitNative( EGL10.EGL_CORE_NATIVE_ENGINE, null );

Categories

Resources