Skip to content

Commit

Permalink
build(ndkversion): 🛠️ 使用指定 ndk version,Use the specified ndk version
Browse files Browse the repository at this point in the history
  • Loading branch information
ys1231 committed Sep 19, 2024
1 parent 68bd2d7 commit 1cb9125
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,18 @@ if (flutterVersionName == null) {

def keystore = localProperties.getProperty('flutter.keystore')
if (keystore == null){
throw new Exception("flutter.keystore is not set")
throw new Exception("flutter.keystore is not set in local.properties")
}

def fndkVersion = localProperties.getProperty('flutter.ndkVersion')
if (fndkVersion == null){
throw new Exception("flutter.ndkVersion is not set in local.properties")
}

android {
namespace "cn.ys1231.appproxy"
compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
ndkVersion fndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 1cb9125

Please sign in to comment.