File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,15 +135,15 @@ def read_ndk_version(ndk_dir):
135135 return ndk_version
136136
137137
138- MIN_TARGET_API = 26
138+ MIN_TARGET_API = 30
139139
140140# highest version tested to work fine with SDL2
141141# should be a good default for other bootstraps too
142- RECOMMENDED_TARGET_API = 27
142+ RECOMMENDED_TARGET_API = 33
143143
144144ARMEABI_MAX_TARGET_API = 21
145145OLD_API_MESSAGE = (
146- 'Target APIs lower than 26 are no longer supported on Google Play, '
146+ 'Target APIs lower than 30 are no longer supported on Google Play, '
147147 'and are not recommended. Note that the Target API can be higher than '
148148 'your device Android version, and should usually be as high as possible.' )
149149
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def test_check_target_api_warning_target_api(self):
163163 self .assertEqual (
164164 cm .output ,
165165 [
166- "WARNING:p4a:[WARNING]: Target API 25 < 26 " ,
166+ "WARNING:p4a:[WARNING]: Target API 29 < 30 " ,
167167 "WARNING:p4a:[WARNING]: {old_api_msg}" .format (
168168 old_api_msg = OLD_API_MESSAGE
169169 ),
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def test_create(self):
7474 'pythonforandroid.bootstraps.service_only.'
7575 'ServiceOnlyBootstrap.assemble_distribution'
7676 ) as m_run_distribute :
77- m_get_available_apis .return_value = [27 ]
77+ m_get_available_apis .return_value = [33 ]
7878 tchain = ToolchainCL ()
7979 assert tchain .ctx .activity_class_name == 'abc.myapp.android.CustomPythonActivity'
8080 assert tchain .ctx .service_class_name == 'xyz.myapp.android.CustomPythonService'
You can’t perform that action at this time.
0 commit comments