mardi 1 juillet 2014

Error in running app in Android Studio


Vote count:

0




When I try to Run Android App in Android Studio using HTC One Android 4.4.2 it write


Waiting for device.


Target device: htc-htc_one-SH35KW903559


Uploading file


local path: /home/goodsoft/AndroidStudioProjects/MyFirstApp/app/build/outputs/apk/app-debug.apk


remote path: /data/local/tmp/com.example.goodsoft.myfirstapp


Installing com.example.goodsoft.myfirstapp


DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.goodsoft.myfirstapp"


pkg: /data/local/tmp/com.example.goodsoft.myfirstapp


Failure [INSTALL_FAILED_OLDER_SDK]


This is my AndroidManifest.xml



<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://ift.tt/nIICcg"
package="com.example.goodsoft.myfirstapp" >

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

<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="15"/>

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.goodsoft.myfirstapp.MainActivity"
android:label="@string/app_name"
android:launchMode="standard"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".DisplayMessageActivity"
android:label="@string/title_activity_display_message"
android:parentActivityName="com.example.goodsoft.myfirstapp.MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.goodsoft.myfirstapp.MainActivity" />
</activity>
</application>


asked 39 secs ago






Aucun commentaire:

Enregistrer un commentaire