Failure [INSTALL_FAILED_OLDER_SDK] Android Studio

前端 未结 4 1098
北恋
北恋 2020-12-02 02:06

I\'m new to Android and I\'m using the Android Studio. I\'ve created a new project just to show the Hello World! but I can\'t get it working on the AVD because of this error

4条回答
  •  有刺的猬
    2020-12-02 02:37

    I think projects with

     compileSdkVersion 'android-L'
    

    cannot be installed in other Android versions right now. I might be wrong there but if you're not doing anything specific to the L preview SDK, just set the compile version to one of the official ones. Same goes for the targetSdk.

    You can choose those in the Create Project wizard.

提交回复
热议问题