Android app doesn't run on my tablet - android

I develop one app for android, on eclipse. It works in the emulator, very well. It works too, in a boston mobile, with 2.1 version but when I install the app on my tablet (3.2.1) says didn't was installed.
I can't understand why. Can you help me?
The AndroidManifest file is:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="BIQ.ERP"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk android:minSdkVersion="7" /><application android:icon="#drawable/ic_launcher" android:label="#string/app_name" android:permission="android.permission.INTERNET">
<activity android:name=".BIQActivity" android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:permission="android.permission.INTERNET">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Menu" android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:permission="android.permission.INTERNET">
</activity>
<activity android:name=".InsertHoras" android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:permission="android.permission.INTERNET">
</activity>
<activity android:name=".InsertDespesas" android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:permission="android.permission.INTERNET">
</activity>
<activity android:name=".Mapa" android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:permission="android.permission.INTERNET">
</activity>
<activity android:name=".Perfil" android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:permission="android.permission.INTERNET">
</activity>
</application>
</manifest>
And the LogCat is:
03-26 18:21:22.100: D/dalvikvm(1093): GC_EXPLICIT freed 248K, 5% free 7060K/7367K, paused 7ms+2ms
03-26 18:21:23.430: D/AndroidRuntime(1164): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
03-26 18:21:23.430: D/AndroidRuntime(1164): CheckJNI is OFF
03-26 18:21:23.540: D/AndroidRuntime(1164): Calling main entry com.android.commands.pm.Pm
03-26 18:21:23.550: D/AndroidRuntime(1164): Shutting down VM
03-26 18:21:23.550: I/AndroidRuntime(1164): NOTE: attach of thread 'Binder Thread #3' failed
03-26 18:21:23.550: D/dalvikvm(1164): GC_CONCURRENT freed 99K, 87% free 339K/2560K, paused 0ms+0ms
03-26 18:21:23.550: D/jdwp(1164): adbd disconnected
03-26 18:21:23.550: D/jdwp(1164): Got wake-up signal, bailing out of select
03-26 18:21:23.550: D/dalvikvm(1164): Debugger has detached; object registry had 1 entries
03-26 18:21:23.830: D/AndroidRuntime(1175): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
03-26 18:21:23.830: D/AndroidRuntime(1175): CheckJNI is OFF
03-26 18:21:23.960: D/AndroidRuntime(1175): Calling main entry com.android.commands.pm.Pm
03-26 18:21:24.000: D/dalvikvm(1067): GC_EXPLICIT freed 4K, 5% free 6307K/6595K, paused 2ms+2ms
03-26 18:21:24.000: D/PackageParser(142): Scanning package: /data/app/vmdl202318575.tmp
03-26 18:21:24.000: W/ActivityManager(142): No content provider found for:
03-26 18:21:24.000: W/ActivityManager(142): No content provider found for:
03-26 18:21:24.040: D/PackageManager(142): Scanning package BIQ.ERP
03-26 18:21:24.040: I/PackageManager(142): Unpacking native libraries for /data/app/BIQ.ERP-1.apk
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/xmlpull/v1/XmlPullParser;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/kxml2/io/KXmlParser;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/xmlpull/v1/XmlSerializer;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/kxml2/io/KXmlSerializer;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/kxml2/kdom/Node;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/kxml2/kdom/Document;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/kxml2/kdom/Element;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/xmlpull/v1/XmlPullParserException;' has an earlier definition; blocking out
03-26 18:21:24.080: D/dalvikvm(1184): DexOpt: 'Lorg/xmlpull/v1/XmlPullParserFactory;' has an earlier definition; blocking out
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.110: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.120: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.120: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParser;'
03-26 18:21:24.120: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/kxml2/io/KXmlSerializer;'
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/xmlpull/v1/XmlPullParser;': multiple definitions
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/kxml2/io/KXmlParser;': multiple definitions
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/xmlpull/v1/XmlSerializer;': multiple definitions
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/kxml2/io/KXmlSerializer;': multiple definitions
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/kxml2/kdom/Node;': multiple definitions
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/kxml2/kdom/Document;': multiple definitions
03-26 18:21:24.120: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/kxml2/kdom/Element;': multiple definitions
03-26 18:21:24.120: I/dalvikvm(1184): DexOpt: not resolving ambiguous class 'Lorg/xmlpull/v1/XmlPullParserException;'
03-26 18:21:24.130: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/xmlpull/v1/XmlPullParserException;': multiple definitions
03-26 18:21:24.130: D/dalvikvm(1184): DexOpt: not verifying/optimizing 'Lorg/xmlpull/v1/XmlPullParserFactory;': multiple definitions
03-26 18:21:24.130: D/dalvikvm(1184): DexOpt: load 7ms, verify+opt 48ms
03-26 18:21:24.180: D/PackageManager(142): Activities: BIQ.ERP.BIQActivity BIQ.ERP.Menu BIQ.ERP.InsertHoras BIQ.ERP.InsertDespesas BIQ.ERP.Mapa BIQ.ERP.Perfil
03-26 18:21:24.180: I/ActivityManager(142): Force stopping package BIQ.ERP uid=10090
03-26 18:21:24.310: D/PackageManager(142): New package installed in /data/app/BIQ.ERP-1.apk
03-26 18:21:24.440: D/GTalkService(262): [GTalkService.1] handlePackageInstalled: re-initialize providers
03-26 18:21:24.460: D/AccountTypeManager(672): Registering external account type=com.linkedin.android, packageName=com.linkedin.android
03-26 18:21:24.460: D/GTalkService(262): [RawStanzaProvidersMgr] ##### searchProvidersFromIntent
03-26 18:21:24.480: D/AccountTypeManager(672): Registering external account type=com.skype.contacts.sync, packageName=com.skype.raider
03-26 18:21:24.490: D/PackageManager(142): generateServicesMap(android.accounts.AccountAuthenticator): 9 services unchanged
03-26 18:21:24.520: W/ResourceType(672): getEntry failing because entryIndex 1285 is beyond type entryCount 185
03-26 18:21:24.520: D/PackageManager(142): generateServicesMap(android.content.SyncAdapter): 20 services unchanged
03-26 18:21:24.530: W/ResourceType(672): Failure getting entry for 0x7f020505 (t=1 e=1285) in package 0 (error -2147483647)
03-26 18:21:24.530: W/ResourceType(672): getEntry failing because entryIndex 1286 is beyond type entryCount 185
03-26 18:21:24.530: W/ResourceType(672): Failure getting entry for 0x7f020506 (t=1 e=1286) in package 0 (error -2147483647)
03-26 18:21:24.530: W/ResourceType(672): getEntry failing because entryIndex 1287 is beyond type entryCount 185
03-26 18:21:24.530: W/ResourceType(672): Failure getting entry for 0x7f020507 (t=1 e=1287) in package 0 (error -2147483647)
03-26 18:21:24.530: W/ResourceType(672): getEntry failing because entryIndex 1680 is beyond type entryCount 185
03-26 18:21:24.530: W/ResourceType(672): Failure getting entry for 0x7f020690 (t=1 e=1680) in package 0 (error -2147483647)
03-26 18:21:24.530: D/AccountTypeManager(672): Registering external account type=com.twitter.android.auth.login, packageName=com.twitter.android
03-26 18:21:24.570: D/UploadsManager(1108): collect new photo: MediaTracker:**************************,trackNew:photo-external,36057:photo-phoneStorage,-1:video-external,0:video-phoneStorage,-1
03-26 18:21:24.570: D/dalvikvm(672): GC_CONCURRENT freed 553K, 9% free 6913K/7559K, paused 2ms+3ms
03-26 18:21:24.590: W/ResourceType(672): getEntry failing because entryIndex 207 is beyond type entryCount 185
03-26 18:21:24.610: W/ResourceType(672): Failure getting entry for 0x7f0200cf (t=1 e=207) in package 0 (error -2147483647)
03-26 18:21:24.610: D/AccountTypeManager(672): Registering external account type=com.facebook.auth.login, packageName=com.facebook.katana
03-26 18:21:24.640: W/ResourceType(672): getEntry failing because entryIndex 280 is beyond type entryCount 185
03-26 18:21:24.640: W/ResourceType(672): Failure getting entry for 0x7f020118 (t=1 e=280) in package 0 (error -2147483647)
03-26 18:21:24.750: I/AccountTypeManager(672): Loaded meta-data for 7 account types, 6 accounts in 23ms
03-26 18:21:24.750: D/UploadsManager(1108): collect new video: MediaTracker:**************************,trackNew:photo-external,36057:photo-phoneStorage,-1:video-external,0:video-phoneStorage,-1
03-26 18:21:24.770: V/PicasaContentProvider(1108): querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_picasa_on_wifi_only=1, auto_upload_enabled=0, video_upload_wifi_only=1, sync_on_roaming=0, auto_upload_account_name=null}
03-26 18:21:24.770: D/PicasaSyncManager(1108): reject MetadataSyncTask (**************************) for wifi connection
03-26 18:21:24.830: D/dalvikvm(220): GC_FOR_ALLOC freed 5005K, 37% free 12850K/20359K, paused 35ms
03-26 18:21:24.850: D/dalvikvm(142): GC_EXPLICIT freed 1840K, 43% free 16283K/28295K, paused 3ms+10ms
03-26 18:21:24.870: D/AndroidRuntime(1175): Shutting down VM
03-26 18:21:24.870: D/dalvikvm(1175): GC_CONCURRENT freed 100K, 87% free 343K/2560K, paused 1ms+0ms
03-26 18:21:24.880: I/AndroidRuntime(1175): NOTE: attach of thread 'Binder Thread #3' failed
03-26 18:21:24.880: D/jdwp(1175): Got wake-up signal, bailing out of select
03-26 18:21:24.880: D/dalvikvm(1175): Debugger has detached; object registry had 1 entries
03-26 18:21:25.020: D/dalvikvm(220): GC_CONCURRENT freed 38K, 28% free 14806K/20359K, paused 2ms+3ms
03-26 18:21:25.040: D/AndroidRuntime(1189): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
03-26 18:21:25.040: D/AndroidRuntime(1189): CheckJNI is OFF
03-26 18:21:25.050: D/dalvikvm(220): GC_FOR_ALLOC freed 1909K, 37% free 12899K/20359K, paused 31ms
03-26 18:21:25.180: D/AndroidRuntime(1189): Calling main entry com.android.commands.am.Am
03-26 18:21:25.190: I/ActivityManager(142): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=BIQ.ERP/.BIQActivity } from pid 1189
03-26 18:21:25.190: W/ActivityManager(142): Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=BIQ.ERP/.BIQActivity } from null (pid=1189, uid=2000) requires android.permission.INTERNET
03-26 18:21:25.240: D/dalvikvm(220): GC_CONCURRENT freed 2K, 27% free 14897K/20359K, paused 2ms+3ms
03-26 18:21:25.370: D/dalvikvm(220): GC_CONCURRENT freed 3136K, 33% free 13785K/20359K, paused 2ms+3ms
03-26 18:21:25.460: D/dalvikvm(220): GC_FOR_ALLOC freed 755K, 28% free 14833K/20359K, paused 31ms
03-26 18:21:25.610: D/dalvikvm(220): GC_CONCURRENT freed 1058K, 23% free 15769K/20359K, paused 2ms+3ms
03-26 18:21:25.670: D/dalvikvm(672): GC_CONCURRENT freed 351K, 8% free 6977K/7559K, paused 2ms+2ms
03-26 18:21:25.760: D/dalvikvm(220): GC_CONCURRENT freed 1131K, 19% free 16631K/20359K, paused 2ms+3ms
03-26 18:21:29.370: I/ActivityManager(142): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity } from pid 220
03-26 18:21:29.370: W/ActivityManager(142): Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity } from ProcessRecord{40a88a00 220:com.android.launcher/10038} (pid=220, uid=10038) requires android.permission.INTERNET
03-26 18:21:29.380: E/Launcher(220): Launcher does not have the permission to launch Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity }. Make sure to create a MAIN intent-filter for the corresponding activity or use the exported attribute for this activity. tag=ApplicationInfo(title=BIQ) intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity }
03-26 18:21:29.380: E/Launcher(220): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity } from ProcessRecord{40a88a00 220:com.android.launcher/10038} (pid=220, uid=10038) requires android.permission.INTERNET
03-26 18:21:29.380: E/Launcher(220): at android.os.Parcel.readException(Parcel.java:1321)
03-26 18:21:29.380: E/Launcher(220): at android.os.Parcel.readException(Parcel.java:1275)
03-26 18:21:29.380: E/Launcher(220): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1535)
03-26 18:21:29.380: E/Launcher(220): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1377)
03-26 18:21:29.380: E/Launcher(220): at android.app.Activity.startActivityForResult(Activity.java:3131)
03-26 18:21:29.380: E/Launcher(220): at com.android.launcher2.Launcher.startActivityForResult(Launcher.java:1585)
03-26 18:21:29.380: E/Launcher(220): at android.app.Activity.startActivity(Activity.java:3237)
03-26 18:21:29.380: E/Launcher(220): at com.android.launcher2.Launcher.startActivitySafely(Launcher.java:2174)
03-26 18:21:29.380: E/Launcher(220): at com.android.launcher2.AllAppsPagedView$1.run(AllAppsPagedView.java:314)
03-26 18:21:29.380: E/Launcher(220): at com.android.launcher2.PagedView$1.onAnimationRepeat(PagedView.java:850)
03-26 18:21:29.380: E/Launcher(220): at android.animation.ValueAnimator.animationFrame(ValueAnimator.java:1094)
03-26 18:21:29.380: E/Launcher(220): at android.animation.ValueAnimator$AnimationHandler.handleMessage(ValueAnimator.java:632)
03-26 18:21:29.380: E/Launcher(220): at android.os.Handler.dispatchMessage(Handler.java:99)
03-26 18:21:29.380: E/Launcher(220): at android.os.Looper.loop(Looper.java:132)
03-26 18:21:29.380: E/Launcher(220): at android.app.ActivityThread.main(ActivityThread.java:4123)
03-26 18:21:29.380: E/Launcher(220): at java.lang.reflect.Method.invokeNative(Native Method)
03-26 18:21:29.380: E/Launcher(220): at java.lang.reflect.Method.invoke(Method.java:491)
03-26 18:21:29.380: E/Launcher(220): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
03-26 18:21:29.380: E/Launcher(220): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
03-26 18:21:29.380: E/Launcher(220): at dalvik.system.NativeStart.main(Native Method)
03-26 18:21:29.810: D/dalvikvm(1076): GC_EXPLICIT freed 48K, 5% free 6302K/6595K, paused 8ms+3ms
03-26 18:21:31.910: D/PowerManagerService(142): #PowerManagement: 'KEEP_SCREEN_ON_FLAG' releaseWakeLock when screen locked
03-26 18:21:34.790: D/dalvikvm(1083): GC_EXPLICIT freed 80K, 5% free 6312K/6595K, paused 5ms+2ms
03-26 18:21:39.790: D/dalvikvm(1108): GC_EXPLICIT freed 490K, 8% free 7032K/7623K, paused 4ms+2ms
03-26 18:21:44.810: D/dalvikvm(1131): GC_EXPLICIT freed 213K, 5% free 6411K/6727K, paused 6ms+2ms
03-26 18:21:49.800: D/dalvikvm(672): GC_EXPLICIT freed 226K, 10% free 6821K/7559K, paused 6ms+2ms
And this, apear at the console:
[2012-03-26 18:28:32 - BIQ] Android Launch!
[2012-03-26 18:28:32 - BIQ] adb is running normally.
[2012-03-26 18:28:32 - BIQ] Performing BIQ.ERP.BIQActivity activity launch
[2012-03-26 18:28:34 - BIQ] Uploading BIQ.apk onto device '37c70834240e197'
[2012-03-26 18:28:34 - BIQ] Installing BIQ.apk...
[2012-03-26 18:28:35 - BIQ] Success!
[2012-03-26 18:28:35 - BIQ] Starting activity BIQ.ERP.BIQActivity on device 37c70834240e197
[2012-03-26 18:28:36 - BIQ] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=BIQ.ERP/.BIQActivity }
[2012-03-26 18:28:36 - BIQ] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=BIQ.ERP/.BIQActivity } from null (pid=1346, uid=2000) requires android.permission.INTERNET

