Note that there are some explanatory texts on larger screens.

plurals
  1. POwrong activity is started in android app
    text
    copied!<p>I am trying to fix the issue for hours but I couldn't. The app is not launching activity I mentioned in the manifest, see following</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="green.thumbup" android:versionCode="1" android:versionName="1.1" &gt; &lt;uses-sdk android:minSdkVersion="12" android:targetSdkVersion="17" /&gt; &lt;uses-feature android:glEsVersion="0x00020000" android:required="true" /&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt; &lt;permission android:name="green.thumbup.permission.MAPS_RECEIVE" android:protectionLevel="signature" /&gt; &lt;supports-screens android:anyDensity="true" /&gt; &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /&gt; &lt;application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@style/AppTheme" &gt; &lt;meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="" /&gt; &lt;activity android:name=".driver.DriverMap" &gt; &lt;/activity&gt; &lt;activity android:name=".driver.Journey" &gt; &lt;/activity&gt; &lt;activity android:name=".journey.PassengerDestination" &gt; &lt;/activity&gt; &lt;activity android:name=".login.Login" &gt; &lt;/activity&gt; &lt;activity android:name=".passenger.PassengerDestination" &gt; &lt;/activity&gt; &lt;activity android:name=".passenger.PassengerInfo" &gt; &lt;/activity&gt; &lt;activity android:name=".users.RegisterUser" &gt; &lt;/activity&gt; &lt;activity android:name=".users.UserChoice" &gt; &lt;/activity&gt; &lt;activity android:name=".driver.ThumbUpGoogleMap" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre> <p>ThumbUpGoogleMap is in green.thumbup.driver.ThumbUpGoogleMap package.The application is always launching Loging activity from green.thumbup.login.Login, which is old main activity. Login was launch in the previous build but I completely removed and rebuilding the application. </p> <p>I tried following but not success</p> <ul> <li>I cleaned the code multiple times</li> <li>I created a new AVD</li> <li>I change activity path to android:name="green.thumbup.driver.ThumbUpGoogleMap"</li> <li><p>Also tried</p> <p> <br> </p></li> </ul> <p>This is driving me crazy, any hint, suggestion would be of great help</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload