X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fresource-encapsulation%2Fandroid%2FSConscript;h=bb68358cb3907a164f141208c05d1ce345565a54;hb=refs%2Ftags%2Faccepted%2Ftizen%2Funified%2F20230214.171546;hp=b094ea6eabe08e332ca02e5dbcc00e30698b0cc6;hpb=ad278f67cc84e76f157d9d755d0c965c10d2cbf2;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/resource-encapsulation/android/SConscript b/service/resource-encapsulation/android/SConscript index b094ea6..bb68358 100644 --- a/service/resource-encapsulation/android/SConscript +++ b/service/resource-encapsulation/android/SConscript @@ -13,15 +13,15 @@ else: os.environ['ANDROID_HOME'] = env.get('ANDROID_HOME') os.environ['ANDROID_NDK_HOME'] = env.get('ANDROID_NDK') -if not os.path.exists(android_home + '/platforms/android-23') or not os.path.exists(android_home + '/build-tools/23.0.1'): - print ''' +if not os.path.exists(android_home + '/platforms/android-21') or not os.path.exists(android_home + '/build-tools/20.0.0'): + print(''' ***************************************** Info ******************************** -* Either 'Android API 23' is not installed or 'Android SDK Build Tools * -* 23.0.1' is not installed. The Android SDK Manager will now open. Please * +* Either 'Android API 21' is not installed or 'Android SDK Build Tools * +* 20.0.0' is not installed. The Android SDK Manager will now open. Please * * be sure to deselect all options, then select the following 2 packages: * -* 1. Under "Tools" select "Android SDK Build-tools" Revision 23.0.1. * -* 2. Under "Android 6.0 (API 23)" select "SDK Platform" * -* 3. Continue by selecting "Install 2 Packages * +* 1. Under "Tools" select "Android SDK Build-tools" Revision 20. * +* 2. Under "Android 5.0.1 (API 21)" select "SDK Platform" * +* 3. Continue by selecting "Install 2 Packages" * * * * NOTE: If you have an http proxy, please press ctrl+c now and edit/create * * the following file in your $HOME directory as follows: * @@ -39,7 +39,7 @@ if not os.path.exists(android_home + '/platforms/android-23') or not os.path.exi ******************************************************************************* ...Opening Android SDK Manager now. Once you are finished, the build will continue. -''' +''') os.system(android_home + '/tools/android')