Have you tried adding supports-screens?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="BIQ.ERP"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET"/>
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"/>
...

Could this be your issue?
Activity permissions (applied to the tag) restrict who can
start the associated activity. The permission is checked during
Context.startActivity() and Activity.startActivityForResult(); if the
caller does not have the required permission then SecurityException is
thrown from the call.
(from http://developer.android.com/guide/topics/security/security.html)
Maybe try taking all those android:permission="..." attributes out of your <activity> tags.
Your Logcat says:
03-26 18:21:29.370: W/ActivityManager(142): Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity } from ProcessRecord{40a88a00 220:com.android.launcher/10038} (pid=220, uid=10038) requires android.permission.INTERNET
03-26 18:21:29.380: E/Launcher(220): Launcher does not have the permission to launch Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity }. Make sure to create a MAIN intent-filter for the corresponding activity or use the exported attribute for this activity. tag=ApplicationInfo(title=BIQ) intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity }
03-26 18:21:29.380: E/Launcher(220): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=BIQ.ERP/.BIQActivity } from ProcessRecord{40a88a00 220:com.android.launcher/10038} (pid=220, uid=10038) requires android.permission.INTERNET
I really think you need to take those Internet permissions out of all your Activities. If you read the quote from the Developer Guide that I included above, I think you will see why.

