Skip to content

Commit a50a830

Browse files
authored
Merge pull request #263 from mixpanel/zihe-upgrade-android
upgrade android sdk to 7.5.3
2 parents a7a1434 + 0617796 commit a50a830

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/node.js.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- run: npm test
2828

2929
test_android:
30-
runs-on: macos-11
30+
runs-on: macos-13
3131
strategy:
3232
matrix:
3333
node-version: [18.x]
@@ -51,18 +51,18 @@ jobs:
5151
working-directory: ./Samples/SimpleMixpanel
5252
run: yarn install
5353
- name: Setup Android
54-
uses: reactivecircus/android-emulator-runner@v2.20.0
54+
uses: reactivecircus/android-emulator-runner@v2.32.0
5555
with:
56-
api-level: 30
57-
profile: Nexus 6
56+
api-level: 34
57+
profile: Nexus 5X
5858
arch: x86_64
5959
working-directory: ./Samples/SimpleMixpanel/android
6060
script: ./gradlew
6161
- name: Test Android
62-
uses: reactivecircus/android-emulator-runner@v2.20.0
62+
uses: reactivecircus/android-emulator-runner@v2.32.0
6363
with:
64-
api-level: 30
65-
profile: Nexus 6
64+
api-level: 34
65+
profile: Nexus 5X
6666
arch: x86_64
6767
working-directory: ./Samples/SimpleMixpanel
6868
script: react-native run-android

android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ buildscript {
44
google()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:7.3.1'
7+
classpath 'com.android.tools.build:gradle:8.1.0'
88
}
99
}
1010

1111
apply plugin: 'com.android.library'
1212

1313
android {
14-
compileSdkVersion 33
15-
buildToolsVersion "30.0.3"
14+
compileSdkVersion 34
15+
buildToolsVersion "34.0.0"
1616

1717
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
1818

@@ -22,7 +22,7 @@ android {
2222

2323
defaultConfig {
2424
minSdkVersion 21
25-
targetSdkVersion 33
25+
targetSdkVersion 34
2626
versionCode 1
2727
versionName "1.0"
2828
}
@@ -41,5 +41,5 @@ repositories {
4141

4242
dependencies {
4343
implementation 'com.facebook.react:react-native:+'
44-
implementation 'com.mixpanel.android:mixpanel-android:7.5.2'
44+
implementation 'com.mixpanel.android:mixpanel-android:7.5.3'
4545
}

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip

0 commit comments

Comments
 (0)