Skip to content
Discussion options

You must be logged in to vote

hey @belensaacastro, probably because local.properties file hasn't been created yet.
Try adding echo "sdk.dir=$ANDROID_SDK_ROOT" > "$CM_BUILD_DIR/android/local.properties" before setting up other properties, like this

echo "sdk.dir=$ANDROID_SDK_ROOT" > "$CM_BUILD_DIR/android/local.properties"

echo "flutter.sdk=$HOME/programs/flutter" > "$CM_BUILD_DIR/android/local.properties"
echo "flutter.minSdkVersion=21" >> "$CM_BUILD_DIR/android/local.properties"
echo "flutter.targetSdkVersion=33" >> "$CM_BUILD_DIR/android/local.properties"
echo "flutter.compileSdkVersion=33" >> "$CM_BUILD_DIR/android/local.properties"

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dtrdic
Comment options

Answer selected by dtrdic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants