countly-sdk-android
Countly Digital Analytics Android SDK
File Explorer
Download Latest Version (.zip)- build_and_test_sdk.yml
- codeql-analysis.yml
- gradle_validator.yml
- release_notice.yml
- CODEOWNERS
- issue_template.md
- codeStyleConfig.xml
- Project.xml
- Countly.xml
- profiles_settings.xml
- ApplicationTest.java
- ActivityExampleAPM.java
- ActivityExampleAutoViewTracking.java
- ActivityExampleConsent.java
- ActivityExampleContentZone.java
- ActivityExampleCrashReporting.java
- ActivityExampleCustomEvents.java
- ActivityExampleDeepLinkA.java
- ActivityExampleDeepLinkB.java
- ActivityExampleDeviceId.java
- ActivityExampleFeedback.java
- ActivityExampleFragments.java
- ActivityExampleKotlin.kt
- ActivityExampleLocation.java
- ActivityExampleMultiThreading.java
- ActivityExampleOthers.java
- ActivityExampleRemoteConfig.java
- ActivityExampleSessions.java
- ActivityExampleTests.java
- ActivityExampleUserDetails.java
- ActivityExampleViewTracking.java
- App.java
- DemoFirebaseMessagingService.java
- DemoFragmentA.java
- DemoFragmentB.java
- DemoFragmentC.java
- DemoHuaweiMessagingService.java
- MainActivity.java
- StrictModeConfigurator.kt
- Utility.java
- bg_card_strip_rounded.xml
- bg_header_gradient.xml
- ic_message.png
- ic_night_mode.xml
- ic_launcher.png
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_message.png
- activity_example_apm.xml
- activity_example_auto_views.xml
- activity_example_consent.xml
- activity_example_content_zone.xml
- activity_example_crash_reporting.xml
- activity_example_custom_events.xml
- activity_example_deep_link_a.xml
- activity_example_deep_link_b.xml
- activity_example_device_id.xml
- activity_example_feedback.xml
- activity_example_fragments.xml
- activity_example_location.xml
- activity_example_multithreading.xml
- activity_example_others.xml
- activity_example_remote_config.xml
- activity_example_sessions.xml
- activity_example_tests.xml
- activity_example_user_details.xml
- activity_example_view_tracking.xml
- activity_main.xml
- fragment_demo_a.xml
- fragment_demo_b.xml
- fragment_demo_c.xml
- row_segmentation.xml
- icon.png
- icon.png
- icon.png
- icon.png
- icon.png
- notif_sample.mp3
- colors.xml
- dimens.xml
- strings.xml
- styles.xml
- colors.xml
- styles.xml
- dimens.xml
- AndroidManifest.xml
- .gitignore
- agconnect-services.json
- build.gradle
- google-services.json
- keys
- proguard-rules.pro
- readme.md
- App.java
- Benchmark.java
- BenchmarkUtil.java
- MainActivity.java
- RandomUtil.java
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_launcher.png
- ic_message.png
- ic_message.png
- activity_main.xml
- icon.png
- icon.png
- icon.png
- icon.png
- icon.png
- dimens.xml
- strings.xml
- styles.xml
- dimens.xml
- AndroidManifest.xml
- .gitignore
- agconnect-services.json
- build.gradle
- google-services.json
- keys
- proguard-rules.pro
- AdapterMainList.kt
- AdapterSecondList.kt
- App.kt
- FragmentCustomEvents.kt
- FragmentMainList.kt
- MainActivity.kt
- ic_grid_layout.xml
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- ic_linear_layout.xml
- activity_main.xml
- fragment_main_list.xml
- fragment_second_list.xml
- item_view.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- nav_graph.xml
- arrays.xml
- colors.xml
- strings.xml
- styles.xml
- themes.xml
- themes.xml
- AndroidManifest.xml
- ic_launcher-playstore.png
- .gitignore
- build.gradle
- proguard-rules.pro
- CMakeLists.txt
- native-lib.cpp
- App.java
- MainActivity.java
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- activity_main.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- colors.xml
- strings.xml
- styles.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- PushTests.java
- InstrumentationTestRunner.java
- BreadcrumbHelperTests.java
- ConnectionProcessorTests.java
- ConnectionQueueIntegrationTests.java
- ConnectionQueueTests.java
- ContentOverlayViewTests.java
- CountlyConfigTests.java
- CountlyInstanceLeakCleanup.java
- CountlyStoreExplicitModeTests.java
- CountlyStoreRequestCleanerTests.java
- CountlyStoreTests.java
- CountlyTests.java
- CountlyTimerTests.java
- CountlyWebViewClientTests.java
- CrashDataTests.java
- CrashDetailsTests.java
- CustomHeaderRuntimeTests.java
- DeviceIdTests.java
- DeviceInfoTests.java
- EventTests.java
- FeedbackDialogWebViewClientTests.java
- InternalRequestCallbackTests.java
- MigrationHelperTests.java
- MockedMetricProvider.java
- ModuleAPMTests.java
- ModuleAttributionTests.java
- ModuleBaseTests.java
- ModuleConfigurationTests.java
- ModuleConsentTests.java
- ModuleContentTests.java
- ModuleCrashTests.java
- ModuleDeviceIdTests.java
- ModuleEventsTests.java
- ModuleFeedbackTests.java
- ModuleHealthCheckTests.java
- ModuleLocationTests.java
- ModuleLogTests.java
- ModuleRatingsTests.java
- ModuleRemoteConfigTests.java
- ModuleSessionsTests.java
- ModuleUserProfileTests.java
- ModuleViewsTests.java
- MultiThreadingTests.java
- PerformanceBenchmark.java
- RemoteConfigAnrTest.java
- RemoteConfigValueStoreTests.java
- RemoteConfigVariantControlTests.java
- RequestQueueTests.java
- scAP_AppPerfomanceMonit.java
- ScenarioDeviceIdInitTests.java
- ScenarioEventIDTests.java
- ScenarioRemoteConfigTests.java
- scSE_SessionsTests.java
- scUP_UserProfileTests.java
- ServerConfigBuilder.java
- TemporaryIDTests.java
- TestLifecycleObserver.java
- TestUtils.java
- TestUtilsTests.java
- UtilsDeviceTests.java
- UtilsInternalLimitsTests.java
- UtilsNetworkingTest.java
- UtilsTests.java
- UtilsTimeTests.java
- network_security_config.xml
- AndroidManifest.xml
- RemoteConfigHelper.java
- RemoteConfigValueStore.java
- CountlyConfigPush.java
- CountlyNotificationButtonURLHandler.java
- CountlyPush.java
- CountlyPushActivity.java
- ModulePush.java
- UtilsMessaging.java
- AttributionIndirectKey.java
- BaseInfoProvider.java
- BreadcrumbHelper.java
- CertificateTrustManager.java
- ConfigApm.java
- ConfigContent.java
- ConfigCrashes.java
- ConfigExperimental.java
- ConfigSdkInternalLimits.java
- ConfigurationProvider.java
- ConfigurationValueValidator.java
- ConnectionProcessor.java
- ConnectionQueue.java
- ConsentProvider.java
- ContentCallback.java
- ContentOverlayView.java
- ContentStatus.java
- ContentUrlHandler.java
- Countly.java
- CountlyActivityHolder.java
- CountlyConfig.java
- CountlyInitProvider.java
- CountlyStore.java
- CountlyTimer.java
- CountlyWebView.java
- CountlyWebViewClient.java
- CrashData.java
- CrashFilterCallback.java
- DeviceId.java
- DeviceIdProvider.java
- DeviceIdType.java
- DeviceInfo.java
- DiskMetric.java
- Event.java
- EventProvider.java
- EventQueueProvider.java
- ExperimentInformation.java
- ExplicitStorageCallback.java
- FeedbackRatingCallback.java
- GlobalCrashFilterCallback.java
- HealthCheckCounter.java
- HealthTracker.java
- ImmediateRequestGenerator.java
- ImmediateRequestI.java
- ImmediateRequestMaker.java
- InternalRequestCallback.java
- MetricProvider.java
- MigrationHelper.java
- ModuleAPM.java
- ModuleAttribution.java
- ModuleBase.java
- ModuleConfiguration.java
- ModuleConsent.java
- ModuleContent.java
- ModuleCrash.java
- ModuleDeviceId.java
- ModuleEvents.java
- ModuleFeedback.java
- ModuleHealthCheck.java
- ModuleLocation.java
- ModuleLog.java
- ModuleRatings.java
- ModuleRemoteConfig.java
- ModuleRequestQueue.java
- ModuleSessions.java
- ModuleUserProfile.java
- ModuleViews.java
- OpenUDIDProvider.java
- PerformanceCounterCollector.java
- PreflightRequestMaker.java
- RCData.java
- RCDownloadCallback.java
- RCVariantCallback.java
- RemoteConfigCallback.java
- RequestInfoProvider.java
- RequestQueueProvider.java
- RequestResult.java
- SafeAreaCalculator.java
- SafeAreaDimensions.java
- SafeIDGenerator.java
- StarRatingCallback.java
- StorageProvider.java
- TransparentActivityConfig.java
- Utils.java
- UtilsDevice.java
- UtilsInternalLimits.java
- UtilsListingFilters.java
- UtilsNetworking.java
- UtilsTime.java
- ViewIdProvider.java
- WebViewDisplayOption.java
- WebViewPageLoadedListener.java
- WebViewUrlListener.java
- star_rating_layout.xml
- AndroidManifest.xml
- .gitignore
- build.gradle
- gradle.properties
- proguard-rules.pro
- libc++_shared.so
- libcountly_native.so
- libcountly_native.so
- libc++_shared.so
- libcountly_native.so
- libc++_shared.so
- libcountly_native.so
- libc++_shared.so
- libcountly_native.so
- linux_syscall_support.h
- Android.mk
- Application.mk
- breakpad
- build.sh
- countly_breakpad.cpp
- prepare.sh
- CountlyNative.java
- libc++_shared.so
- libcountly_native.so
- libcountly_native.so
- libc++_shared.so
- libcountly_native.so
- libc++_shared.so
- libcountly_native.so
- libc++_shared.so
- libcountly_native.so
- strings.xml
- AndroidManifest.xml
- ElfFile.java
- NativeLibraries.java
- NativeLibraryAlignmentTests.java
- NativeLibraryPackagingTests.java
- .gitignore
- build.gradle
- gradle.properties
- proguard-rules.pro
- uploadSymbols.groovy
- build.gradle
- gradle.properties
- .gitattributes
- .gitignore
- .gitmodules
- .markdownlint.json
- .travis.yml
- build.gradle
- CHANGELOG.md
- gradle.properties
- gradlew
- gradlew.bat
- LICENSE
- README.md
- ruleset.xml
- SECURITY.md
- settings.gradle
# Installation Guide
1. Get the code
git clone https://github.com/Countly/countly-sdk-android
Downloads the entire project code from GitHub to your computer.
cd countly-sdk-android
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd app-native/src/main/cpp
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
3. Gradle (Java/Kotlin)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd app-benchmark
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation
Was this content helpful?
(0 ratings)
