Brahadeesh
Brahadeesh

Reputation: 2255

Unable to run app on device, android

I am new to android and am trying to develop an app.
I have a phone connected to my laptop and was testing on it this morning.
But when I try to run the app on the phone now, the device shows up, but I am not able to click ok and start it.
By the way, I am able to run the app on the emulator.
My manifest is:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.DuckTag"
  android:versionCode="1"
  android:versionName="1.0">
uses-sdk android:minSdkVersion="8" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />

<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
    <activity android:name=".DuckTagActivity"
              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> </manifest>

Any idea why this is happening?

Upvotes: 1

Views: 357

Answers (1)

karllindmark
karllindmark

Reputation: 6071

What type of device are you running it on? Are you sure that API-level 8 is <= the API-level on the device?

Upvotes: 1

Related Questions