Analizar error al intentar instalar aplicaciones en mi teléfono

I'm having issues trying to put my own apps on my phone. I've looked around and no one has been able to help me so far. A bit of background information, I'm using the latest version of eclipse IDE, trying to get apps onto my galaxy s. I tried installing apps through gmail. When I go to install the app I get a parse error and it doesn't install. I have also tried using this method to install my app onto a htc wildfire s however I get the same issue. Is there a quick fix for this? Thanks for your time; any insight into what the problem is will be great.

Things I've tried: Ok I still have a parse error when I try installing my app. The min sdkversion was set to 9 which seems right to me as that is the api level for gingerbread which galaxy s uses (i think). I haven't set a target sdkversion yet as according to the android developer guide it if not stated it defaults to the minsdkversion. I also tried setting the minsdkversion to 1 and still no luck. Any ideas?

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.guitartunergreatness.jj"
android:versionCode="1"
android:versionName="7" >

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

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" 
    android:debuggable="true">
    <activity
        android:name=".GuitarTunerActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

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

</manifest>

preguntado el 31 de enero de 12 a las 16:01

Not really a programming question... But what's the error you get? -

Post your manifest. Also have you tried installing it via the adb, or any ways other than email? If not try with adb, or try manually copying the apk file to the sdcard and then launching the installer by selecting it in a file browser app. -

1 Respuestas

Parse error usually occurs if your app supports a higher version of Android than the version of OS on your phone. Egs: your phone has 2.1 and application supports 2.2 onwards

Respondido el 31 de enero de 12 a las 21:01

ok I think my main problem is understanding what the versionname and sdkversion numbers need to be. I've tried to set them to what the api levels are for gingerbread as that is what i assume galaxy s uses, but this doesn't seem to work - chickenchaser

What is yor project build target? May be galaxy s is using froyo(2.2)? - arjoan

sorry where do i find the project build target? also would i put 2.2 as the versionname or sdkversion? or neither? That's what I'm confused on, thanks for your time - chickenchaser

What is the os on ur phone? (go to settings>About phone>Android version) To get the build target: Right click on the project>select properties>select android> - arjoan

ok my firmware version is 2.1-update1 and build number is eclair, my android version is 4.0.3 so this is problem no doubt. how do i change the android version to match my phone's? - chickenchaser

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.