Check your logCat.
Maybe your app requires a feature not available on your device

Ok, i don't know what i did.
but it already works in my tablet.
I remove the permission to the internet out, of all of activity's.
I put the piece of code, refering to support screens, and other things.
Magic.... :)
Thank u for all.
Here the Manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="BIQ.ERP"
android:versionCode="1"
android:versionName="1.0" >
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true" android:resizeable="true"/>
<uses-sdk android:minSdkVersion="7"/>
<uses-configuration android:reqFiveWayNav="false" android:reqKeyboardType="qwerty" android:reqNavigation="undefined" android:reqTouchScreen="finger" android:reqHardKeyboard="false"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application android:icon="#drawable/ic_launcher" android:label="#string/app_name">
<activity android:name=".BIQActivity" android:theme="#android:style/Theme.Light" android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Menu" android:theme="#android:style/Theme.Light" android:label="#string/app_name">
</activity>
<activity android:name=".InsertHoras" android:theme="#android:style/Theme.Light" android:label="#string/app_name">
</activity>
<activity android:name=".InsertDespesas" android:theme="#android:style/Theme.Light" android:label="#string/app_name">
</activity>
<activity android:name=".Mapa" android:theme="#android:style/Theme.Light" android:label="#string/app_name">
</activity>
<activity android:name=".Perfil" android:theme="#android:style/Theme.Light" android:label="#string/app_name">
</activity>
</application>
</manifest>

Related

Google Maps Android v2 Authorization failure

I am testing the sample google code on an actual device having 2.3.6.I thought it might be the problem with the key ,so I created different key on a different account through Google's API Console.Still the same problem "Google Maps Android API-Authorization Failure".
Here is the log:
12-07 10:31:30.476: D/dalvikvm(17791): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp
12-07 10:31:30.484: W/dalvikvm(17791): VFY: unable to resolve instance field 24
12-07 10:31:30.484: D/dalvikvm(17791): VFY: replacing opcode 0x52 at 0x0012
12-07 10:31:30.484: D/dalvikvm(17791): VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z
12-07 10:31:30.718: D/dalvikvm(17791): GC_CONCURRENT freed 197K, 46% free 3063K/5639K, external 408K/517K, paused 3ms+4ms
12-07 10:31:30.789: W/dalvikvm(17791): Unable to resolve superclass of Lmaps/a/du; (411)
12-07 10:31:30.789: W/dalvikvm(17791): Link of class 'Lmaps/a/du;' failed
12-07 10:31:30.789: W/dalvikvm(17791): Unable to resolve superclass of Lmaps/a/ej; (2363)
12-07 10:31:30.789: W/dalvikvm(17791): Link of class 'Lmaps/a/ej;' failed
12-07 10:31:30.789: W/dalvikvm(17791): Unable to resolve superclass of Lmaps/j/k; (2379)
12-07 10:31:30.789: W/dalvikvm(17791): Link of class 'Lmaps/j/k;' failed
12-07 10:31:30.789: E/dalvikvm(17791): Could not find class 'maps.j.k', referenced from method maps.y.ae.a
12-07 10:31:30.789: W/dalvikvm(17791): VFY: unable to resolve new-instance 3571 (Lmaps/j/k;) in Lmaps/y/ae;
12-07 10:31:30.789: D/dalvikvm(17791): VFY: replacing opcode 0x22 at 0x007d
12-07 10:31:30.820: D/dalvikvm(17791): VFY: dead code 0x007f-008f in Lmaps/y/ae;.a (Landroid/view/LayoutInflater;Lcom/google/android/gms/maps/GoogleMapOptions;Z)Lmaps/y/ae;
12-07 10:31:31.281: D/dalvikvm(17791): GC_CONCURRENT freed 297K, 46% free 3222K/5959K, external 408K/517K, paused 3ms+4ms
12-07 10:31:31.523: D/dalvikvm(17791): GC_EXTERNAL_ALLOC freed 227K, 45% free 3397K/6087K, external 431K/517K, paused 52ms
12-07 10:31:31.648: I/System.out(17791): 0
12-07 10:31:31.734: D/dalvikvm(17791): GC_CONCURRENT freed 188K, 43% free 3531K/6151K, external 544K/1029K, paused 5ms+4ms
12-07 10:31:32.125: D/libEGL(17791): loaded /system/lib/egl/libGLES_hgl.so
12-07 10:31:32.132: D/BRCM_EGL(17791): eglCreateContext() context: 0xd7090, VC context 1, Thread 17810
12-07 10:31:32.148: D/BRCM_EGL(17791): eglCreateWindowSurface() surface: 0xd70d0, VC surface: 1, Thread: 17810
12-07 10:31:32.148: D/BRCM_EGL(17791): eglMakeCurrent(0xd7090, 0xd70d0, 0xd70d0) Thread: 17810
12-07 10:31:32.859: E/Google Maps Android API(17791): Authorization failure.
Here's is my manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.smartapps4u.googlemapslib"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
<permission
android:name="com.smartapps4u.googlemapslib.permission.MAPS_RECEIVE"
android:protectionLevel="signature"/>
<uses-permission android:name="com.smartapps4u.googlemapslib.permission.MAPS_RECEIVE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-library android:name="com.google.android.maps" />
<application
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="My API key"/>
<activity
android:name=".MainActivity"
android:label="#string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Any help would be appreciated.
Solved it.Very stupid mistake on my part.Used wrong api key.Was using the api key for the signed app.Replaced it with api key for debug keystore and solved the problem.
Had the same problem and #Sunkenglory 's answer is right, just to add some info for newbies like myself when I was looking for a solution.
On mac osX, my debug keystore was located here:
~/.android/debug.keystore
Go to that folder and run the following
keytool -list -v -keystore debug.keystore
That gave me the correct sha1 that I entered in the google console, and now it works.

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>

android black screen on device test

I'm using a honeycomb device to test my app and for whatever reason the app runs like it doesn't have any content layout set. It used to run fine and it all of a sudden started showing just black. Other apps run fine and even new test apps from eclipse run fine.
Logcat on run:
09-22 23:07:07.955: DEBUG/AndroidRuntime(16269): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
09-22 23:07:07.955: DEBUG/AndroidRuntime(16269): CheckJNI is ON
09-22 23:07:08.203: DEBUG/AndroidRuntime(16269): Calling main entry com.android.commands.pm.Pm
09-22 23:07:08.251: DEBUG/dalvikvm(1633): GC_EXPLICIT freed 10K, 16% free 2666K/3139K, paused 1ms+1ms
09-22 23:07:08.251: WARN/ActivityManager(164): No content provider found for:
09-22 23:07:08.343: WARN/ActivityManager(164): No content provider found for:
09-22 23:07:08.347: DEBUG/PackageParser(164): Scanning package: /data/app/vmdl503116950.tmp
09-22 23:07:08.423: INFO/PackageManager(164): Removing non-system package:com.test.tv
09-22 23:07:08.423: INFO/Process(164): Sending signal. PID: 16153 SIG: 9
09-22 23:07:08.423: INFO/ActivityManager(164): Force stopping package com.test.tv uid=10026
09-22 23:07:08.471: DEBUG/dalvikvm(284): GC_EXPLICIT freed 13K, 24% free 3540K/4615K, paused 2ms+2ms
09-22 23:07:08.559: DEBUG/dalvikvm(611): GC_EXPLICIT freed <1K, 19% free 5940K/7303K, paused 20ms+7ms
09-22 23:07:08.583: DEBUG/dalvikvm(465): GC_EXPLICIT freed 4K, 60% free 5733K/14087K, paused 50ms+6ms
09-22 23:07:08.723: DEBUG/dalvikvm(164): GC_CONCURRENT freed 1557K, 55% free 9969K/21831K, paused 2ms+6ms
09-22 23:07:08.759: DEBUG/PackageManager(164): Scanning package com.test.tv
09-22 23:07:08.759: INFO/PackageManager(164): Package com.test.tv codePath changed from /data/app/com.test.tv-1.apk to /data/app/com.test.tv-2.apk; Retaining data and using new
09-22 23:07:08.759: INFO/PackageManager(164): Unpacking native libraries for /data/app/com.test.tv-2.apk
09-22 23:07:08.775: DEBUG/installd(116): DexInv: --- BEGIN '/data/app/com.test.tv-2.apk' ---
09-22 23:07:08.879: DEBUG/dalvikvm(16278): DexOpt: load 5ms, verify+opt 53ms
09-22 23:07:08.891: DEBUG/installd(116): DexInv: --- END '/data/app/com.test.tv-2.apk' (success) ---
09-22 23:07:08.891: DEBUG/PackageManager(164): Activities: com.test.tv.TestActivity com.test.tv.FullscreenActivity
09-22 23:07:08.891: INFO/ActivityManager(164): Force stopping package com.test.tv uid=10026
09-22 23:07:08.891: WARN/PackageManager(164): Code path for pkg : com.test.tv changing from /data/app/com.test.tv-1.apk to /data/app/com.test.tv-2.apk
09-22 23:07:08.891: WARN/PackageManager(164): Resource path for pkg : com.test.tv changing from /data/app/com.test.tv-1.apk to /data/app/com.test.tv-2.apk
09-22 23:07:08.951: INFO/installd(116): move /data/dalvik-cache/data#app#com.test.tv-2.apk#classes.dex -> /data/dalvik-cache/data#app#com.test.tv-2.apk#classes.dex
09-22 23:07:08.951: DEBUG/PackageManager(164): New package installed in /data/app/com.test.tv-2.apk
09-22 23:07:09.011: INFO/ActivityManager(164): Force stopping package com.test.tv uid=10026
09-22 23:07:09.075: DEBUG/dalvikvm(360): GC_EXPLICIT freed 72K, 16% free 2883K/3399K, paused 1ms+1ms
09-22 23:07:09.099: DEBUG/dalvikvm(236): GC_EXPLICIT freed 25K, 32% free 10096K/14727K, paused 2ms+3ms
09-22 23:07:09.111: DEBUG/PackageManager(164): generateServicesMap(android.accounts.AccountAuthenticator): 1 services unchanged
09-22 23:07:09.119: DEBUG/PackageManager(164): generateServicesMap(android.content.SyncAdapter): 1 services unchanged
09-22 23:07:09.131: DEBUG/PackageManager(164): generateServicesMap(android.accounts.AccountAuthenticator): 1 services unchanged
09-22 23:07:09.131: DEBUG/PackageManager(164): generateServicesMap(android.content.SyncAdapter): 1 services unchanged
09-22 23:07:09.143: DEBUG/GTalkService(284): [GTalkService.1] handlePackageInstalled: re-initialize providers
09-22 23:07:09.143: DEBUG/GTalkService(284): [RawStanzaProvidersMgr] ##### searchProvidersFromIntent
09-22 23:07:09.147: DEBUG/GTalkService(284): [RawStanzaProvidersMgr] no intent receivers found
09-22 23:07:09.159: WARN/RecognitionManagerService(164): no available voice recognition services found
09-22 23:07:09.271: DEBUG/dalvikvm(164): GC_EXPLICIT freed 681K, 56% free 9810K/21831K, paused 2ms+5ms
09-22 23:07:09.275: INFO/installd(116): unlink /data/dalvik-cache/data#app#com.test.tv-1.apk#classes.dex
09-22 23:07:09.279: DEBUG/AndroidRuntime(16269): Shutting down VM
09-22 23:07:09.295: INFO/AndroidRuntime(16269): NOTE: attach of thread 'Binder Thread #3' failed
09-22 23:07:09.295: DEBUG/dalvikvm(16269): GC_CONCURRENT freed 98K, 87% free 338K/2560K, paused 1ms+1ms
09-22 23:07:09.295: DEBUG/jdwp(16269): Got wake-up signal, bailing out of select
09-22 23:07:09.295: DEBUG/dalvikvm(16269): Debugger has detached; object registry had 1 entries
09-22 23:07:09.531: DEBUG/AndroidRuntime(16285): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
09-22 23:07:09.531: DEBUG/AndroidRuntime(16285): CheckJNI is ON
09-22 23:07:09.699: DEBUG/AndroidRuntime(16285): Calling main entry com.android.commands.am.Am
09-22 23:07:09.711: INFO/ActivityManager(164): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.test.tv/.TestActivity } from pid 16285
09-22 23:07:09.727: INFO/ActivityManager(164): Start proc com.test.tv for activity com.test.tv/.TestActivity: pid=16292 uid=10026 gids={3003}
09-22 23:07:09.735: DEBUG/AndroidRuntime(16285): Shutting down VM
09-22 23:07:09.743: INFO/AndroidRuntime(16285): NOTE: attach of thread 'Binder Thread #3' failed
09-22 23:07:09.751: DEBUG/dalvikvm(16285): GC_CONCURRENT freed 99K, 86% free 365K/2560K, paused 0ms+1ms
09-22 23:07:09.751: DEBUG/jdwp(16285): Got wake-up signal, bailing out of select
09-22 23:07:09.751: DEBUG/dalvikvm(16285): Debugger has detached; object registry had 1 entries
09-22 23:07:09.787: ERROR/jdwp(16292): Failed sending reply to debugger: Broken pipe
09-22 23:07:09.787: DEBUG/dalvikvm(16292): Debugger has detached; object registry had 1 entries
09-22 23:07:10.151: INFO/ActivityManager(164): Displayed com.test.tv/.TestActivity: +425ms
09-22 23:07:10.271: DEBUG/dalvikvm(236): GC_EXPLICIT freed 264K, 31% free 10199K/14727K, paused 3ms+4ms
Manifest:
<application android:icon="#drawable/logo" android:theme="#android:style/Theme.Black.NoTitleBar.Fullscreen" android:label="#string/app_name">
<activity android:name=".TestActivity"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="FullscreenActivity">
<intent-filter>
<action android:name="com.test.tv" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
** edit FOUND PROBLEM **
The problem was in the onCreate for the Default Activity (in my case - TestActivity). Eclipse had added too many parameters to the onCreate function and that apparently stopped the function from running, but there was no error in the logs at all. Once those extra params were removed, everything went back to normal.
The problem was in the onCreate for the Default Activity (in my case - TestActivity). Eclipse had added too many parameters to the onCreate function and that apparently stopped the function from running, but there was no error in the logs at all. Once those extra params were removed, everything went back to normal.

