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-21') or not os.path.exists(android_home + '/build-tools/20.0.0'):
+if not os.path.exists(android_home + '/platforms/android-23') or not os.path.exists(android_home + '/build-tools/23.0.1'):
print '''
***************************************** Info ********************************
-* 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 *
+* 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 *
* be sure to deselect all options, then select the following 2 packages: *
-* 1. Under "Tools" select "Android SDK Build-tools" Revision 20. *
-* 2. Under "Android 5.0.1 (API 21)" select "SDK Platform" *
+* 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" *
* *
* NOTE: If you have an http proxy, please press ctrl+c now and edit/create *
apply plugin: 'com.android.library'\r
\r
android {\r
- compileSdkVersion 21\r
- buildToolsVersion "20.0.0"\r
+ compileSdkVersion 23\r
+ buildToolsVersion "23.0.1"\r
archivesBaseName = "iotivity-base"\r
\r
libraryVariants.all { variant ->\r
\r
defaultConfig {\r
minSdkVersion 21\r
- targetSdkVersion 21\r
+ targetSdkVersion 23\r
versionCode 1\r
versionName "1.0"\r
}\r
println 'Reason: ANDROID_NDK_HOME not set.'\r
println '##################'\r
}\r
-}
\ No newline at end of file
+}\r
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.devicediscoveryclient"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.devicediscoveryserver"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.fridgeclient"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
} catch (all) {
print "${ERROR_MSG}"
assert all
-}
\ No newline at end of file
+}
apply plugin: 'com.android.application'\r
android {\r
- compileSdkVersion 21\r
- buildToolsVersion "20.0.0"\r
+ compileSdkVersion 23\r
+ buildToolsVersion "23.0.1"\r
\r
defaultConfig {\r
applicationId "org.iotivity.base.examples.fridgegroupclient"\r
minSdkVersion 21\r
- targetSdkVersion 21\r
+ targetSdkVersion 23\r
versionCode 1\r
versionName "1.0"\r
}\r
apply plugin: 'com.android.application'\r
android {\r
- compileSdkVersion 21\r
- buildToolsVersion "20.0.0"\r
+ compileSdkVersion 23\r
+ buildToolsVersion "23.0.1"\r
\r
defaultConfig {\r
applicationId "org.iotivity.base.examples.fridgegroupserver"\r
minSdkVersion 21\r
- targetSdkVersion 21\r
+ targetSdkVersion 23\r
versionCode 1\r
versionName "1.0"\r
}\r
} catch (all) {\r
print "${ERROR_MSG}"\r
assert all\r
-}
\ No newline at end of file
+}\r
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.fridgeserver"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
} catch (all) {
print "${ERROR_MSG}"
assert all
-}
\ No newline at end of file
+}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.groupclient"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.groupserver"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.presenceclient"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.presenceserver"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'\r
\r
android {\r
- compileSdkVersion 21\r
- buildToolsVersion "20.0.0"\r
+ compileSdkVersion 23\r
+ buildToolsVersion "23.0.1"\r
\r
defaultConfig {\r
applicationId "org.iotivity.base.examples.provisioningclient"\r
minSdkVersion 21\r
- targetSdkVersion 21\r
+ targetSdkVersion 23\r
versionCode 1\r
versionName "1.0"\r
}\r
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.simpleclient"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.base.examples.simpleserver"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
cmd = [ndk_build_cmd]
cmd.append('APP_ABI=' + target_arch)
-cmd.append('APP_PLATFORM=android-21')
+cmd.append('APP_PLATFORM=android-23')
cmd.append('APP_STL=gnustl_shared')
if env.get('RELEASE'):
cmd.append('APP_OPTIM=release')
rm -rf docs
# JavaDoc now... from Uze's script
-ANDROID_JAR="$ANDROID_HOME/platforms/android-21/android.jar"
+ANDROID_JAR="$ANDROID_HOME/platforms/android-23/android.jar"
if [ ! -e "$ANDROID_JAR" ]; then
echo "Android platform not found. Expected '$ANDROID_JAR'"
APP_STL = gnustl_shared
APP_MODULES := CA
-APP_PLATFORM = android-21
+APP_PLATFORM = android-23
APP_CPPFLAGS += -fexceptions
APP_CPPFLAGS += -frtti += -Wno-error=format-security
APP_CFLAGS = -Wno-error=format-security
APP_PROJECT_PATH = ./
APP_STL = gnustl_shared
-APP_PLATFORM = android-21
+APP_PLATFORM = android-23
APP_CPPFLAGS += -fexceptions
APP_CPPFLAGS += -frtti += -Wno-error=format-security
APP_CFLAGS = -Wno-error=format-security
APP_PROJECT_PATH = ./
APP_STL := gnustl_shared
-APP_PLATFORM = android-21
+APP_PLATFORM = android-23
APP_CPPFLAGS += -fexceptions
APP_CPPFLAGS += -frtti
APP_CFLAGS = -Wno-error=format-security
apply plugin: 'com.android.application'\r
android {\r
- compileSdkVersion 21\r
- buildToolsVersion '21.1.2'\r
+ compileSdkVersion 23\r
+ buildToolsVersion '23.0.1'\r
\r
defaultConfig {\r
applicationId "org.iotivity.service.easysetup"\r
minSdkVersion 21\r
- targetSdkVersion 21\r
+ targetSdkVersion 23\r
}\r
\r
buildTypes {\r
dependencies {\r
compile project(':EasySetupCore-debug')\r
compile project(':iotivity-armeabi-base-debug')\r
-}
\ No newline at end of file
+}\r
}\r
\r
android {\r
- compileSdkVersion 21\r
- buildToolsVersion '21.1.2'\r
+ compileSdkVersion 23\r
+ buildToolsVersion '23.0.1'\r
\r
defaultConfig {\r
minSdkVersion 21\r
- targetSdkVersion 21\r
+ targetSdkVersion 23\r
}\r
\r
buildTypes {\r
\r
dependencies {\r
compile project(':iotivity-armeabi-base-debug')\r
-}
\ No newline at end of file
+}\r
APP_STL := gnustl_shared
-APP_PLATFORM = android-21
+APP_PLATFORM = android-23
NDK_TOOLCHAIN_VERSION := 4.8
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-21') or not os.path.exists(android_home + '/build-tools/20.0.0'):
+if not os.path.exists(android_home + '/platforms/android-23') or not os.path.exists(android_home + '/build-tools/23.0.1'):
print '''
***************************************** Info ********************************
-* 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 *
+* 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 *
* be sure to deselect all options, then select the following 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" *
+* 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 *
* *
* NOTE: If you have an http proxy, please press ctrl+c now and edit/create *
* the following file in your $HOME directory as follows: *
apply plugin: 'com.android.library'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
archivesBaseName = "iotivity"
libraryVariants.all { variant ->
defaultConfig {
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.service.sample.client"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.service.sample.server"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
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-21') or not os.path.exists(android_home + '/build-tools/20.0.0'):
+if not os.path.exists(android_home + '/platforms/android-23') or not os.path.exists(android_home + '/build-tools/23.0.1'):
print '''
***************************************** Info ********************************
-* 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 *
+* 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 *
* be sure to deselect all options, then select the following 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" *
+* 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 *
* *
* NOTE: If you have an http proxy, please press ctrl+c now and edit/create *
* the following file in your $HOME directory as follows: *
apply plugin: 'com.android.library'
android {
- compileSdkVersion 21
- buildToolsVersion "20.0.0"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
archivesBaseName = "iotivity"
libraryVariants.all { variant ->
defaultConfig {
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.service.sample.client"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.1"
defaultConfig {
applicationId "org.iotivity.service.sample.server"
minSdkVersion 21
- targetSdkVersion 21
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
}