New Android App Project Cannot Create Empty Activity

I am still new to Android development and just decided to study. however, I encounter some problems that lead me to the nut in a couple of hours. I just want to create a new project with this setting

New project setting

the problem is that I cannot create a new empty activity with it, it says that it requires a version of the API for the assembly equal to at least 14, and the current version is 8

Activity warning

I just want to try to create an application that supports Android 2.2 (API 8) and beyond .. what is now just impossible to create Android-compatible applications with an empty activity template? so to use the empty activity template, should I use Android 4.0 (API 14)? it is right?

+4
6

ADT 22.6.2

"" ADT (22.6.2) " "

:

API 14. 22.3.0 22.6.2

22.6.2 AVD. ADT ...

:

ADT , .

Eclipse MainActivity.java activity_main.xml

, yep)

https://stackoverflow.com/search?q=adt+22.6


.

:

  1. 22.3.0 . 22.6 .
  2. 22.3.0 . 22.6 . - Eclipse.

! )

+5

, Sdk . max, , 15, ADK ( ). , ADt , , , .

+1

, Empty Activity Blank Activity. , R.java .

+1

, ... !

, SDK 8, .

SDK ( 21). " ". , , 8. , 2.2 ,

+1

SDK 9 SDK 18

0

create a project yourself, and you need to uncheck the activity creation object, and then return to creating independent activity in android, then select the main / detailed view, then click the "Start Activity" button, then click "Back" and select an empty or empty activity and then click finish everything is done that what i used and it worked

-1
source

Source: https://habr.com/ru/post/1534197/


All Articles