Closed liudonghua123 closed 4 years ago
We don't support building the full SDK (the create_sdk
target for Android). I've changed the title of that wiki page to "Building the Dart VM for Android". It only describes that runtime
is supposed to work. If you just need a Dart VM that works on Android, use tools/build.py -a arm,arm64,ia32,x64 -m all --os=android
. You could also specify fewer modes and architectures, if you don't need all of them: tools/build.py -a arm64 -m release --os=android
.
If you want to create Android applications in Dart, flutter.dev is probably what you want.
I followed the instructions on https://github.com/dart-lang/sdk/wiki/Building-Dart-SDK-for-ARM-processors and https://github.com/dart-lang/sdk/wiki/Building-Dart-SDK-for-Android, and I after
gclient sync
, I executedtime tools/build.py -a arm,arm64,ia32,x64 -m all --os=android create_sdk | tee log.txt
.But in the end, I got the following errors:
The full log is attached below.
log.txt