빌드 서버 (Jenkins)로 빌드 할 때 Crashlytics 를 사용 하여 Android 앱을 배포하고 있습니다.
여기 지침을 따랐습니다 : http://support.crashlytics.com/knowledgebase/articles/388924-beta-distributions-with-ant
Jenkins를 통해 빌드를 만들 때마다 ant 명령이 설명되어 있습니다.
clean
release
crashlytics-upload-distribution -DbetaDistributionGroupAliases="team-android"
하지만 항상 오류가 발생합니다.
BUILD FAILED
Target "crashlytics-upload-distribution" does not exist in the project "release".
추가 정보는 내 파일 custom_rules.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="crashlytics_custom_rules" default="help">
<!-- See the instructions at the top of crashlytics_build.xml
for information about nonstandard builds. -->
<import file="crashlytics/crashlytics_build.xml"/>
</project>
crashlytics_build_base.xml
& 파일 crashlytics_build.xml
은 변경되지 않았습니다.
또한 proguard-project.txt에서 빌드에 proguard를 사용하고 있습니다.
# Crashlytics - To show correctly the stacktraces
-keepattributes SourceFile,LineNumberTable
누군가가 오류가 무엇인지 알려줄 수 있습니까?
감사
신경 쓰지 마. 나는 여러 build.xml
.
루트 폴더에있는 build.xml
것은 Android 기본값을 가져 오는 것이 아니 었습니다.custom_rules.xml
나는 호출해야
개미 릴리스 crashlytics-upload-distribution -DbetaDistributionGroupAliases = "team-android"
관습에서 build.xml
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다