스푼 러너 :없음 "정렬되지 않은"의 APK는 파괴, Gradle을 플러그인 2.2.0으로 생성되지 않습니다 안드로이드 Gradle을 플러그인 <code>2.2.0</code>를 사용
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.android.tools.build:gradle:2.2.0"
}
}
하고 ./gradlew assembleDebug assembleDebugAndroidTest
을 실행 :
2.2.0
과 :
app-debug.apk
app-debug-androidTest.apk
과 2.1.3
:
484,735,863,210 : https://code.google.com/p/android/issues/detail?id=212591 여기에 코멘트 : https://code.google.com/p/android/issues/detail?id=212591#c15을 :
java -jar spoon-runner-1.7.0-jar-with-dependencies.jar \
--debug --fail-on-failure --adb-timeout 90 --no-animations \
--apk app-debug.apk \
--test-apk app-debug-androidTest-unaligned.apk
오류 :
12:06:48 I/InstrumentationResultParser: test run failed: 'Instrumentation run failed due to 'java.lang.NoClassDefFoundError''
2016-09-23 12:06:48 [STRL.testRunStarted] testCount=0 runName=<>.test
2016-09-23 12:06:48 [STRL.testRunFailed] errorMessage=Instrumentation run failed due to 'java.lang.NoClassDefFoundError'
2016-09-23 12:06:48 [STRL.testRunEnded] elapsedTime=0
12:06:48 I/XmlResultReporter: XML test result file generated at /<>/spoon-output/junit-reports/emulator-5554.xml. Total tests 0,
Hi, we don't generate unaligned apks any more. As part of the improvements to speed things, we generate the apk already aligned. So, instead of two, you just get the final one.
스푼 그것을 실행이 "정렬되지 않은"의 APK를 필요로 테스트 주자
스푼은 "정렬되지 않은"부분 만 사용합니다.
그리고 정렬되지 않은 APK를 생성 하시겠습니까? – antonio
@antonio Square가 정렬되지 않아야합니다. https://github.com/square/spoon을 참조하십시오. –