how can use crashlytics(fabric) project without installing of plugin androidstudio, using gradle on build server? tried find instructions that, without result.
i have code in project:
project build.gradle
buildscript { repositories { maven { url 'https://maven.fabric.io/public' } ... } dependencies { ... classpath 'io.fabric.tools:gradle:1.+' } } module build.gradle
apply plugin: "com.android.application" apply plugin: "io.fabric" repositories { ... maven { url "https://maven.fabric.io/public" } } ... dependencies { ... compile("com.crashlytics.sdk.android:crashlytics:2.4.0@aar") { transitive = true } } manifest
<meta-data android:name="io.fabric.apikey" android:value="..." /> application
@override public void oncreate() { super.oncreate(); fabric.with(this, new crashlytics()); ... } i had file in eclipse project - "crashlytics.properties" (with apisecret). should use somewhere in androidstudio , gradle?
also, should add other information in project add crashlytics correctly?
i found answer here http://support.crashlytics.com/knowledgebase/articles/202140-do-you-support-build-tools-for-android , here https://fabric.io/downloads/gradle
Comments
Post a Comment