Skip to content

Commit

Permalink
Build with Android API level 19.
Browse files Browse the repository at this point in the history
  • Loading branch information
peplin committed Nov 23, 2013
1 parent 18cafbe commit ffb15bc
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -4,11 +4,11 @@ before_install:
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
- wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz
- tar xzf android-sdk_r22.0.5-linux.tgz
- tar xzf android-sdk_r22.3-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-18 --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-19,extra-android-support,extra-android-m2repository,platform-tools --no-ui --force > /dev/null
- cp -R $ANDROID_HOME/extras/android/m2repository/com ~/.m2/repository
install:
- mvn install -DskipTests=true
notifications:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.mkd
@@ -1,5 +1,9 @@
# OpenXC Android Library Changelog

## v5.1.2-dev

* Building with Android API 19

## v5.1.1

* Fix lifecycle issues with VehicleService from Enabler app.
Expand Down
2 changes: 1 addition & 1 deletion README.mkd
Expand Up @@ -40,7 +40,7 @@ SDK's top-level directory (e.g. `/home/user/android-sdk`.
You must manually copy the Maven artifacts from this folder to your local
repository:

sdk/ $ cp -R extras/android/m2repository/com ~/.m2/repository
$ cp -R $ANDROID_HOME/extras/android/m2repository/com ~/.m2/repository

After satisfying those requirements, the build is pretty simple:

Expand Down
2 changes: 1 addition & 1 deletion enabler/AndroidManifest.xml
Expand Up @@ -13,7 +13,7 @@
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-feature android:name="android.hardware.usb.host"
android:required="true" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />

<application android:label="@string/app_name" android:allowBackup="true"
android:icon="@drawable/open_xc_launcher_icon_black"
Expand Down
2 changes: 1 addition & 1 deletion enabler/project.properties
Expand Up @@ -8,5 +8,5 @@
# project structure.

# Project target.
target=android-18
target=android-19
android.library.reference.1=../openxc
2 changes: 1 addition & 1 deletion openxc-it/AndroidManifest.xml
Expand Up @@ -15,7 +15,7 @@
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-feature android:name="android.hardware.usb.host"
android:required="true" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />

<application android:label="@string/app_name" android:allowBackup="false"
android:debuggable="true">
Expand Down
2 changes: 1 addition & 1 deletion openxc-it/project.properties
Expand Up @@ -8,5 +8,5 @@
# project structure.

# Project target.
target=android-18
target=android-19
android.library.reference.1=../openxc
2 changes: 1 addition & 1 deletion openxc/AndroidManifest.xml
Expand Up @@ -9,5 +9,5 @@
<action android:name="com.openxc.remote.VehicleServiceInterface" />
</intent-filter>
</service>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />
</manifest>
Binary file not shown.
2 changes: 1 addition & 1 deletion openxc/pom.xml
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>com.android.support</groupId>
<artifactId>support-v4</artifactId>
<version>18.0.0</version>
<version>19.0.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
2 changes: 1 addition & 1 deletion openxc/project.properties
Expand Up @@ -9,4 +9,4 @@

android.library=true
# Project target.
target=android-18
target=android-19
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -39,7 +39,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<android.version>4.1.1.4</android.version>
<android.platform>18</android.platform>
<android.platform>19</android.platform>

<java.version>1.6</java.version>
<android-maven.version>3.8.0</android-maven.version>
Expand Down

0 comments on commit ffb15bc

Please sign in to comment.