I am new to Android and have almost completed developing the Mobile
app which consumes the REST service and also uses Google API for this
app.
This application is developed in Android Version 2.3.3 API level 10
(Google API (Google Inc.) - API level 10).

I thought of checking the backward compatibility of the app I created,
hence changed the AVD (also tried creating new AVD) to point to
Android version 2.1.1(Google API (Google Inc.) - API Level 7).

But When I started the Emulator with this new AVD the app is not
running and I check the logcat and getting following issue in the
logcat

06-23 18:43:47.703: ERROR/gralloc(58): [unregister] handle 0x38ce00
still locked (state=40000001)
06-23 18:44:06.774: ERROR/Launcher(111): Launcher does not have the
permission to launch Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.test/.Login }. Make sure to create a MAIN intent-filter for
the corresponding activity or use the exported attribute for this
activity.
06-23 18:44:06.774: ERROR/Launcher(111): java.lang.SecurityException:
Permission Denial: starting Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.test/.Login } from ProcessRecord{44d4d040
111:android.process.acore/10001} (pid=111, uid=10001) requires null
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.os.Parcel.readException(Parcel.java:1218)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.os.Parcel.readException(Parcel.java:1206)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:
1214)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1373)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.app.Activity.startActivityForResult(Activity.java:2749)
06-23 18:44:06.774: ERROR/Launcher(111):     at
com.android.launcher.Launcher.startActivityForResult(Launcher.java:
969)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.app.Activity.startActivity(Activity.java:2855)
06-23 18:44:06.774: ERROR/Launcher(111):     at
com.android.launcher.Launcher.startActivitySafely(Launcher.java:1657)
06-23 18:44:06.774: ERROR/Launcher(111):     at
com.android.launcher.AllAppsGridView.onItemClick(AllAppsGridView.java:
103)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.widget.AdapterView.performItemClick(AdapterView.java:284)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.widget.AbsListView$PerformClick.run(AbsListView.java:1640)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.os.Handler.handleCallback(Handler.java:587)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.os.Handler.dispatchMessage(Handler.java:92)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.os.Looper.loop(Looper.java:123)
06-23 18:44:06.774: ERROR/Launcher(111):     at
android.app.ActivityThread.main(ActivityThread.java:4363)
06-23 18:44:06.774: ERROR/Launcher(111):     at
java.lang.reflect.Method.invokeNative(Native Method)
06-23 18:44:06.774: ERROR/Launcher(111):     at
java.lang.reflect.Method.invoke(Method.java:521)
06-23 18:44:06.774: ERROR/Launcher(111):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
06-23 18:44:06.774: ERROR/Launcher(111):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
06-23 18:44:06.774: ERROR/Launcher(111):     at
dalvik.system.NativeStart.main(Native Method)


I tried searching through all the blogs but could not find a valid
answer to it.

My manifest file looks like this
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.test"
      android:versionCode="1"
      android:versionName="1.0">
      <uses-sdk android:minSdkVersion="7" />

     <!-- Application Permission Zone -->
        <uses-permission android:name="android.permission.INTERNET"></uses-
permission>
        <uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />
        <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"></uses-
permission>

    <application android:label="@string/app_name"
android:icon="@drawable/test_icon">
        <!-- GooGle map reference zone. -->
        <uses-library android:name="com.google.android.maps" />
        <!-- End GooGle map reference zone. -->

        <!-- Application Global object reference zone. -->
        android:name="com.test.GlobalState"
        <!-- End global application state object reference zone. -->

        <!-- Application Activities zone-->
        <activity android:name=".Login"
                  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=".Login" android:theme="@android:style/
Theme.NoTitleBar"></activity>
        <activity android:name="LandingPage"
android:theme="@android:style/Theme.NoTitleBar"></activity>
        <activity android:name="MakeAchPayment"
android:theme="@android:style/Theme.NoTitleBar"></activity>
        <activity android:name="PaymentConfirmation"
android:theme="@android:style/Theme.NoTitleBar"></activity>
        <activity android:name="test" android:theme="@android:style/
Theme.NoTitleBar"></activity>
        <activity android:name="AgentLocator"
android:theme="@android:style/Theme.NoTitleBar"></activity>
        <activity android:name=".AgentLocationsList"
android:theme="@android:style/Theme.NoTitleBar"></activity>
        <activity android:name=".AgentLocation"
android:theme="@android:style/Theme.NoTitleBar"></activity>

        <!-- End Application Activities zone-->

    </application>
</manifest>

Can anyone PLEASE help me, I have to release this app within a month
time. I am really frustrated with this.

Please help. Really appreciate a quick response..... THANKS in advance
for reading .....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to