Why Internet Application not installed on emulator?

I have created an android application which plays music from the Internet.
It is working properly when I run it from eclipse, but when I try to start the application from emulator by clicking icon on emulator, it shows a Toast, saying "Application is not installed on your phone".
I don't understand the reason. Can someone help me out?
07-27 18:40:17.543: DEBUG/AndroidRuntime(537): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
07-27 18:40:17.543: DEBUG/AndroidRuntime(537): CheckJNI is ON
07-27 18:40:19.543: DEBUG/AndroidRuntime(537): Calling main entry com.android.commands.pm.Pm
07-27 18:40:19.683: DEBUG/AndroidRuntime(537): Shutting down VM
07-27 18:40:19.703: INFO/AndroidRuntime(537): NOTE: attach of thread 'Binder Thread #4' failed
07-27 18:40:19.715: DEBUG/dalvikvm(537): GC_CONCURRENT freed 100K, 72% free 296K/1024K, external 0K/0K, paused 2ms+4ms
07-27 18:40:19.715: DEBUG/jdwp(537): Got wake-up signal, bailing out of select
07-27 18:40:19.715: DEBUG/dalvikvm(537): Debugger has detached; object registry had 1 entries
07-27 18:40:20.283: DEBUG/AndroidRuntime(548): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
07-27 18:40:20.283: DEBUG/AndroidRuntime(548): CheckJNI is ON
07-27 18:40:21.193: DEBUG/AndroidRuntime(548): Calling main entry com.android.commands.am.Am
07-27 18:40:21.233: INFO/ActivityManager(61): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.nine.patch/.Patch } from pid 548
07-27 18:40:21.303: DEBUG/AndroidRuntime(548): Shutting down VM
07-27 18:40:21.383: INFO/AndroidRuntime(548): NOTE: attach of thread 'Binder Thread #3' failed
07-27 18:40:21.799: DEBUG/dalvikvm(548): GC_CONCURRENT freed 102K, 69% free 319K/1024K, external 0K/0K, paused 1ms+2ms
07-27 18:40:21.799: DEBUG/jdwp(548): Got wake-up signal, bailing out of select
07-27 18:40:21.799: DEBUG/dalvikvm(548): Debugger has detached; object registry had 1 entries
07-27 18:40:22.583: DEBUG/dalvikvm(467): GC_EXTERNAL_ALLOC freed 4K, 53% free 2564K/5379K, external 2626K/3030K, paused 67ms
07-27 18:40:22.653: DEBUG/MediaPlayer(467): Couldn't open file on client side, trying server side
07-27 18:40:22.653: INFO/StagefrightPlayer(34): setDataSource('http://www.perlgurl.org/podcast/archives/podcasts/PerlgurlPromo.mp3')
07-27 18:40:22.664: INFO/NuHTTPDataSource(34): connect to www.perlgurl.org:80/podcast/archives/podcasts/PerlgurlPromo.mp3 #0
07-27 18:40:31.286: WARN/ActivityManager(61): Launch timeout has expired, giving up wake lock!
07-27 18:40:31.356: WARN/ActivityManager(61): Activity idle timeout for HistoryRecord{407f6138 com.nine.patch/.Patch}
07-27 18:40:31.706: DEBUG/AudioSink(34): bufferCount (4) is too small and increased to 12
07-27 18:40:32.073: INFO/ActivityManager(61): Displayed com.nine.patch/.Patch: +10s81ms
07-27 18:40:32.667: WARN/AudioFlinger(34): write blocked for 87 msecs, 1437 delayed writes, thread 0xc650
07-27 18:40:34.757: INFO/NuCachedSource2(34): ERROR_END_OF_STREAM
07-27 18:40:37.223: DEBUG/dalvikvm(140): GC_EXPLICIT freed 85K, 51% free 2950K/5959K, external 6050K/7443K, paused 81ms
07-27 18:40:37.696: WARN/AudioFlinger(34): write blocked for 72 msecs, 1493 delayed writes, thread 0xc650
07-27 18:40:42.715: WARN/AudioFlinger(34): write blocked for 71 msecs, 1557 delayed writes, thread 0xc650
07-27 18:40:47.728: WARN/AudioFlinger(34): write blocked for 71 msecs, 1620 delayed writes, thread 0xc650
07-27 18:40:52.731: WARN/AudioFlinger(34): write blocked for 71 msecs, 1684 delayed writes, thread 0xc650
07-27 18:40:57.752: WARN/AudioFlinger(34): write blocked for 71 msecs, 1748 delayed writes, thread 0xc650
07-27 18:41:02.791: WARN/AudioFlinger(34): write blocked for 73 msecs, 1809 delayed writes, thread 0xc650
07-27 18:41:07.803: WARN/AudioFlinger(34): write blocked for 75 msecs, 1874 delayed writes, thread 0xc650
07-27 18:41:11.637: ERROR/MP3Extractor(34): Unable to resync. Signalling end of stream.
That's the LogCat output.
Following is my Manifest xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nine.patch"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" />
<application android:icon="#drawable/icon" android:label="#string/app_name" android:permission="android.permission.INTERNET" android:debuggable="false">
<activity android:name=".Patch"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
One thing you can do - painful but should work - is to create another application, dead simple, which does next to nothing. That should install and work. Then start looking at every last difference between your working and non-working apps. Potentially including just moving all your code over to the new one.
I've seen something like this happen when there was a desktop shortcut icon pointing to an old and no longer present version of the app.
Try trashing any desktop shortcuts and launching from the app drawer.
NOTE: this didn't work

