Issues with ActionBarSherlock - Install fails on Android 2.3.7 - android

I have a problem using ActionBarSherlock in one of my projects. My App installs fine when pushing it to my Nexus 4, but when I try to install it to my HTC Desire (CM7 with Android 2.3.7 - API Level 10) I get the following error.
[2013-02-03 18:47:44 - MyApp] Project dependency found, installing: Actionbar
[2013-02-03 18:47:44 - Actionbar] Uploading Actionbar.apk onto device 'HT042PL03910'
[2013-02-03 18:47:44 - Actionbar] Installing Actionbar.apk...
[2013-02-03 18:47:47 - Actionbar] Installation error: INSTALL_FAILED_OLDER_SDK
[2013-02-03 18:47:47 - Actionbar] Please check logcat output for more details.
[2013-02-03 18:47:47 - MyApp] Launch canceled!
I am using Sherlock 4.2.0 as a libraryproject and added the R11 of android-support-v4. Sherlock itself is configured like this:
Manifest:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/>
Project-Properties:
android.library=true
# Project target.
target=android-14
My application uses the following settings:
Manifest:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" />
Project-Properties:
target=Google Inc.:Google APIs:16
android.library.reference.1=../ActionbarSherlock
I went through the whole logcat output but couldn't find anything helpful. Has anybody else experienced this and can help me?
========= EDIT ===============
Manifest of my App (mindSdk changed to 8):
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.hsrm.medieninf.mobcomp.klingelapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<permission
android:name="de.hsrm.medieninf.mobcomp.klingelapp.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="de.hsrm.medieninf.mobcomp.klingelapp.permission.C2D_MESSAGE" />
<!-- App receives GCM messages. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- GCM connects to Google Services. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- GCM requires a Google account. -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<!-- Keeps the processor from sleeping when a message is received. -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/Theme.Sherlock.Light" >
<uses-library android:name="com.google.android.maps" />
(...Activities and Services here ...)
</application>
</manifest>
Full Logcat from new Emulator AVD with Google APIs Level 10:
02-03 21:09:59.647: I/PackageManager(77): Removing non-system package:de.hsrm.medieninf.mobcomp.klingelapp
02-03 21:09:59.647: I/ActivityManager(77): Force stopping package de.hsrm.medieninf.mobcomp.klingelapp uid=10038
02-03 21:09:59.877: D/dalvikvm(77): GC_CONCURRENT freed 1369K, 49% free 5484K/10631K, external 3226K/4029K, paused 4ms+12ms
02-03 21:09:59.977: D/PackageManager(77): Scanning package de.hsrm.medieninf.mobcomp.klingelapp
02-03 21:09:59.977: I/PackageManager(77): Package de.hsrm.medieninf.mobcomp.klingelapp codePath changed from /data/app/de.hsrm.medieninf.mobcomp.klingelapp-1.apk to /data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk; Retaining data and using new
02-03 21:09:59.977: I/PackageManager(77): Unpacking native libraries for /data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk
02-03 21:10:00.047: D/installd(35): DexInv: --- BEGIN '/data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk' ---
02-03 21:10:04.096: D/dalvikvm(598): DexOpt: load 250ms, verify+opt 957ms
02-03 21:10:04.306: D/installd(35): DexInv: --- END '/data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk' (success) ---
02-03 21:10:04.306: W/PackageManager(77): Code path for pkg : de.hsrm.medieninf.mobcomp.klingelapp changing from /data/app/de.hsrm.medieninf.mobcomp.klingelapp-1.apk to /data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk
02-03 21:10:04.306: W/PackageManager(77): Resource path for pkg : de.hsrm.medieninf.mobcomp.klingelapp changing from /data/app/de.hsrm.medieninf.mobcomp.klingelapp-1.apk to /data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk
02-03 21:10:04.306: D/PackageManager(77): Services: de.hsrm.medieninf.mobcomp.klingelapp.GCMIntentService de.hsrm.medieninf.mobcomp.klingelapp.services.LocationService de.hsrm.medieninf.mobcomp.klingelapp.services.SyncService de.hsrm.medieninf.mobcomp.klingelapp.services.AppService de.hsrm.medieninf.mobcomp.klingelapp.services.AuthService
02-03 21:10:04.306: D/PackageManager(77): Receivers: com.google.android.gcm.GCMBroadcastReceiver
02-03 21:10:04.306: D/PackageManager(77): Activities: de.hsrm.medieninf.mobcomp.klingelapp.ui.LoginActivity de.hsrm.medieninf.mobcomp.klingelapp.ui.MessageEditor de.hsrm.medieninf.mobcomp.klingelapp.ui.StartActivity de.hsrm.medieninf.mobcomp.klingelapp.ui.ContactsActivity de.hsrm.medieninf.mobcomp.klingelapp.ui.KlingelSettings de.hsrm.medieninf.mobcomp.klingelapp.ui.NewStartActivity de.hsrm.medieninf.mobcomp.klingelapp.ui.MessagesActivity de.hsrm.medieninf.mobcomp.klingelapp.ui.MessageDetails de.hsrm.medieninf.mobcomp.klingelapp.ui.RegisterActivity de.hsrm.medieninf.mobcomp.klingelapp.ui.FriendRequestActivity
02-03 21:10:04.306: D/PackageManager(77): Permissions: de.hsrm.medieninf.mobcomp.klingelapp.permission.C2D_MESSAGE
02-03 21:10:04.326: I/ActivityManager(77): Force stopping package de.hsrm.medieninf.mobcomp.klingelapp uid=10038
02-03 21:10:04.436: I/installd(35): move /data/dalvik-cache/data#app#de.hsrm.medieninf.mobcomp.klingelapp-2.apk#classes.dex -> /data/dalvik-cache/data#app#de.hsrm.medieninf.mobcomp.klingelapp-2.apk#classes.dex
02-03 21:10:04.436: D/PackageManager(77): New package installed in /data/app/de.hsrm.medieninf.mobcomp.klingelapp-2.apk
02-03 21:10:04.446: W/PackageManager(77): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
02-03 21:10:04.446: W/PackageManager(77): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
02-03 21:10:04.457: W/PackageManager(77): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
02-03 21:10:04.457: W/PackageManager(77): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
02-03 21:10:04.466: W/PackageManager(77): Unknown permission android.permission.READ_OWNER_DATA in package com.android.email
02-03 21:10:04.476: W/PackageManager(77): Unknown permission com.android.providers.im.permission.READ_ONLY in package com.google.android.apps.maps
02-03 21:10:04.476: W/PackageManager(77): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
02-03 21:10:04.606: I/ActivityManager(77): Force stopping package de.hsrm.medieninf.mobcomp.klingelapp uid=10038
02-03 21:10:04.706: D/dalvikvm(260): GC_EXPLICIT freed 1K, 49% free 3020K/5831K, external 4756K/5631K, paused 67ms
02-03 21:10:04.746: D/dalvikvm(226): GC_EXPLICIT freed 94K, 51% free 2964K/5959K, external 1625K/2137K, paused 75ms
02-03 21:10:04.806: W/RecognitionManagerService(77): no available voice recognition services found
02-03 21:10:04.856: D/GTalkService(287): handlePackageInstalled: re-initialize providers
02-03 21:10:04.856: D/GTalkService(287): [RawStanzaProvidersMgr] ##### searchProvidersFromIntent
02-03 21:10:04.856: D/GTalkService(287): [RawStanzaProvidersMgr] no intent receivers found
02-03 21:10:05.136: I/Launcher(260): setLoadOnResume
02-03 21:10:05.226: D/dalvikvm(77): GC_EXPLICIT freed 1202K, 54% free 4962K/10631K, external 3226K/4029K, paused 75ms
02-03 21:10:05.256: I/installd(35): unlink /data/dalvik-cache/data#app#de.hsrm.medieninf.mobcomp.klingelapp-1.apk#classes.dex
02-03 21:10:05.296: D/AndroidRuntime(589): Shutting down VM
02-03 21:10:05.306: D/dalvikvm(589): GC_CONCURRENT freed 101K, 72% free 295K/1024K, external 0K/0K, paused 0ms+1ms
02-03 21:10:05.306: D/jdwp(589): Got wake-up signal, bailing out of select
02-03 21:10:05.306: D/dalvikvm(589): Debugger has detached; object registry had 1 entries
02-03 21:10:05.326: I/dalvikvm(589): JNI: AttachCurrentThread (from ???.???)
02-03 21:10:05.326: I/AndroidRuntime(589): NOTE: attach of thread 'Binder Thread #3' failed
02-03 21:10:06.686: D/AndroidRuntime(604): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
02-03 21:10:06.686: D/AndroidRuntime(604): CheckJNI is ON
02-03 21:10:07.106: D/AndroidRuntime(604): Calling main entry com.android.commands.pm.Pm
02-03 21:10:07.196: D/dalvikvm(442): GC_EXPLICIT freed 10K, 51% free 2727K/5511K, external 1625K/2137K, paused 43ms
02-03 21:10:07.206: W/ActivityManager(77): No content provider found for:
02-03 21:10:07.306: W/ActivityManager(77): No content provider found for:
02-03 21:10:07.316: D/PackageParser(77): Scanning package: /data/app/vmdl-63285559.tmp
02-03 21:10:07.326: W/PackageParser(77): /data/app/vmdl-63285559.tmp (at Binary XML file line #8): Requires newer sdk version #16 (current version is #10)

So instead of searching for where I went wrong, I checked out a working revision without sherlock. I then added sherlock as a library and made the same changes to my activites I did yesterday. But now, install works fine.

Related

Google Maps yields a black map

My google maps in android yields a black map. Is it because I have my files set up incorrectly (libraries in the wrong place etc.?)
Images:
The black screen:
The libraries and whatnot:
Are all my imported libraries correct?
Manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sonnet"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="com.example.barcodelibrary.permission.MAPS_RECEIVE"/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.example.sonnet.FullscreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="#string/app_name"
android:theme="#style/FullscreenTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.sonnet.Map"
android:label="#string/title_activity_map" >
</activity>
<activity
android:name="com.example.sonnet.MapActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="#string/title_activity_map"
android:theme="#style/FullscreenTheme" >
</activity>
<uses-library android:name="com.google.android.maps"/>
<meta-data
android:name="com.google.android.maps.v2.stuff"
android:value="stuff" />
</application>
</manifest>
there 'stuff' means my API key.
And my Logcat:
02-06 16:14:44.735: D/AndroidRuntime(5651): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
02-06 16:14:44.735: D/AndroidRuntime(5651): CheckJNI is OFF
02-06 16:14:44.745: D/dalvikvm(5651): Trying to load lib libjavacore.so 0x0
02-06 16:14:44.745: D/dalvikvm(5651): Added shared lib libjavacore.so 0x0
02-06 16:14:44.755: D/dalvikvm(5651): Trying to load lib libnativehelper.so 0x0
02-06 16:14:44.755: D/dalvikvm(5651): Added shared lib libnativehelper.so 0x0
02-06 16:14:44.895: D/AndroidRuntime(5651): Calling main entry com.android.commands.pm.Pm
02-06 16:14:44.895: D/AndroidRuntime(5651): Shutting down VM
02-06 16:14:44.895: D/dalvikvm(5651): Debugger has detached; object registry had 1 entries
02-06 16:14:44.895: I/AndroidRuntime(5651): NOTE: attach of thread 'Binder_1' failed
02-06 16:14:45.365: D/AndroidRuntime(5661): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
02-06 16:14:45.365: D/AndroidRuntime(5661): CheckJNI is OFF
02-06 16:14:45.375: D/dalvikvm(5661): Trying to load lib libjavacore.so 0x0
02-06 16:14:45.375: D/dalvikvm(5661): Added shared lib libjavacore.so 0x0
02-06 16:14:45.385: D/dalvikvm(5661): Trying to load lib libnativehelper.so 0x0
02-06 16:14:45.385: D/dalvikvm(5661): Added shared lib libnativehelper.so 0x0
02-06 16:14:45.515: D/AndroidRuntime(5661): Calling main entry com.android.commands.am.Am
02-06 16:14:45.525: D/dalvikvm(5661): Note: class Landroid/app/ActivityManagerNative; has 163 unimplemented (abstract) methods
02-06 16:14:45.525: I/ActivityManager(432): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.sonnet/.FullscreenActivity} from pid 5661
02-06 16:14:45.565: D/AndroidRuntime(5661): Shutting down VM
02-06 16:14:45.565: D/jdwp(5661): Got wake-up signal, bailing out of select
02-06 16:14:45.565: D/dalvikvm(5661): Debugger has detached; object registry had 1 entries
02-06 16:14:45.565: D/dalvikvm(5672): Late-enabling CheckJNI
02-06 16:14:45.575: I/ActivityManager(432): Start proc com.example.sonnet for activity com.example.sonnet/.FullscreenActivity: pid=5672 uid=10031 gids={50031, 3003, 1015, 1028}
02-06 16:14:45.595: D/dalvikvm(122): GC_EXPLICIT freed 40K, 2% free 7478K/7584K, paused 1ms+2ms, total 29ms
02-06 16:14:45.625: D/dalvikvm(122): GC_EXPLICIT freed <1K, 2% free 7478K/7584K, paused 1ms+2ms, total 27ms
02-06 16:14:45.655: D/dalvikvm(122): GC_EXPLICIT freed <1K, 2% free 7478K/7584K, paused 1ms+2ms, total 28ms
02-06 16:14:45.995: D/libEGL(5672): loaded /system/lib/egl/libEGL_tegra.so
02-06 16:14:46.035: D/libEGL(5672): loaded /system/lib/egl/libGLESv1_CM_tegra.so
02-06 16:14:46.055: D/libEGL(5672): loaded /system/lib/egl/libGLESv2_tegra.so
02-06 16:14:46.095: D/OpenGLRenderer(5672): Enabling debug mode 0
02-06 16:14:46.125: I/ActivityManager(432): Displayed com.example.sonnet/.FullscreenActivity: +566ms
02-06 16:14:46.395: D/TilesManager(5672): Starting TG #0, 0x641e71c8
02-06 16:14:46.395: D/TilesManager(5672): new EGLContext from framework: 62607d38
02-06 16:14:46.395: D/GLWebViewState(5672): Reinit shader
02-06 16:14:46.405: D/GLWebViewState(5672): Reinit transferQueue
02-06 16:14:48.705: W/ProcessStats(432): Skipping unknown process pid 5698
02-06 16:14:48.705: W/ProcessStats(432): Skipping unknown process pid 5709
02-06 16:14:48.705: W/ProcessStats(432): Skipping unknown process pid 5710
Looking at your manifest file, I see at least one problem:
1 - set the Google Play Services library for the application tag
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
Then please make sure you have enabled the Google Maps API in the Google API console and that you are using the correct API Key according to the certificate you're using to sign the app.
All the procedure is described here: https://developers.google.com/maps/documentation/android/start

