当内存使用量超过600M时,我的应用程序崩溃并显示消息
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
ADB_INSTALL_TIMEOUT: 8
dependencies:
override:
- echo y | android update sdk --no-ui --all --filter tools,platform-tools,build-tools-21.1.2,android-22,extra-google-m2repository,extra-google-google_play_services,extra-android-support
- ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies
test:
override:
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
# Build everything first
- ./gradlew assembleDebugAndroidTest
# Remove the look screen
- adb shell input keyevent 82
- sleep 5
- ./gradlew connectedAndroidTest
# copy the build outputs to artifacts
- cp -r my-project/build/outputs $CIRCLE_ARTIFACTS
# copy the test results to the test results directory.
- cp -r my-project/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS
- (./gradlew assemble):
timeout: 360
没有任何堆栈跟踪。
我正在使用iPhone 6.
使用模拟器时没问题。