我收到了這個Froyo(2.2)我用來製作應用程序的設備。 當我嘗試運行應用程序直接向設備它顯示了一個錯誤,說「失敗[INSTALL_FAILED_OLDER_SDK]」在Android Studio中意味着什麼?
pkg: /data/local/tmp/com.example.HelloWorldProject
Failure [INSTALL_FAILED_OLDER_SDK]
,並在另一個窗口還有的說法錯誤
Unable to attach test reporter to test framework or test framework quit unexpectedly
似乎什麼讓上述錯誤?
編輯:
AndroidManifest.xml中
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.test.helloworld"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17"/>
<application
android:allowBackup="true"
android:debuggable="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
>
<activity
android:name="com.example.HelloWorldProject.MyActivity"
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>
你的應用程序將運行的最小sdk是多少?也許您的應用正在爲比您的設備更高的版本創建。 – Houseman
我正在使用api級別** 8 ** –
您可以發佈您的清單嗎? – hichris123