相关疑难解决方法(0)

"失败[INSTALL_FAILED_OLDER_SDK]"在Android Studio中意味着什么?

我得到了这个用于制作应用程序的Froyo(2.2)设备.当我尝试将应用程序直接运行到设备时,它显示错误说明

pkg: /data/local/tmp/com.example.HelloWorldProject
Failure [INSTALL_FAILED_OLDER_SDK]
Run Code Online (Sandbox Code Playgroud)

在另一个窗口中有一个错误说

Unable to attach test reporter to test framework or test framework quit unexpectedly
Run Code Online (Sandbox Code Playgroud)

什么似乎使所述错误?

编辑:

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>
Run Code Online (Sandbox Code Playgroud)

android android-2.2-froyo android-studio

37
推荐指数
3
解决办法
12万
查看次数