|
|
|
|
@ -38,8 +38,12 @@ $SDKMANAGER --install "emulator"
|
|
|
|
|
mkdir -p ~/Library/Android/ ||: |
|
|
|
|
ln -sf /opt/android-sdk/ ~/Library/Android/sdk ||: |
|
|
|
|
|
|
|
|
|
# Build demo project |
|
|
|
|
"$ANDROID_SAMPLE_PROJECT/build.sh" |
|
|
|
|
# Build demo project if present |
|
|
|
|
if [ -d "$ANDROID_SAMPLE_PROJECT" ]; then |
|
|
|
|
"$ANDROID_SAMPLE_PROJECT/build.sh" |
|
|
|
|
else |
|
|
|
|
echo "Android demo project not found at $ANDROID_SAMPLE_PROJECT" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
flutter config --android-sdk $ANDROID_SDK_ROOT |
|
|
|
|
flutter emulators --create |
|
|
|
|
|