Blank map with zoom controls on using Google Map's API V2 Fragment Map:

I am tring to implement google maps using the new google maps api v2 and for some reason i don't see a map.
I think that the problem is those two lines of error when i run it on the emulator:
E/ActivityThread( 1373): Failed to find provider info for com.google.settings
E/ActivityThread( 1373): Failed to find provider info for com.google.android.gsf
.gservices
when i run the application on the device the following error is produced:
Could not find class 'maps.j.k', referenced from method map.y.ae.a
My problem looks the same as in this link: http://android-er.blogspot.co.il/2012/12/google-maps-android-api-v2-with-blank.html
There it's says that the problem may be my key so i went and reproduced it using the following tutorial: http://android-er.blogspot.co.il/2012/12/displaying-sha1-certificate-fingerprint.html. but this still didn't helped me.
the support files are of course add to the project as well as the Google play services lib.
I see the same result on the emulator (after adding manually the two file that allow using the google map v2 on the emulator) as well as on the motorola Defy running android 2.2.
Maybe I am using the wrong debug.keystore? I am using the one in my User.android folder.If so then how do i find the right file?
EDIT: My eclipse says that my debug key is in the default folder. So i renamed the debug.keystore file and ran the Eclipse to recreate it all over again. That resulted in producing a new SHA1 key. I used it to create a new Google Maps API v2 key but the result is still the same. I'm still unable to see the map.
EDIT2: Stupid me, I chose Google Map API V2 instead of Google Maps Android API V2.
This question can be closed. Thanks.
Here are all the code files:
xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<fragment
xmlns:map="http://schemas.android.com/apk/res-auto"
android:id="#+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
map:cameraBearing="112.5"
map:cameraTargetLat="-33.796923"
map:cameraTargetLng="150.922433"
map:cameraTilt="30"
map:cameraZoom="13"
map:mapType="normal"
map:uiCompass="false"
map:uiRotateGestures="true"
map:uiScrollGestures="false"
map:uiTiltGestures="true"
map:uiZoomGestures="true" />
</LinearLayout>
Map Fragmentactivity class:
package com.eadesign.skygiraffefinalv2;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.maps.GoogleMap;
import android.os.Bundle;
import com.google.android.gms.maps.*;
import android.widget.ImageView;
import android.widget.TextView;
public class Map extends android.support.v4.app.FragmentActivity
{
private GoogleMap map;
#Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.map);
if (GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext()) == 0)
{
map = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();
// map.setMapType(GoogleMap.MAP_TYPE_HYBRID);
}
}}
manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.eadesign.skygiraffefinalv2"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
<permission android:name="com.eadesign.skygiraffefinalv2.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<uses-permission android:name="com.eadesign.skygiraffefinalv2.permission.MAPS_RECEIVE"/>
<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-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<application
android:allowBackup="true"
android:icon="#drawable/sgicon90"
android:label="#string/app_name"
android:theme="#android:style/Theme.Black.NoTitleBar.Fullscreen">
<activity
android:name=".Map"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="My key"/>
</application>
log from logcat:
ent.category.LAUNCHER] flg=0x10000000 cmp=com.eadesign.skygiraffefinalv2/.Map u=
0} from pid 1362
W/WindowManager( 148): Failure taking screenshot for (246x410) to layer 21010
D/AndroidRuntime( 1362): Shutting down VM
I/ActivityManager( 148): Start proc com.eadesign.skygiraffefinalv2 for activity
com.eadesign.skygiraffefinalv2/.Map: pid=1373 uid=10046 gids={3003, 1015, 1028}
D/dalvikvm( 1373): Not late-enabling CheckJNI (already on)
D/dalvikvm( 1362): GC_CONCURRENT freed 99K, 77% free 483K/2048K, paused 1ms+1ms,
total 13ms
D/jdwp ( 1362): Got wake-up signal, bailing out of select
D/dalvikvm( 1362): Debugger has detached; object registry had 1 entries
E/jdwp ( 1373): Failed sending reply to debugger: Broken pipe
D/dalvikvm( 1373): Debugger has detached; object registry had 2 entries
E/Trace ( 1373): error opening trace file: No such file or directory (2)
D/dalvikvm( 1373): GC_CONCURRENT freed 204K, 3% free 8264K/8519K, paused 89ms+6m
s, total 161ms
D/dalvikvm( 1373): WAIT_FOR_CONCURRENT_GC blocked 33ms
E/ActivityThread( 1373): Failed to find provider info for com.google.settings
E/ActivityThread( 1373): Failed to find provider info for com.google.settings
D/dalvikvm( 1373): GC_CONCURRENT freed 312K, 5% free 8471K/8839K, paused 82ms+10
5ms, total 268ms
E/ActivityThread( 1373): Failed to find provider info for com.google.android.gsf
.gservices
E/ActivityThread( 1373): Failed to find provider info for com.google.android.gsf
.gservices
D/dalvikvm( 1373): GC_CONCURRENT freed 227K, 4% free 8797K/9095K, paused 91ms+11
0ms, total 300ms
D/libEGL ( 1373): Emulator without GPU support detected. Fallback to software r
enderer.
I/Choreographer( 1373): Skipped 54 frames! The application may be doing too muc
h work on its main thread.
D/gralloc_goldfish( 1373): Emulator without GPU emulation detected.
D/libEGL ( 1373): loaded /system/lib/egl/libGLES_android.so
I/ActivityManager( 148): Displayed com.eadesign.skygiraffefinalv2/.Map: +3s545ms
I/Choreographer( 1373): Skipped 75 frames! The application may be doing too muc
h work on its main thread.
In my case I chose Google Maps API V2 instead of Google Maps Android API V2. After changing that the problem was gone. So this code is perfectly fine to create a full screen Google map and the question can be closed.
Thanks.

