Unable to integrate crashlytics in eclipse with ADT

…衆ロ難τιáo~ 提交于 2019-12-06 01:43:41

In your project, there are 5 fabric libraries under the "kit-libs" folder.

Right click the build.xml in every library -> Run As -> Ant Build

It should solve the issue.

Although @Pyngon is on the right track, I found that the my Ant build run configuration within Eclipse (Mars) didn't know, or pick up, the 'ANDROID_HOME' environmental variable (echo $ANDROID_HOME confirms the SDK's path as '/Users/my.name/Library/Android/sdk' on my Mac, Yosemite 10.10.4).

To get Ant to use this variable, I had to define it within each individual run configuration, e.g.:

  • /your.project.path/platforms/android/kit-libs/io-fabric-sdk-android_fabric/build.xml -> Run As -> External Tools Configurations -> Environment (tab) -> Add new 'ANDROID_HOME' SDK path value.

Fortunately, I was able to resolve this issue with Eclipse. This is what I did. Configure the build path for the io-fabric-sdk-android_fabric project that is imported by the Fabric eclipse plugin.

Select a valid android build target, in my case I selected Android 4.4.2. Click 'OK' to apply.

You might need to repeat this for all the Fabric projects imported. i.e crashylitics, digits, twitter, mopub e.t.c.

com-crashlytics-sdk-android_answers com-crashlytics-sdk-android_beta com-crashlytics-sdk-android_crashlytics com-crashlytics-sdk-android_crashlytics-core com-digits-sdk-android_digits com-twitter-sdk-android_tweet-composer com-twitter-sdk-android_tweet-ui com-twitter-sdk-android_twitter com-twitter-sdk-android_twitter-core

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!