Application works in Android 1.5 but not 2.2

The spinning globe application unning on the emulator works on android 1.5 as target but puts out a "force close application" error in android 2.2 target. Where should i look to find the problem ?
I have enclosed the logcat details that I get,
D/MediaScanner( 183): prescan time: 4913ms
D/MediaScanner( 183): scan time: 693ms
D/MediaScanner( 183): postscan time: 45ms
D/MediaScanner( 183): total time: 5651ms
D/MediaScannerService( 183): done scanning volume internal
I/PackageManager( 67): Removing non-system package:com.android.SpinningGlobe
I/ActivityManager( 67): Force stopping package com.android.SpinningGlobe uid=10038
D/dalvikvm( 127): GC_EXPLICIT freed 12963 objects / 655936 bytes in 168ms
D/PackageManager( 67): Scanning package com.android.SpinningGlobe
I/PackageManager( 67): Package com.android.SpinningGlobe codePath changed from /data/app/com.android.SpinningGlobe-2.apk to /data/app/com.android.SpinningGlobe-1.apk; Retaining data and using new
I/PackageManager( 67): /data/app/com.android.SpinningGlobe-1.apk changed; unpacking
D/installd( 34): DexInv: --- BEGIN '/data/app/com.android.SpinningGlobe-1.apk' ---
D/dalvikvm( 255): DexOpt: load 214ms, verify 229ms, opt 5ms
D/installd( 34): DexInv: --- END '/data/app/com.android.SpinningGlobe-1.apk' success)---
W/PackageManager( 67): Code path for pkg : com.android.SpinningGlobe changing from /data/app/com.android.SpinningGlobe-2.apk to /data/app/com.android.SpinningGlobe-1.apk
W/PackageManager( 67): Resource path for pkg : com.android.SpinningGlobe changing from /data/app/com.android.SpinningGlobe-2.apk to /data/app/com.android.SpinningGlobe-1.apk
I/ActivityManager( 67): Force stopping package com.android.SpinningGlobe uid=10038
D/PackageManager( 67): Activities: com.android.SpinningGlobe.GLApp
I/installd( 34): move /data/dalvik-cache/data#app#com.android.SpinningGlobe-1.apk#classes.dex -> /data/dalvik-cache/data#app#com.android.SpinningGlobe-1.apk#classes.dex
D/PackageManager( 67): New package installed in /data/app/com.android.SpinningGlobe-1.apk
I/ActivityManager( 67): Force stopping package com.android.SpinningGlobe uid=10038
I/ActivityManager( 67): Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=256 uid=10028 gids={}
D/dalvikvm( 167): GC_EXPLICIT freed 3943 objects / 244424 bytes in 1708ms
D/dalvikvm( 67): GC_EXPLICIT freed 7297 objects / 468432 bytes in 667ms
W/RecognitionManagerService( 67): no available voice recognition services found
I/ActivityThread( 256): Publishing provider com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider
I/installd( 34): unlink /data/dalvik-cache/data#app#com.android.SpinningGlobe-2.apk#classes.dex
D/AndroidRuntime( 118): Shutting down VM
D/jdwp ( 118): adbd disconnected
I/AndroidRuntime( 118): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 266):
D/AndroidRuntime( 266): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 266): CheckJNI is ON
D/AndroidRuntime( 266): --- registering native functions ---
I/ActivityManager( 67): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.android.SpinningGlobe/.GLApp }
D/AndroidRuntime( 266): Shutting down VM
D/jdwp ( 266): adbd disconnected
I/AndroidRuntime( 266): NOTE: attach of thread 'Binder Thread #3' failed
I/ActivityManager( 67): Start proc com.android.SpinningGlobe for activity com.android.SpinningGlobe/.GLApp: pid=273 uid=10038 gids={1015}
I/ARMAssembler( 67): generated scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at [0x32b4a0:0x32b5ac] in 3627836 ns
D/libEGL ( 273): egl.cfg not found, using default config
D/libEGL ( 273): loaded /system/lib/egl/libGLES_android.so
D/dalvikvm( 273): GC_EXTERNAL_ALLOC freed 839 objects / 59328 bytes in 151ms
W/dalvikvm( 273): threadid=7: thread exiting with uncaught exception (group=0x4001d800)
I/ActivityManager( 67): Displayed activity com.android.SpinningGlobe/.GLApp: 4870 ms (total 4870 ms)
E/AndroidRuntime( 273): FATAL EXCEPTION: GLThread 8
E/AndroidRuntime( 273): java.lang.IndexOutOfBoundsException
E/AndroidRuntime( 273): at java.nio.IntArrayBuffer.get(IntArrayBuffer.java:63)
E/AndroidRuntime( 273): at com.android.SpinningGlobe.GLRenderer.onDrawFrame(GLRenderer.java:105)
E/AndroidRuntime( 273): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
E/AndroidRuntime( 273): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
W/ActivityManager( 67): Force finishing activity com.android.SpinningGlobe/.GLApp
I/ARMAssembler( 67): generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x33f9a8:0x33fa64] in 1258819 ns
Any insights on where the problem could be ?
You should look at the log from the emulator.
You can get this on the command line using:
adb logcat
Or if you're using the ADT Plugin for Eclipse the log is visible there. If you can't see it select Window ▶ Show View ▶ Other... and then select Android ▶ LogCat.
It's probably also worth reading the Debugging page in the Android Developer Documentation.
Recompile it under 2.2 and look for deprecated warnings

Categories

Resources