Why debug window is empty in Eclipse running an Android app?

Why is the debug window empty debugging an Android app that does not include a MAIN and LAUNCH activity, but only a receiver? Is it normal or there is something wrong?
When I launch the app in debug mode this is the LogCat:
10-24 13:02:52.998: D/AndroidRuntime(5782): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-24 13:02:52.998: D/AndroidRuntime(5782): CheckJNI is ON
10-24 13:02:53.108: D/dalvikvm(5782): Trying to load lib libjavacore.so 0x0
10-24 13:02:53.118: D/dalvikvm(5782): Added shared lib libjavacore.so 0x0
10-24 13:02:53.159: D/dalvikvm(5782): Trying to load lib libnativehelper.so 0x0
10-24 13:02:53.168: D/dalvikvm(5782): Added shared lib libnativehelper.so 0x0
10-24 13:02:54.324: D/AndroidRuntime(5782): Calling main entry com.android.commands.pm.Pm
10-24 13:02:54.398: D/AndroidRuntime(5782): Shutting down VM
10-24 13:02:54.418: D/dalvikvm(5782): GC_CONCURRENT freed 102K, 78% free 466K/2048K, paused 1ms+3ms, total 22ms
10-24 13:02:54.448: D/dalvikvm(5782): Debugger has detached; object registry had 1 entries
10-24 13:04:07.651: E/ThrottleService(159): 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)
10-24 13:05:07.188: E/MP3Extractor(39): Unable to resync. Signalling end of stream.
10-24 13:05:08.118: I/AudioService(159): AudioFocus abandonAudioFocus() from android.media.AudioManager#412af538
10-24 13:06:00.370: D/dalvikvm(220): GC_CONCURRENT freed 386K, 57% free 9099K/20743K, paused 74ms+10ms, total 195ms
This is the Console window
[2012-10-24 15:02:53 - SMSApp] ------------------------------
[2012-10-24 15:02:53 - SMSApp] Android Launch!
[2012-10-24 15:02:53 - SMSApp] adb is running normally.
[2012-10-24 15:02:53 - SMSApp] No Launcher activity found!
[2012-10-24 15:02:53 - SMSApp] The launch will only sync the application package on the device!
[2012-10-24 15:02:53 - SMSApp] Performing sync
[2012-10-24 15:02:53 - SMSApp] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'NFC-Smartphone-1'
[2012-10-24 15:02:55 - SMSApp] Application already deployed. No need to reinstall.
[2012-10-24 15:02:55 - SMSApp] \SMSApp\bin\SMSApp.apk installed on device
[2012-10-24 15:02:55 - SMSApp] Done!
As you can see the application was already installed on the emulator, but the same issue is present when the application is installed for the first time.
Let me know whether it is useful to see also the code.
I tried with a slightly different version of the same app just to force Eclipse to reinstall the app in the emulator (added a space). This is the LogCat of the reinstallation:
10-25 12:43:14.628: D/AndroidRuntime(701): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-25 12:43:14.628: D/AndroidRuntime(701): CheckJNI is ON
10-25 12:43:14.687: D/dalvikvm(701): Trying to load lib libjavacore.so 0x0
10-25 12:43:14.707: D/dalvikvm(701): Added shared lib libjavacore.so 0x0
10-25 12:43:14.747: D/dalvikvm(701): Trying to load lib libnativehelper.so 0x0
10-25 12:43:14.747: D/dalvikvm(701): Added shared lib libnativehelper.so 0x0
10-25 12:43:15.647: D/AndroidRuntime(701): Calling main entry com.android.commands.pm.Pm
10-25 12:43:15.707: W/ActivityManager(148): No content provider found for permission revoke: file:///data/local/tmp/SMSApp.apk
10-25 12:43:15.737: W/ActivityManager(148): No content provider found for permission revoke: file:///data/local/tmp/SMSApp.apk
10-25 12:43:15.917: I/PackageManager(148): Removing non-system package:com.storassa.android.smsapp
10-25 12:43:15.917: I/ActivityManager(148): Force stopping package com.storassa.android.smsapp uid=10044
10-25 12:43:15.967: I/dalvikvm(148): Jit: resizing JitTable from 4096 to 8192
10-25 12:43:16.088: I/PackageManager(148): Package com.storassa.android.smsapp codePath changed from /data/app/com.storassa.android.smsapp-2.apk to /data/app/com.storassa.android.smsapp-1.apk; Retaining data and using new
10-25 12:43:16.098: I/PackageManager(148): Running dexopt on: com.storassa.android.smsapp
10-25 12:43:16.948: D/dalvikvm(715): DexOpt: load 124ms, verify+opt 526ms, 730780 bytes
10-25 12:43:16.977: I/ActivityManager(148): Force stopping package com.storassa.android.smsapp uid=10044
10-25 12:43:16.977: W/PackageManager(148): Code path for pkg : com.storassa.android.smsapp changing from /data/app/com.storassa.android.smsapp-2.apk to /data/app/com.storassa.android.smsapp-1.apk
10-25 12:43:16.977: W/PackageManager(148): Resource path for pkg : com.storassa.android.smsapp changing from /data/app/com.storassa.android.smsapp-2.apk to /data/app/com.storassa.android.smsapp-1.apk
10-25 12:43:17.067: D/PackageManager(148): New package installed in /data/app/com.storassa.android.smsapp-1.apk
10-25 12:43:17.337: D/dalvikvm(148): GC_CONCURRENT freed 664K, 8% free 11375K/12231K, paused 77ms+12ms, total 180ms
10-25 12:43:17.337: D/dalvikvm(148): WAIT_FOR_CONCURRENT_GC blocked 100ms
Another tips: no saved filters appears in LogCat.

