Silvio Marijic
Silvio Marijic

Reputation: 481

Android 2.3.6 isn't recognized

I have an application that I want to test on real device, and I have a Samsung Galaxy Mini which runs on android 2.3.6, but since the only available SDK for that is 2.3.3, I have selected that as a target build. When I plugin in USB ,windows does recognize it but eclipse does not, it won't install app on the device nor show it when the emulator is also running. Is it some kind of bug or what?

This is the manifest:

 <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.androidhive"
    android:installLocation="auto"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="8" />

    <application
        android:icon="@drawable/ng_icon"
        android:label="@string/app_name" >
        <activity
            android:name=".Init"
            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>
        <activity
            android:name=".Home"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="com.example.androidhive.HOME" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".CurentNews"
            android:label="@string/title_activity_curent_news" >
            <intent-filter>
                <action android:name="com.example.androidhive.CURENTNEWS" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".News"
            android:label="@string/title_activity_news" >
            <intent-filter>
                <action android:name="com.example.androidhive.NEWS" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
    </application>

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

</manifest>

Upvotes: 0

Views: 4436

Answers (1)

AlexN
AlexN

Reputation: 2554

I think the problem is in device driver. Can you please

  1. Check output of "adb devices" command in console?
  2. If nothing - check whick driver is installed for the device, and if necessary - manually install AndroidPhone -> ADB Debug Interface (In a list of system drivers)
  3. Also check if "Allow USB debugging" is on in phone's Developer Settings.

PS: If no driver is found in the system - use SDK Manager to download GoogleUSB Driver, it will appear in "Extras" folder in Android SDK.

Good luck

Upvotes: 3

Related Questions