Android app doesn't run on my tablet

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>

Android google map not showing up on emulator

I am trying to implement this example http://www.javacodegeeks.com/2011/02/android-google-maps-tutorial.html and i have followed exactly all the steps but in the emulator the map doesnt show up it just displays boxes.Does any one have any idea what wrong am i doing.Logcat is below
This is my manifest file,
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="gmap.com"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<application android:icon="#drawable/icon" android:label="#string/app_name">
<activity android:name=".GmapActivity"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<uses-library android:name="com.google.android.maps" />
</application>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<com.google.android.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="#+id/map_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:enabled="true"
android:apiKey="0YjDTTmg77HeTG-dfdfdfdfdWovpPSnatfUTrp5MQ"
/>
</LinearLayout>
Logcat
07-20 12:55:21.688: DEBUG/AndroidRuntime(389): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-20 12:55:21.688: DEBUG/AndroidRuntime(389): CheckJNI is ON
07-20 12:55:22.086: DEBUG/AndroidRuntime(389): --- registering native functions ---
07-20 12:55:23.576: DEBUG/AndroidRuntime(389): Shutting down VM
07-20 12:55:23.597: DEBUG/dalvikvm(389): Debugger has detached; object registry had 1 entries
07-20 12:55:24.396: DEBUG/AndroidRuntime(397): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-20 12:55:24.396: DEBUG/AndroidRuntime(397): CheckJNI is ON
07-20 12:55:24.686: DEBUG/AndroidRuntime(397): --- registering native functions ---
07-20 12:55:26.046: INFO/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=gmap.com/.GmapActivity }
07-20 12:55:26.156: DEBUG/AndroidRuntime(397): Shutting down VM
07-20 12:55:26.168: DEBUG/dalvikvm(397): Debugger has detached; object registry had 1 entries
07-20 12:55:26.215: INFO/AndroidRuntime(397): NOTE: attach of thread 'Binder Thread #3' failed
07-20 12:55:26.826: WARN/MapActivity(337): Recycling dispatcher com.google.googlenav.datarequest.DataRequestDispatcher#44ef1a08
07-20 12:55:26.856: VERBOSE/MapActivity(337): Recycling map object.
07-20 12:55:27.146: INFO/MapActivity(337): Handling network change notification:CONNECTED
07-20 12:55:27.186: ERROR/MapActivity(337): Couldn't get connection factory client
07-20 12:55:27.416: INFO/ActivityManager(59): Displayed activity gmap.com/.GmapActivity: 964 ms (total 964 ms)
07-20 12:55:27.965: WARN/InputManagerService(59): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy#44ee5428 (uid=10034 pid=353)
07-20 12:55:33.666: DEBUG/dalvikvm(353): GC_EXPLICIT freed 9539 objects / 509864 bytes in 180ms
Well this is a small issue of signed key, Actually you have taken map key with your own keystore but currently your application is signed with default android debug.keystore . sign your application with the keystore with which you have generated map key and then install on emulator and run it

Categories

Resources